Hi,
anyone had problem starting up vncserver with a non-root user on a kimsufi box? I'm running on Fedora 9
Everything is running just fine with root..i just disabled selinux to see if it would fix the problem and it didn't
any idea?
thx!
Hi,
anyone had problem starting up vncserver with a non-root user on a kimsufi box? I'm running on Fedora 9
Everything is running just fine with root..i just disabled selinux to see if it would fix the problem and it didn't
any idea?
thx!
what kind of error do you get when trying to run it?
from the vnc logs :
X cannot be started, no matter what port i choose, it always says x server is already runningxsetroot: unable to open display 'ksXXXXXX.kimsufi.com:6'
vncconfig: unable to open display "ksXXXXXX.kimsufi.com:6"
xterm Xt error: Can't open display: ksXXXXXX.kimsufi.com:6
/usr/bin/startxfce4: X server already running on display ksXXXXXX.kimsufi.com:6
xrdb: Connection refused
xrdb: Can't open display 'ksXXXXXX.kimsufi.com:6'
mkdtemp: private socket dir: Permission denied
(xfce4-session:4751): Gtk-WARNING **: cannot open display: ksXXXXXX.kimsufi.com:6
SSH_AGENT_PID not set, cannot kill agent
Fatal server error:
Could not create lock file in /tmp/.tX6-lock
as i said, with root, no problem
Last edited by KFlint; 03-06-2009 at 05:24 PM.
try rebooting and running it as the regular user.
from the error, it seems like the one you opened under root is still running, and the non-privileged account can't connect to it.
make sure you start the vnc server by using:
vncserver :1
if you need to kill it, use:
vncserver -kill :1
if you're going to run a vnc server for user bubbles, start it using vncserver :1 and if you're going to run another vnc server for user hulahoop at the same time, use vncserver :2
hopefully that makes some sense, I'm tired and it's late.
thx for the suggesion, i did a reboot but i think i started vnc as a root again
i did kill it though, maybe it gets stuck or something like that
gonna reboot tomorrow and try to launch it only from the user account
Bookmarks