FS#61467 - [xfce4-session] Unable to load a failsafe session

Attached to Project: Arch Linux
Opened by Armand (Kewl) - Saturday, 19 January 2019, 21:14 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running xfce4start in a VNC session fails with the following message:
Unable to load a failsafe session.
Unable to determine failsafe session name. Possible causes: xfconfd isn't running (D-Bus setup problem); environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc"), or xfce4-session is installed incorrectly.

Unset DBUS_SESSION_BUS_ADDRESS used to trigger a new dbus session it seems, now a turnaround is to run dbus-launch before xfce4start to avoid this failure. However dbus-launch is supposed to be deprecated I think.

the script and the context can be seen there as well:
https://wiki.archlinux.org/index.php/TigerVNC#Edit_the_environment_file

Additional info:
* package version(s) 4.12.1-11
* config and/or log files etc.
~/.vnc/xstartup

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4

Steps to reproduce:

with the ~/.vnc/xstartup as defined above.

$ vncserver :1
Unable to load a failsafe session.
Unable to determine failsafe session name. Possible causes: xfconfd isn't running (D-Bus setup problem); environment variable $XDG_CONFIG_DIRS is set
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/xfce4-session/issues/1
Comment by Armand (Kewl) - Sunday, 03 February 2019, 20:54 GMT
My details may not be very clear, let me know if I should provide more explanations.
Comment by Armand (Kewl) - Sunday, 13 September 2020, 19:59 GMT
this has been a while and I don't use TigerVNC anymore, not sure if this is still relevant with current versions
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...