This page is my personal reference/cheat sheet for Raspberry Pi
Install the XFCE Desktop
To install XFCE to use it instead of the default LXDE.
$ sudo apt-get install task-xfce-desktop
XFCE for the TightVNC Server
After setting up TightVNC, you can configure it to load the XFCE desktop environment
by modifying your
file. Mine looks like this:
xsetroot -solid grey
vncpasswd to set a password.
vncserver to start a VNC server (defaults to display :1
for the first server)
vncserver -kill :1 to kill a server.
Pi User Groups
If you add other users to the system, you'll probably want them to be members of
all the groups the pi user is part of. So...
$ sudo usermod -a -G adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev,input
Sound access for other users
If you add a second user to the system besides the default "pi" user, they don't
get access to the sound device by default - so for example, the XFCE Mixer applet
gives a gstreamer error.
To get the XFCE Mixer applet to work, make sure the gstreamer plugins are
$ sudo apt-get install gstreamer0.10-plugins
Method 1: audio user group
This is probably the preferred way. Make sure your alternate user is a member of
Method 2: Add your user to the ACL for /dev/snd
$ sudo setfacl -m u::rw /dev/snd/*
You'll need to do this before
starting the VNC server. If you've already
started one, shut it down and restart it.