- On Windows, install XMinG
- In terminal:
- Open ~/.bashrc
- Add a line:
- export DISPLAY=0.0
- Run:
- source ~/.bashrc
- Test:
- sudo yum install xclock -y && xclock
VNC is boring with all remote apps shown in a virtual display rectangle, here's how to use X11 Forwarding to open remote apps in separate windows:
- Install and test XMinG as above.
- Enable X11 Forwarding on server:
- ssh someserver
- sudo micro /etc/ssh/sshd_config
- Find and set these:
- X11UseLocalhost no
- X11Forwarding yes
- sudo systemctl restart sshd
- sudo yum install xauth -y
- logout
- Run test:
- ssh -Xv someserver
- It says: ".Xauthority does not exist", run again:
- ssh -Xv someserver
- xclock
No comments:
Post a Comment