Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is the eight steps of vnc viewer accessing through the public network?

Shulou Source: shulou.com Published: 2022-06-01 03:31:39 10月04日 Update

Vnc viewer through the public network access 8 steps is what, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

VNC server and VNC viewer support a variety of operating systems, such as Unix series (Unix,Linux,Solaris, etc.), windows and MacOS, so VNC server and VNC viewer can be installed in different operating systems for control. If VNC viewer is not installed in the main control computer, the controlled terminal can also be controlled through a general web browser.

This paper mainly introduces the tutorial of remote access to Linux by vnc under windows system and the realization of visual interface.

Usage tool: IIS7 service management software

The VNC function in the IIS7 server management tool can be said to be very good to use. It can open links in batch.

Of course, since its VNC tools are so useful, its other functions must not be too bad. IIS7 server bulk management tools benefits: batch management, synchronization operations, expiration reminders, data security and periodic execution. Applicable systems: Windows and liunx operating systems. Vnc and Ftp batch operations are supported. The automatic update of the program will not make you suffer from the update, which saves you a lot of trouble. After all, the current software updates need to be re-downloaded and installed, which is very troublesome.

The main working principle of vnc is to run the vncserver service on the server side, and then the server-side desktop can be connected remotely on the client side.

Installation and configuration

1. Install the vnc package:

Rpm-qa | grep vnc-server

Yum install tigervnc tigervnc-server

2. Configure the login account, desktop resolution and connection method of VNC:

Vim / etc/sysconfig/vncservers

Add:

VNCSERVERS= "1:root"

VNCSERVERARGS [1] = "- geometry 1024x768"

3. Configure the remote login password for VNC:

Vncpasswd

4. Configure the VNC anti-blackening screen and restart the service:

Vim / root/.vnc/xstartup

Note:

Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &

Twm &

Add:

Gnome-session &

Service vncserver restart

Ps-axu | grep vnc

Netstat-anptu | grep 5091

5. Set the VNC service to boot:

Chkconfig-level 2345 vncserver on

Chkconfig-list | grep vncserver

6. The firewall opens port 5901:

Iptables-An INPUT-p tcp-dport 5901-j ACCEPT

7. Client connection:

Open vnc viewer

VNC Server: IP:5901

(the password is not the password of the login account, but the password set by VNC)

8. Close VNC:

Vncserver-kill: 1

Service vncserver stop

After reading the above, have you mastered how vnc viewer accesses the 8 steps through the public network? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Services systems passwords tools servers management configuration operating systems software updates steps content functions customers clients methods on more desktops management tools Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Apple Xiaomi Redmi Shulou Technology