Score:1

RDP vs Console session

th flag

When I log in with a console session I have the normal standard Ubuntu 22 desktop.

When logging in using RDP (xrdp installed) I get a different desktop experience.

How do I get the standard console style desktop over RDP ?

EDIT: When trying the suggested answer I am unable to move forward from xorg after selecting "Local Active Session" with Username / Password defined. Clicking OK does nothing.

Raffa avatar
jp flag
Does this answer your question? [Local ubuntu desktop cannot login after logging in remotely via Xrdp session](https://askubuntu.com/questions/1326143/local-ubuntu-desktop-cannot-login-after-logging-in-remotely-via-xrdp-session)
dross avatar
th flag
No, this doesn't help. I am able to login locally as well as remotely no problem but not at the same time. It's just that when remotely I get a variation in desktop experience. For example RMB doesn't give me all the options as when logging in locally.
dross avatar
th flag
I also get the following when following the link provided @raffa: root@t-box:~# gsettings set org.gnome.Vino require-encryption false No such schema “org.gnome.Vino”
Raffa avatar
jp flag
Login as a normal user **not** `root` and `gsettings …` will work … It’s generally not advisable to login as `root` and especially on the DE and particularly remotely.
dross avatar
th flag
I only log in as a normal user. The above was run under root context (sudo -i)
dross avatar
th flag
gsettings set org.gnome.Vino require-encryption false
dross avatar
th flag
No such schema “org.gnome.Vino”
Raffa avatar
jp flag
Xrdp will always start a new session that is different from the local session unless you follow the workaround in the linked post above then you will get the same experience AFAIK.
Raffa avatar
jp flag
Did you enable screen sharing and set a password for it first?
dross avatar
th flag
Will check again - Another thing I notice is that when I open a fresh RDP session following a reboot I need to click on shortcuts twice (e.g. Tilda) to get the app to run.
Raffa avatar
jp flag
If that isn’t resolved after trying the workaround in the linked post, then please add it with as much other details to your question and clarify it to get better help responces from the community
dross avatar
th flag
@Raffa - working through the workaround again I suspect I wasn't actually chasing anything via my RDP session from my Mac MS Remote Desktop session. Now I am in the XRDP session and I can drop down to the newly defined "Local Active Session".
dross avatar
th flag
Does the legacy option need to be enabled for Desktop Sharing ?
dross avatar
th flag
Also the xrdp.ini edit mentions lib=libvnc.so - does this still apply when going over Xrdp ?
Raffa avatar
jp flag
Last time I checked this was more than a year and a half ago … I did it with a virtual machine for the sole purpose of helping the asker in that linked post … Otherwise never checked again but as for `libvnc.so` I guess still required … Disabling encryption however might be ignored if your client can handle it.
Raffa avatar
jp flag
Just a note … `gsettings set org.gnome.Vino require-encryption false` is run as your normal user that you login with both locally and remotely i.e. **not** with `sudo` **nor** with `sudo -i`
Raffa avatar
jp flag
Please see the [comments here](https://askubuntu.com/questions/1448037/use-gnome-remote-desktop-before-the-very-first-login#comment2528242_1448043) ... You are right that command for disabling encryption worked for the old Vino server ... For the new VNC server in 22.04 , encryption is disabled by setting empty password for the login item in the keyring app.
Raffa avatar
jp flag
I updated [my answer](https://askubuntu.com/a/1326144/968501) in the previously linked post as well .. I hope it helps.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.