Linux Remote Desktop Toss guide

Source: Internet
Author: User
Tags x11vnc rdesktop

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:

    1. At the end of the script there is a shutdown command, which is changed or commented out as required.
    2. 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:

    1. sudo apt install xrdpInstalling XRDP
    2. 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
    3. Note Check the /etc/xrdp/startwm.sh last behavior. /etc/X11/Xsession
    4. Start the XRDP service,sudo sysemctl start xrdp
    5. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.