Samuel Sieb writes:
On 2/24/24 07:10, Sam Varshavchik wrote:I'm not sure when Fedora switched to the current tigervnc systemd-based configuration, but:I've been using tigervnc to log in to an Ubuntu box, and it was simple to set up tigervnc on Ubuntu for remote access. I just tried the same on Fedora and was informed that launching vncserver was "deprecated", and pointed towards the documentation for Fefora's systemd-based configuration.Reading through that, the following limitation is a showstopper for me: # # Limitations # You will not be able to start a Tigervnc server for a user who is already # logged into a graphical session.That's a no-go for me. My Fedora system is configured to automatically log into a graphical desktop. This won't work for me, then.This is not a limitation on Ubuntu. It's too bad that Fedora cannot do the same.I don't see how that would work on Ubuntu either. If there's already a session for a user, creating another session is going to cause great confusion and weird happenings.
I don't know what to tell you except that it works. I just VNCed into the Ubuntu box, and 'ps -ef' tells me I have two sessions running:
mrsam 1883 1846 0 10:00 ? 00:00:00 xfce4-session mrsam 5411 5408 0 16:37 ? 00:00:00 xfce4-sessionAnd just to make sure I wasn't nuts: I went over to the Ubuntu box and turned on the monitor: yup, I'm logged in, on an XFCE desktop. And I just disconnected a VNC session to the remote XFCE desktop.
They are different desktops: $ tr '\0' '\012' </proc/1883/environ | grep DISPLAY DISPLAY=:0 $ tr '\0' '\012' </proc/5411/environ | grep DISPLAY DISPLAY=:1 No problems doing this on Ubuntu.
Attachment:
pgp43DgV3tyaG.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