Install configuration TigerVNC Server in Linux environment and enable current session remote service (X0VNC)

Source: Internet
Author: User

Once liked to use RealVNC Server to achieve linux/windows remote control, because RealVNC for the charge of commercial software, supporting file transfer, performance optimization is also done well. But RealVNC has added a lot of proprietary stuff to protocol compatibility from version 5.0, and the client can only be RealVNC's own client. While open-source VNC software such as TigerVNC and other protocols remain on the stable VNC 4.4 branch, incompatible with RealVNC 5.x and higher commercial version, currently a large number of open source software on the 4.4 Protocol branch to provide good support, such as vnc-reflection forwarding; For Linux remote managed end, if you want to transfer files, you can easily use Ssh/sftp, and RealVNC installation configuration is also a bit complex, so the comprehensive consideration or use of TigerVNC.

The TigerVNC contains the Server control, which can be used to implement the VNC service, and includes a special service called X0VNC, which runs the current X11 desktop session to the remote client for manipulation, rather than the traditional VNC virtual session desktop mode. Online search can also find another named X11 VNC of the same kind of separate open-source software, the same function, but the configuration is not as easy to use as X0VNC. Installing TigerVNC Server is simple, and under Fedora, it can be installed under the command:

$ sudo DNF install Tigervnc-server

Since X0vnc each time the current X11 desktop session is transferred to the remote client, you must first ensure that the X11 desktop session starts and then start the X0VNC, for the unattended remote controlled end, we must allow the desktop to automatically log into the session with an account, for example, Fedora GNOME, We can set up an account to allow it to log in automatically, so it will be automatically logged in with that account when it is powered on. Therefore, we only need to set up a program that automatically runs after the account is logged in to achieve the X0VNC to start after the desktop session starts. Account Automatic Login Settings here withheld, there are many online introduction, GNOME system settings are also graphical settings, very simple, we do not repeat here. To configure a X0VNC self-starting service, we can enter the current account ~/.config/autostart directory, create a x0vncserver.desktop file, the file content is as follows:

[Desktop Entry]
Name=x0vncserver
Comment=x0 VNC Server from TigerVNC
Exec=x0vncserver-passwordfile=/home/someone/.vnc/passwd-alwaysshared
Terminal=false
Type=application
Startupnotify=true

After saving, do not forget to run the current account under the VNCPASSWD set VNC login password, and then restart the system.

Install configuration TigerVNC Server in Linux environment and enable current session remote service (X0VNC)

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.