Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:vnc_viewer_setup [2020/06/01 22:53] (current)
Line 1: Line 1:
 +====== VNC Viewer Setup ======
 +
 +To setup VNC viewer to run Gnome, I have the following ~/​.vnc/​xstartup.
 +
 +<​code>​
 +#!/bin/sh
 +
 +# Uncomment the following two lines for normal desktop:
 +unset SESSION_MANAGER
 +#exec /​etc/​X11/​xinit/​xinitrc
 +
 +[ -x /​etc/​vnc/​xstartup ] && exec /​etc/​vnc/​xstartup
 +[ -r $HOME/​.Xresources ] && xrdb $HOME/​.Xresources
 +xsetroot -solid grey
 +vncconfig -iconic &
 +x-terminal-emulator -geometry 80x24+10+10 -ls -title "​$VNCDESKTOP Desktop"​ &
 +#​x-window-manager &
 +gnome-session &
 +</​code>​
 +
 +I start VNC with the following command line, which starts the VNC server and it's built-in http server on non-standard ports.
 +
 +  vnc4server :1 -alwaysshared -rfbport 17009 -httpd /​home/​joel/​vncwww/​ -httpPort 17800
 +
 +Next, I downloaded the TightVNC Java Viewer and put it's files in ///​home/​joel/​vncwww/​classes///​. ​ To access the Java viewer, I just point my browser at //<​myaddress>:​17800/​classes/​index.vnc//​.
  
comments powered by Disqus
linux/vnc_viewer_setup.txt · Last modified: 2020/06/01 22:53 (external edit)