Hello Guys
I'm trying to configure xrdp to use Windows RDP to Remote connect to an Ubuntu Workstation using the Gnome-Session. More or less it is working but i would like to ask some clarification
- I have installed xrdp and xorgxrdp-hwe-18.04 because with the only xrdp it didn't worked. which is the difference abiout the two packages i really need to install oth?
- to get a gnome session open i have added the two line:
- echo 'gnome-session' > ~/.xsession
- chmod +x ~/.xsession
to the file etc/xrdp/startwm.sh Franklyi found this trick in an Centos Guide but until i put these two lines i couldn't connect to my session. There is an alternative way to do it?
- to remove the annoyng pop up with xrdp i have added the following lines
to the following file /etc/polkit-1/localauthority.conf.d/02-allow-colord-conf
polkit.addRule(function(action, subject) {if ((action.id == "org.freedesktop.color-manager.create-device" ||action.id == "org.freedesktop.color-manager.create-profile" ||action.id == "org.freedesktop.color-manager.delete-device" ||action.id == "org.freedesktop.color-manager.delete-profile" ||action.id == "org.freedesktop.color-manager.modify-device" ||action.id == "org.freedesktop.color-manager.modify-profile") &&subject.isInGroup("{group}")) {return polkit.Result.YES;}});
- to have the remote session similar to the local session, basically adding the Bar on the left and fixing the look and feel issue for all the users i have added
at the beginning of the /etc/xrdp/startwm.shgnome-shell-extension-tool -e ubuntu-dock@ubuntu.comgnome-shell-extension-tool -e ubuntu-appindicators@ubuntu.comgsettings set org.gnome.desktop.interface gtk-theme 'Ambiance'gsettings set org.gnome.desktop.interface icon-theme 'Humanity'
There is something different that i have to do ?
i'm just only testing and for the moment the major issue is that if i'm connected via RDP i cannot login locally, there is a way to disconnect the session if i try to login locally?
Thanks A.
Bookmarks