You are not logged in.

#1 2016-12-07 15:16:01

slackcub
Member
Registered: 2009-03-14
Posts: 144

xrdp without dbus-launch

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

#2 2016-12-07 15:17:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: xrdp without dbus-launch

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

#3 2016-12-07 16:10:29

slackcub
Member
Registered: 2009-03-14
Posts: 144

Re: xrdp without dbus-launch

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

#4 2020-09-01 16:52:02

tweeks
Member
Registered: 2020-09-01
Posts: 1

Re: xrdp without dbus-launch

4-years-later_s.jpeg

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

#5 2020-09-01 17:03:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: xrdp without dbus-launch


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

Board footer

Powered by FluxBB