Because the experimental server needs to be provided remotely to the development of children's shoes to use, these two days toss a bit of Linux Remote Desktop, in this record summary. Server System for Lubuntu 16.04
Telnet to Linux scenario one: simple use of--X11VNC
Single-user case, using X11VNC is the simplest method, the detailed setup process can be viewed in this article, which provides an automatic configuration script. Don't repeat it here.
Precautions:
- At the end of the script there is a shutdown command, which is changed or commented out as required.
- X11vnc and Lubuntu light-locker lock screen program with conflict, see Bug, Automatic lock screen, VNC will black screen, unable to enter the desktop.
My solution is sudo apt autoremove light-locker
not to lock screen program, or to other favorite
Scenario Two: Multi-user Login--XRDP
For multi-user sign-in use, we recommend using XRDP. VNC can also be used to implement multi-user login scenarios, refer to the tutorial. Compared to the XRDP,VNC scheme in terms of security slightly worse, configuration is more troublesome, I follow the tutorial did not successfully configured, interested in children's shoes can toss a bit.
The specific configuration works as follows:
sudo apt install xrdp
Installing XRDP
- In the home directory of the user who requires remote login, modify the
~/.xsession
file and add the desktop Session Start command.
such as Xfce desktop add: xfce4-session
, such as Lubuntu add:lxsession -e LXDE -s Lubuntu
- Note Check the
/etc/xrdp/startwm.sh
last behavior. /etc/X11/Xsession
- Start the XRDP service,
sudo sysemctl start xrdp
- Set the XRDP service to start,
sudo systemctl enable xrdp
XRDP Connection Effect Show:
You can use Windows remote connections directly, where you can adjust the remote screen resolution in your connection settings.
Login interface After connection
Successful post-connect interface
Linux telnet to Windows scenario one: Rdesktop
This scenario only requires Remote Desktop connection to be set on Windows, and note uncheck Network Level Authentication.
Examples of Linux commands:rdesktop [ip] -f -u [user name] -p [passwd] -r sound:local
Rdesktop can also remotely connect a Linux machine that opens the XRDP service. Connection WINDOWS10 requires 1.8.3 version of Rdesktop.
Advantages:
- High transmission efficiency for sound transmission
- Privacy is good, the remote machine's monitor does not display the content that is being manipulated.
Disadvantages:
- Only OpenGL 1.1 versions are supported, and many OpenGL graphics related programs, such as some games, cannot be run.
Scenario Two: Vnc-viewer
The program installs RealVNC connect on Windows and logs in to the account, and the free version of RealVNC Connect cannot be directly connected via IP, Vnc-viewer can only log in to find the host.
Advantages:
- is the remote operation of the desktop, in addition to the delay, and native no difference
- Compared to the rdesktop scheme, graphics-related program support is better, so you can play the game remotely
Disadvantages:
- Unable to transfer sound, VNC protocol does not support this feature
- The remote machine screen will show the operation in progress, VNC directly transmits the screen picture, so privacy, security almost
Linux Remote Desktop Toss guide