On Mon, Aug 18, 2008 at 6:37 PM, Filipe Brandenburger <filbranden at gmail.com> wrote: > Hi, > > On Mon, Aug 18, 2008 at 16:42, Robert Moskowitz <rgm at htt-consult.com> wrote: >> vncserver: The USER environment variable is not set. > > So, is it set or not? > > It's usually set by /etc/profile, so if it's not set, that might > indicate you have an issue with your setup. > Indeed, looking at my /etc/profile I see the following: if [ -x /usr/bin/id ]; then USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi Is there anything else needed to help Robert debug this? I have this working on CentOS 5.2 and "Xvnc -version" shows: Xvnc version TightVNC-1.3.9