System engineers work in the WINDOWS system and manage Linux servers. Opening SSH is a "pain" for novice administrators. Therefore, you need to use the graphical interface for remote management, taking into account the security model, encrypted connections are required. You can solve these two problems under VNC.
1. Server Configuration
1. open the terminal and enter "vncserver". The system prompts you to set the password for accessing vnc. The setting is completed after two confirmation. To change the VNC password, run the following command: "vncpasswd", 2. after that, the system will enter a field similar to "192.168.1.150: 1", which is the VNC access address;
Ii. Client
1. Enter 192.168.1.150: 1 on the VNCVIEWER browser and enter the password to connect to the VNC.
(In Linux, enter vncviewer 192.168.1.150: 1)
By default, the interface for X-WINDOWS is displayed. You need to configure the GNOME desktop to edit the xstartup file,
# Cd. vnc/
# Vi xstartup
Remove the "#" of the following two lines of configuration file
Unset SESSION_MANAGER
Exec/etc/X11/xinit/xinitrc
Extension:
1. Use SSH tunnel to encrypt VNC (in linux)
# Vncviewer-via root@192.168.1.150 localhost: 1; after connecting to a computer via SSH, use its local VNC connection
2. Use VNC screen Broadcast
(1). # x0nvcserver password =/root/. vnc/passwd
(2). Or use graphical Configuration
This article is from the "Mr. Jared Luo" blog