You are not logged in.
Hi all.
I'm fairly new to Arch, been running Debian for a few years before.
I have a problem with Network Manager in KDE when connecting through xrdp to my VPN client machine (running in KVM). The applet is visible, but when I click it it's empty so I can't start/end a VPN session.
If I connect using X2Go, Network Manager displays my connections and I can start/end a VPN session.
If I first connect and logon using X2Go and then connect and logon to a new session with xrdp, I can use Network Manager within the xrdp session.
X2Go does something during logon (Xsession?) that xrdp doesn't. Does anyone know what might be the problem?
I've already updated org.freedesktop.NetworkManager.conf to allow "at_console = false" sessions to use Network Manager.
Offline
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 has the same problem I have a simple workaround, just log in with SSH before connecting to xrdp and Network Manager will work (org.freedesktop.NetworkManager.conf has to be edited, see above).
Cheers,
Daniel
Offline
I now believe this is an upstream issue that hasn't been fixed although a patch was submitted over a year ago.
https://bugzilla.redhat.com/show_bug.cgi?id=821569
http://sourceforge.net/p/xrdp/patches/33/
Cheers,
Daniel
Offline