On Sat, 24 Feb 2024 23:23:28 -0800 Samuel Sieb wrote:

> On 2/24/24 23:17, francis.montag...@inria.fr wrote:
>>> It does have something to do with running from systemd, but I have no
>>> idea what it is.

>> Not sure at all of that. It seems to be instead an compatibility between
>> vncsession and startxfce4.

> It's directly related to running from systemd while the user is already 
> logged in.  If the user isn't logged in, it works fine from systemd.

Right: I did my test being not logged in (at the console). It fails also with
xfcetest, thus the startxfce4 script is not the culprit.

xfce failed for me yesterday with a different message in the log:

  Starting desktop session xfce
  Unrecognized option: -xsession
  use: X [:<display>] [option]

but today it works (while being not logged in).

> If the user is logged in and you start it from the command line, it also
> works.

Right, from a terminal of the main session with:

  sudo /usr/libexec/vncsession-start :1

> So it's only the combination.  I did run a strace, but it's not 
> clear what's going on.  It almost seems like it's something to do with 
> the ssh agent, but I wasn't motivated enough to really follow it.

Being logged in with fluxbox and starting a fluxbox VNC session works also.

-- 
francis
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to