- 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 &
Showing posts with label xorg. Show all posts
Showing posts with label xorg. Show all posts
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'.
Wednesday, 26 June 2013
xvfb
- sudo apt-get install xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
- sudo apt-get install xvfb
- sudo apt-get install xtightvncviewer
- apt-get install x11vnc
- sudo apt-get install fluxbox
- export DISPLAY=:1
- Xvfb :1 -screen 0 1024x768x16 &
- fluxbox &
- x11vnc -display :1 -bg -nopw -listen localhost -xkb
- export DISPLAY=:0
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5900
- you should see fluxbox running within another window which you can navigate
- try, for fun
- export DISPLAY=:1
- xterm
- pkill fluxbox
- fluxbox &
Gets weirder
- close the above vncviewer window
- x11vnc -display :1 -bg -nopw -listen localhost -xkb
- x11vnc -display :1 -bg -nopw -listen localhost -xkb
- x11vnc -display :1 -bg -nopw -listen localhost -xkb
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5900
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5901
- vncviewer -encodings 'copyrect tight zrle hextile' localhost:5902
- sudo apt-get install firefox
- DISPLAY=:1 firefox &
Note: if vncviewer is not available on the CLI, use xtightvncviewer instead, same thing
See: http://en.wikipedia.org/wiki/Xvfb
See: http://en.wikipedia.org/wiki/Xvfb
Subscribe to:
Posts (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...
-
CRITICAL: AWS now offers internal VPC DNS! Below is no longer necessary AFAIK. Woo hoo! http://aws.amazon.com/about-aws/whats-new/2014/...
-
build sudo apt-get install git gcc sudo apt-get install automake autoconf git clone git://github.com/rriley/tsunami-udp.git cd tsunam...
-
From: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382972#c4 Assumptions: jEdit was installed into /Applications directory. Close any...