Hi all,
I'm using XRDP to access an Ubuntu MATE system. With my regular User (whom is in the adm group, and whom I also use for Console access), this works fine. However I just created a new user who will only access the system through XRDP, and who is not an adm user, and it doesn't work.
Looking at the xrdp.log
file, I can see the following:
Jun 6 10:37:43 cytro pulseaudio[6388]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Jun 6 10:37:43 cytro pulseaudio[6388]: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
Jun 6 10:37:43 cytro bluetoothd[1102]: src/profile.c:register_profile() :1.103 tried to register 00001108-0000-1000-8000-00805f9b34fb which is already registered
Jun 6 10:37:43 cytro pulseaudio[6388]: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
Jun 6 10:37:43 cytro bluetoothd[1102]: src/profile.c:register_profile() :1.103 tried to register 0000111f-0000-1000-8000-00805f9b34fb which is already registered
followed a bit later by:
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [INFO ] Session started successfully for user georget on display 10
Jun 6 10:37:43 cytro xrdp-sesman[6404]: [INFO ] Starting the xrdp channel server for display 10
Jun 6 10:37:43 cytro xrdp-sesman[6389]: [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [INFO ] Session in progress on display 10, waiting until the window manager (pid 6389) exits to end the session
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [WARN ] Window manager (pid 6389, display 10) exited with non-zero exit code 2 and signal 0. This could indicate a window manager config problem
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [WARN ] Window manager (pid 6389, display 10) exited quickly (0 secs). This could indicate a window manager config problem
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [INFO ] Calling auth_stop_session and auth_end from pid 6374
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [INFO ] Terminating X server (pid 6390) on display 10
Jun 6 10:37:43 cytro xrdp-sesman[6374]: [INFO ] Terminating the xrdp channel server (pid 6404) on display 10
This makes me think that mate-session
exits because it is not able to launch the bluetooth applet or something like that?
Is there anything in MATE that allows me to disable bluetooth access for a specific user, or restrict it to only users who are a member of a specific group?
I'll post on the xrdp google group about this as well to see if I can get any hints from there.