problem with nonroot user

arib@hi.is arib "at" hi.is
Sat Jan 3 04:08:01 2004


Hi everyone,

Im having trouble starting realvnc under an nonroot user.

the nonroot user can perform vncpasswd without an error, anyways

I do the following:

#vncserver :2

and i recieve the following message in the $HOME/.vnc/localhost\:2.log file:

xsetroot:  unable to open display 'localhost:2'

Fatal server error:
Could not create lock file in /tmp/.tX2-lock

xterm Xt error: Can't open display: localhost:2
twm:  unable to open display "localhost:2"

Everything is working fine under root. I would realy appreciate it if
someone would help me out

regards, arib