Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-06-20 09:34:37

Ravi
Member
Registered: 2020-05-18
Posts: 8

XRDP - How to set default session?

Hello. I have xubuntu-desktop + ubuntu 20.04  + gdm on Raspi. I use xrdp for remote access.
When I create a new user, I would like to control what session user logs into. Available session types are Ubuntu (gnome), xfce and xubuntu.
At the moment, when logging in for the first time using xrdp, user goes into xfce4
At the moment, if using gdm (i.e., in front of primary display), the default session for new user is Ubuntu/gnome.
There is no way to get into xubuntu unless the new user has logged in at least once using gdm on primary display and selected xubuntu [thereby make it default]


Towards that
- I've tried to set x-session-manager alternative to one of available session types.
- Tried to use .xsession per user  using following steps,
---  dpkg-reconfigure xserver-xorg-legacy [set it to 'anybody' ]
---  env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS xfce4-session
None of these have been successful.

Is there way, as mentioned earlier, to choose session type without resorting to have to use gdm at least once?
Thanks.

Last edited by Ravi (2020-06-20 09:37:52)

Offline

#2 2020-06-21 09:01:51

Ravi
Member
Registered: 2020-05-18
Posts: 8

Re: XRDP - How to set default session?

Since there hasn't been any answer to above question, even in Stack Overflow, I thought I would rephrase the question.

There are two ways to get into X. Either through a display manager such as gdm or lightdm, or through rdp (vnc et at).
Using display manager it is easy to decide the session. However in rdp it doesn't appear to be the case that I am aware of.
So the question boils down to is, how to decide which session you get into - either through rdp settings or per-user settings or a system-wide setting?
Thx

Offline

#3 2020-06-21 11:11:43

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 218

Offline

Board footer

Powered by FluxBB