X11VNC: Allows Windows to remotely manage Ubuntu desktops

Source: Internet
Author: User
Ubuntu VNCServer installation process first install x11vnc: sudoapt-getinstallx11vnc in Ubuntu machine and then set the connection password of VNC: The command above the x11vnc-storepasswd will prompt to enter the password, then encrypt the password and save in ~ /. Vnc/passwd file. Start VNCServer: x11vnc-forever-shared-rfbau

Install VNC Server in Ubuntu

First install x11vnc on the Ubuntu machine:

Sudo apt-get install x11vnc

Then set the VNC connection password:

X11vnc-storepasswd

The command above will prompt you to enter the password, and then encrypt the password and save it in ~ /. Vnc/passwd file.

Start VNC Server:

X11vnc-forever-shared-rfbauth ~ /. Vnc/passwd

You can also set the VNC Server to automatically start in the background after the system is started:

1. Copy the password file to the/etc directory:

Sudo cp ~ /. Vnc/passwd/etc/x11vnc. pass

2. Create the/etc/init/x11vnc. conf file and copy the following content to it:

Start on login-session-start

Script

X11vnc-display: 0-auth/var/run/lightdm/root/: 0-forever-bg-o/var/log/x11vnc. log-rfbauth/etc/x11vnc. pass-rfbport 5900

End script

3. Restart your computer. After the restart, you can connect to Windows.

Connection process in Windows

Install the RealVNC Viewer on a Windows machine and then start VNC Viwer:

Enter the IP address or machine name of the Ubuntu machine in the VNC Server, and click the Connect button, prompting you to enter the password:

In the Password box, enter the VNC connection password we just set and click "OK". Then we can see the graphical desktop of the Ubuntu machine.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.