- as remote root on myhost
- yum install tigervnc
- yum install tigervnc-server
- yum install libXfont pixman
- yum install fluxbox
- yum install firefox
- as a remote user, myuser, on myhost
- vncserver :66 -localhost
- set a password, call it mypassword
- as local user
- ssh -L 5966:localhost:5966 myuser@myhost
- leave running and do next step in another local term
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5966
- authenticate with mypassword
- as a remote user, myuser, on myhost
- export DISPLAY=:66
- xterm &
- fluxbox &
- firefox &
Thursday, 27 June 2013
Redhat: vnc to remote server
NOTE: if the vncserver insists on starting on a port other than 5966, like 6099, wipe the ~/.vnc directory and start over again. If that doesn't help, change the second instance of 5966 below to 6066 in the port forwarding ssh command, e.g. '-L 5966:localhost:6066'.
Subscribe to:
Post Comments (Atom)
Interview questions: 2020-12
Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer Networking Layer 1 vs Layer 4 haproxy u...
-
kubectl --cert=/tmp/tls.crt --key=/tmp/tls.key create secret tls tls-wc-ingress
-
apt-get install exim4 dpkg-reconfigure exim4-config Select: internet site; mail is sent and received directly using SMTP IP-addresses...
-
brew install python3 mkdir -p ~/bin/python3 python3 -m venv ~/bin/python3 source ~/bin/python3/bin/activate enjoy!
No comments:
Post a Comment
Note: only a member of this blog may post a comment.