I've done some more troubleshooting and it looks like it's related to
systemd. Logging on with xrdp does not seem to register with systemd, if I
run "loginctl list-sessions" there are no sessions.

If I logon with SSH there is a session created and Network Manager works in
any xrdp session started after the SSH session.

Unfortunately I'm not getting any further, I've fiddled around with PAM
files to try to fix this but have failed so far. There's been a lot of
trial and error with dbus, polkit, PAM, systemd and xrdp settings and I'm
pretty much lost.

Unless someone with more knowledge than me can point me in the right
direction I'm giving up, if anyone else have the same problem I have a
simple workaround, just log in with SSH before connecting to xrdp and
Network Manager will work.

Cheers,
Daniel





2013/12/25 Daniel Lindgren <bd.d...@gmail.com>

> Hi all.
>
> I'm using Arch Linux with KDE in a virtual client machine. One of the
> things I use it for is (outgoing) VPN tunnels, which means that I need a
> working Network Manager applet to be able to start/stop the VPN tunnel.
>
> If I connect to the machine with xrdp (and X11rdp) the Network Manager
> applet is empty.
>
> If I connect to the machine with X2Go the Network Manager applet shows the
> connections available.
>
> If I first connect with X2Go and then start another session with xrdp to
> the machine, Network Manager shows the connections avaiblable in both
> sessions.
>
> If I first logon to the machine via SSH and then start the xrdp session,
> Network Manager shows the connections avaiblable.
>
> I'm no expert (obviously), but it seems to me that the logons/sessions
> started via xrdp aren't "complete". Logging on with SSH or X2Go (uses SSH)
> does something that xrdp does not.
>
> Does anyone have an idea?
>
> I had to edit org.freedesktop.NetworkManager.conf to allow "at_console =
> false" sessions to use Network Manager, before that X2Go sessions didn't
> display available connections either.
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to