Instructions on how to set up the VNC sessions environment
Last updated 2018-06-28 by Adam Lu
-
Log in to a terminal
-
Type the following command to set a password for VNC sessions:
vncpasswd
-
(Note: this step is already done for all current users on fishfish) Perform one of the following to use the XFCE desktop for VNC sessions:
-
Create or modify the file
~/.vnc/xstartup
(vi ~/.vnc/xstartup
) to contain the following (comment out everything else):#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS # Start an XFCE desktop startxfce4 & # Turn clipboard on vncconfig -nowin &
Note: This information is also stored in sample_DOTvnc_xstartup_adam.txt.
-
Type this command to use Adam’s settings for all configuration files:
# setup_dotfiles.sh is in /usr/local/bin bash setup_dotfiles.sh adam
-
Type this command to use Adam’s settings for all configuration files set up desktop icons and soft links as well:
# setup_homedir.sh is in /usr/local/bin bash setup_homedir.sh adam
-