Re: tigervnc server configuration limitation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Samuel Sieb writes:

On 2/24/24 08:52, Sam Varshavchik wrote:
Sam Varshavchik writes:
But something is still broken. I went through the motions, set session=xfce, but then something is still broken with systemd. systemctl start vncserver@: 1 results in:

Feb 24 11:30:33 monster.email-scan.com systemd[1]: Starting vncserver@: 1.service - Remote desktop service (VNC)… Feb 24 11:30:34 monster.email-scan.com systemd[1]: Started vncserver@: 1.service - Remote desktop service (VNC). Feb 24 11:30:35 monster.email-scan.com systemd[1]: vncserver@:1.service: Deactivated successfully.

That's it, no further diagnostics, and nothing is listening on port 5901.

... and that was because even xfce is not going to work. The reason was dumped into ~/.vnc/*log:

/usr/bin/startxfce4: X server already running on display :1
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
xfce4-session-Message: 11:40:42.960: SSH authentication agent is already running
xinit: connection to X server lost

So this is not a Gnome limitation, but a systemd limitation.

It's an X limitation or an operating system limitation if you really want to call it that. There can only be one X server on a port. Change the display number.

They are different ports. I just verified that DISPLAY in the VNC session is :1.0

On the system console it's :0.0, of course.

Yet, I cannot start both of them, on Fedora, if both are running xfce. This is a documented limitation, in the package's HOWTO.

I run a VNC server with openbox using systemd and it works fine.

Now, try getting your VNC server up with an existing graphical session already running. It won't work, if both are XFCE (or if both are gnome, as I understand it).

Attachment: pgp5c56svnCGY.pgp
Description: PGP signature

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux