1. Install xrdp
Sudo apt-Get install xrdp
2. Install gnome-panel
Sudo apt-Get install gnome-panel
3. Set xrdp
Echo "gnome-session -- session = gnome-classic">. xsession
Put the above sentence in
/Etc/xrdp/startwm. Sh
.
Before/etc/X11/xsession
4. Restart xrdp
Sudo/etc/init. d/xrdp restart
5. Shortcut Key settings
(1). Problem:
Remote Access to Ubuntu through xrdp, open the terminal to input commands or write text, as long as the input D will minimize the application, resulting in the command with D and text cannot be entered, such as the terminal sudo and CD commands, minimize the number of items from 1 to D;
(2). Processing:
You can remotely set the keyboard hotkey as follows: System-> preferences-> keyboard shortcut key, find the "hide all normal windows and set the desktop to focus" item, and click D next to it, display as "Reset shortcut key", press Ctrl + D to replace D as the shortcut key for this operation, close the window to open the terminal and re-enter the command with D, no longer minimize the window.