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

Steps to install VNC remote Desktop under ubuntu

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "the steps of installing VNC remote Desktop under 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 the steps to install VNC remote Desktop under ubuntu.

1. Open a Terminal and install vnc4server

Sudo apt-get install vnc4server

2. Then install sudo apt-get install gnome-panel

3. Start vnc4server and enter vnc4server. At this time, the system will prompt you to enter the password, which will be used when linking through the client.

After entering your password, you will see a prompt similar to the following:

Here you can see that a new desktop has been created for ubuntu:1, which is used as a background to connect to the server.

4. Edit startup steps

Vim / home/ user name / .vnc/xstartup

In & x-window-manager & add #

Then add 2 lines at the bottom

Startgnome &

DISPLAY=:1 gnome-session &

5. Restart the VNC service

Vncserver-kill: 1 then start the vnc service and enter vnc4server

6. Open the vnc client under window and enter the server IP+:1:

7. Click OK and enter the password on the server

8. Log in successfully

PS: by the way, a window operation linux is similar to the FTP tool winscp. Pull a file from window to linux and directly pull it to the corresponding folder to achieve the upload effect.

+ the method of attaching xrdp +

Open the terminal: install in turn

Sudoapt-get install xrdp

Sudoapt-get install vnc4server tightvncserver

After installation, execute the following command (this command is due to the installation of the gnome desktop, and there are multiple desktop managers such as unity and GNOME in ubuntu12.04. Specify one when you need to start, otherwise, even if the remote login verification is successful, it is only the background and nothing else.)

Cd / home/youruser (youruser is everyone's own user name)

Sudo / etc/init.d/xrdp restart

3. Mstsc running Windows

At this point, I believe you have a deeper understanding of the "steps to install VNC remote Desktop under 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