Skip to content

Instantly share code, notes, and snippets.

@nitincoded
Last active April 24, 2019 14:20
Show Gist options
  • Save nitincoded/5883e1b087639774cdf7a348e7c53ba6 to your computer and use it in GitHub Desktop.
Save nitincoded/5883e1b087639774cdf7a348e7c53ba6 to your computer and use it in GitHub Desktop.
Enable XRDP on Lubuntu 16.04
First open a terminal and enter sudo apt-get install xrdp. When that is installed enter sudo nano /etc/xrdp/startwm.sh in the terminal. Make sure the last line looks like this:
. /etc/X11/Xsession
Then go to your home folder, rightclick and select Show hidden. If there is no file named .xsession, create it. If there is a filed named like that, open it and make sure that it looks like this when your done: lxsession -e LXDE -s Lubuntu
Now type sudo service xrdp restart in the terminal to restart xrdp. Now it should work :)
answered Feb 1 '15 at 9:52
WeeRox
http://askubuntu.com/questions/580415/how-to-remote-desktop-from-windows-to-lubuntu
xrdp uses vnc for connectivity. In some distributions, xrdp over vnc4server didn't work so xrdp was used over tightvncserver instead.
--
About VNC, the window manager launched for the user is defined in ~/.vnc/xstartup . To figure out how to start another window manager, look up the .desktop files in /usr/share/xsessions for the Exec parameter - include this in the xstartup file instead of x-terminal-emulator, x-window-manager, and Xsession .
The window manager started by xrdp through vnc is configured at /etc/xrdp/startwm.sh
@deakus
Copy link

deakus commented Feb 2, 2017

Thanks for this, Worked nicely, saved me a ton of hassle. Never had to do this with lubuntu 14.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment