Remote Access Ubuntu using Firefox with TightVNC

From The World according to Vissie
Jump to navigation Jump to search

First, look at :

The font section on that page is wrong, use:

$fontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
$fontPath .= "/usr/share/X11/fonts/misc,";
$fontPath .= "/usr/share/X11/fonts/cyrillic,";
$fontPath .= "/usr/share/X11/fonts/100dpi/:unscaled,";
$fontPath .= "/usr/share/X11/fonts/75dpi/:unscaled,";
$fontPath .= "/usr/share/X11/fonts/Type1,";
$fontPath .= "/usr/share/X11/fonts/CID,";
$fontPath .= "/usr/share/X11/fonts/100dpi,";
$fontPath .= "/usr/share/X11/fonts/75dpi,";
# paths to defoma fonts
$fontPath .= "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType?,";
$fontPath .= "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID";

And a nice xstart script for my xfce4:

# Uncomment the following two lines for normal desktop:
# exec /etc/X11/xinit/xinitrc
-x /etc/vnc/xstartup? && exec /etc/vnc/xstartup
-r $HOME/.Xresources? && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# twm &
xfwm4 --display :1.0 &
xfce4-panel --display :1.0 &
xfdesktop --display :1.0 &