ssh
ssh is a commonly used Linux remote method.
1. For Linux systems such as MAC, Ubuntu, CentOS, etc., please use the command: ssh -XY username@workstation_IP remote workstation.
2. For Windows, we recommend using the mobaxterm tool Remote Workstation. Commands can be used: ssh -XY username@workstation_IP, or sessions can be saved for later opening.
MobaXterm DeskTop
MobaXterm supports remote desktop, but supports Xfce desktop type. The specific operation method is as follows:
VNC
VNC is a screen sharing and remote operation software using the RFB protocol. VNC is operating system agnostic, so it can be used cross-platform. TigerVNC is already installed on this workstation.
Ubuntu
1. Use an account to log in to the workstation -- a non-root account, and configure a VNC password -- not the account's system password.
vncpasswd
You will require a password to access your desktops.
Password:Enter your Password
Verify: Re-enter your Password
Would you like to enter a view-only password (y/n)? n
2. Start the vnc server: vncserver -localhost no
3. Check the vnc port
vncserver -list
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID
:2 5902 2943 (stale)
Note: X DISPLAY is the port of vnc.
CentOS
1. Use an account to log in to the workstation -- a non-root account, and start vnc server
vncserver
You will require a password to access your desktops.
Password:Enter your Password
Verify: Re-enter your Password
Would you like to enter a view-only password (y/n)? n
2. Check the vnc port
vncserver -list
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID
:2 5902 2943 (stale)
Note: X DISPLAY is the port of vnc.
Client
Download VNC Viewer, install directly in the connect column and fill in the workstation IP: vnc port
Tips: If you can't access VNC, you need to open the firewall; the vnc port generally starts from 5901 and arranges it in order.
centos firewall command: sudo firewall-cmd --add-port=5901/tcp --permanent && sudo firewall-cmd --reload
ubuntu firewall command: sudo ufw allow 5901 && sudo ufw reload
work from home
In order to meet the needs of working from home, we installed teamviewer and sunlogin by default for cross-network connection (inactive version);
How to get the ID and password of teamviewer:
Please enter the command "teamviewer" on the monitor or mobaxterm, the GUI interface of teamviewer will pop up automatically, record the corresponding ID and password (you can also set an unattended password for teamviewer).
Official website: https://www.teamviewer.com/en-us/
How to get the ID and password of sunlogin:
Please enter the command "/usr/local/sunlogin/bin/sunloginclient" on the monitor or mobaxterm, the GUI interface of sunlogin will pop up automatically, and record the corresponding ID and password (it is recommended to set a personal password).
Official website: https://sunlogin.oray.com/
How to Remote Workstation at Home:
After installing teamviewer on the personal PC, enter the ID and password of the workstation teamviewer to access across the network.
After installing sunlogin on the personal PC, enter the ID and password of the workstation sunlogin to access across the network.