Linux remote desktop tool vnc, how to use Linux remote desktop tool vnc, Linux configuration vnc.

A brief introduction of linux remote desktop tool vnc

iis7 remote desktop management software is a green, compact and functional remote desktop tool with simple interface and convenient operation. It can view multiple hosts remotely at the same time, and multiple servers can switch freely, supporting split screen and group control operation. It is very suitable for computer room management, stationmaster, operation and maintenance, and programmer.

linux remote desktop tool vnc

1. Download IIS7 service management tool

Download address: IIS7 server management tools

The iis server management tool is the green version of portable version, and the tool is the installation free version. You only need to download and unzip the software to use it.

iis7 server management tool can remotely control the host with vnc server installed.

2. How to use Linux remote desktop tool vnc

  • Step 1: open the IIS server management tool and click "Vnc" in the main program diagram;

  • Step 2: click "add";

  • Step 3: fill in Vnc information in the pop-up server information box. Note: IP and password are required;

  • Step 4: select the VNC server to open;

  • Step 5: Click to open, and see the VNV rendering immediately.

3.Linux configuration vnc

yum groupinstall -y "GNOME Desktop"
# Installing GNOME Desktop
systemctl set-default graphical.target  //Set to graphic mode

! [insert picture description here]( https://img-blog.csdnimg.cn/20200606165616482.png ! [insert picture description here]( https://img-blog.csdnimg.cn/20200606165720328.png 3.1 installing GNOME desktop

yum install tigervnc-server -y

3.2 install vnc server

# Copy a template for service settings
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service

# Modify this service configuration
vim /etc/systemd/system/vncserver@\:1.service
----------------------------------------------------------------------------------------------------------
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
User=root

# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=-/usr/bin/vncserver -kill %i
ExecStart=/sbin/runuser -l root -c "/usr/bin/vncserver %i"
PIDFile=/root/.vnc/%H%i.pid
ExecStop=-/usr/bin/vncserver -kill %i

[Install]
WantedBy=multi-user.target

# For ordinary users, the user name is Amos
# Here is an example to set up: first, copy a server configuration. Renamed vncserver@:2.service
cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:2.service
# Then make changes
vim /etc/systemd/system/vncserver@\:2.service
--------------------------------------------------------------------------------------------------------
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
User=root

# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=-/usr/bin/vncserver -kill %i
ExecStart=/usr/bin/vncserver %i
PIDFile=/home/Amos/.vnc/%H%i.pid
ExecStop=-/usr/bin/vncserver -kill %i

[Install]
WantedBy=multi-user.target

3.3 set as service (edit with vim and save.)

[root@localhost ~]# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used

3.4 setting vnc login password

systemctl start vncserver@:1
systemctl enable vncserver@:1    # Set to startup
![Insert picture description here](https://img-blog.csdnimg.cn/20200606171701684.jpg)
# View the port the service listens on
netstat -lnpt|grep Xvnc
# Open the port according to the monitored port. Each user will have a corresponding port. The first user is 5901 by default. I'm root
firewall-cmd --add-port=5901/tcp --permanent
firewall-cmd --reload

3.5 set the power on self start and open port.

3.6 server port 5901 is released. This is the configuration. You can use the server management tool to connect.

Tags: Operation & Maintenance vnc Linux vim IIS

Posted on Sat, 06 Jun 2020 07:12:10 -0400 by lalloo