problem with nonroot user

William Hooper whooper "at" freeshell.org
Sat Jan 3 16:44:00 2004


arib "at" hi.is said:
> Hi everyone,
>
> Im having trouble starting realvnc under an nonroot user.

What version of VNC?  What OS?

> 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
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Permissions issue?

-- 
William Hooper