Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to implement graphical method VNC to connect to LINUX server

Shulou Source: shulou.com Published: 2022-06-01 09:28:11 09月22日 Update

This article focuses on "how to implement the graphical method VNC to connect to the LINUX server", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn how to implement the graphical method VNC to connect to the LINUX server.

1.

Copy the vnclinux program to the LINUX machine and unpack the vnclinux file:

# tar-xvf vnclinux

Go to the extracted directory to install:

#. / vncserver / / install and generate xstartup, passwd and other files under / root/.vnc

(other commands: vncconfig vncconfig.py vncpasswd vncserver vncviewer)

two。

Enter / root/.vnc to modify the file / root/.vnc/xstartup

Log out everything in xstartup with the # sign, according to the desktop mode of the LINUX machine itself (DKE or GNOME desktop)

Change the last line to:

Startkde&

Or

Gnome-session&

3. Log in to LINUX with SSH or Xshell on the windows side (for example, connect with XMANAGER's Xshell for good results)

Enter the directory / root/.vnc and run:

#. / xstartup

That's it!

At this point, I believe you have a deeper understanding of "how to realize the graphical method VNC to connect to the LINUX server". 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!

Tags: Methods graphics servers services content files machines desktops directories learning practical deeper line interest commands practicality practical copy simple operation effect Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker vpn Linux MySQL MariaDB