You are not logged in.
Pages: 1
Topic closed
I've been seeing some posts around here about dbus-launch being discouraged from use, and it seems to have broken some things for some folks https://bbs.archlinux.org/viewtopic.php?id=218545 https://bbs.archlinux.org/viewtopic.php?id=216001. The problem I am facing is that xfce doesn't want to start when I try to connect using xrdp. The error I get is "Failed to connect to socket /tmp/dbus-xxxxxxxx: Connection Refused". Looking through the posts I have seen, I have confirmed that all my .pacnew files have been merged (there wasn't any in /etc/pam.d anyway).
So here's my question, I can resolve this by adding "export $(dbus-launch)" to ~/.xinitrc, but I would rather do this without needing dbus-launch. Does anyone know of a way to do this? xfce starts fine locally, it's just when I try to connect via rdp to xrdp.
David
Offline
If it's looking in /tmp, it's doing that because it's using dbus-launch already, which is what's breaking things. Check your xdrp scripts.
Offline
there's nothing in /etc/xrdp that references it:
$ pwd; sudo grep -Ri dbus *
/etc/xrdp
$
and the same thing for /usr:
$ pwd; sudo grep -Ri dbus-launch * 2> /dev/null
/usr
Binary file bin/xfce4-session matches
Binary file bin/dbus-launch matches
Binary file lib/libdbus-1.so.3.14.9 matches
Binary file lib/libgio-2.0.so.0.5000.2 matches
Binary file lib/libdbus-1.so.3 matches
Binary file lib/libgio-2.0.so matches
Binary file lib/libdbus-1.so matches
Binary file lib/libgio-2.0.so.0 matches
Binary file lib32/libdbus-1.so.3.14.8 matches
Binary file lib32/libdbus-1.so.3 matches
Binary file lib32/libgio-2.0.so matches
Binary file lib32/libgio-2.0.so.0.5000.1 matches
Binary file lib32/libdbus-1.so matches
Binary file lib32/libgio-2.0.so.0 matches
Binary file lib64/libdbus-1.so.3.14.9 matches
Binary file lib64/libgio-2.0.so.0.5000.2 matches
Binary file lib64/libdbus-1.so.3 matches
Binary file lib64/libgio-2.0.so matches
Binary file lib64/libdbus-1.so matches
Binary file lib64/libgio-2.0.so.0 matches
Binary file sbin/xfce4-session matches
Binary file sbin/dbus-launch matches
$
Offline
Anyone have any leads on this?
I'm standing up cloud desktops in AWS.. we use XRDP (with an apache guacamole web/RDP bastion).. and dbus failing is wreaking havoc.
T.Weeks
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed