Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install vnc and enable x11vnc for ubuntu

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to install vnc and enable x11vnc in ubuntu". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install vnc and enable x11vnc in ubuntu.

Start the software center of Ubuntu and select "X11VNC Server" to install it. Of course, you can also install it with the sudo apt-get install command.

Next, create a login password

The code is as follows:

Sudo x11vnc-storepasswd

After entering and confirming, the password is saved to the user's password directory:

Then set the password file for X11VNC:

The code is as follows:

Sudo x11vnc-storepasswd in / etc/x11vnc.pass

Copy the password file to:

The code is as follows:

Sudo cp / root/.vnc/passwd / etc/x11vnc.pass

Open the / etc/init/x11vnc.conf file and paste the following. If you don't have this file, create one with a text tool. Port: 5900, which can be defined by yourself.

The code is as follows:

Start on login-session-start

Script

/ usr/bin/x11vnc-auth / var/run/lightdm/root/:0-noxrecord-noxfixes

-noxdamage-rfbauth / etc/x11vnc.pass-forever-bg-rfbport 5900-o

/ var/log/x11vnc.log

End script

Restart Ubuntu after saving.

Start VNC Viewer in another operating system, using Real VNC installed under Windows 7. Enter the corresponding IP address or hostname and click the Connect connection.

As shown in the picture, you can see the Ubuntu login interface.

At this point, I believe you have a deeper understanding of "how to install vnc and enable x11vnc in ubuntu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report