Last active
April 24, 2019 14:20
-
-
Save nitincoded/5883e1b087639774cdf7a348e7c53ba6 to your computer and use it in GitHub Desktop.
Enable XRDP on Lubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this, Worked nicely, saved me a ton of hassle. Never had to do this with lubuntu 14.04