View Full Version : kimsufi :prob starting vncserver with non-root user on fedore 9
KFlint
03-06-2009, 05:02 PM
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? :unsure:
thx!
lysine
03-06-2009, 05:08 PM
what kind of error do you get when trying to run it?
KFlint
03-06-2009, 05:22 PM
from the vnc logs :
xsetroot: 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
X cannot be started, no matter what port i choose, it always says x server is already running
as i said, with root, no problem
lysine
03-07-2009, 04:36 AM
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.
KFlint
03-07-2009, 05:23 AM
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
Powered by vBulletin® Version 4.2.3 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.