Cluster usage
Windows users can use MobaXterm , X shell+Xmanager ( commercial version ), putty+xming and other software to realize software graphics forwarding. The following takes Moba Xterm as an example to introduce how to use graphics forwarding.
1)Set the terminal to stay online
2)Log in to the cluster to run the test program and jump out of the graphical interface
Mac users need to download the xquartz X11 terminal program separately.
1)Modify the configuration file
$ sudo vim /etc/ssh/sshd_config
#X11Forwarding noRemove # and change no to y es
2)restart sshd service
stop > $ sudo launchctl unload -w /System/Library/LaunchDaemons/ssh.plist
Launch > $ sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
See if it starts > $ sudo launchctl list | grep ssh
3)Log in to the terminal
$ ssh -Y user@10.12.100.88
4)Run the test
$ srun -p q_cn --x11 --pty xclock
© 2023 by Personal Life Coach. Proudly created with Wix.com ICP备案号:京ICP备18029179号