Your Ad Here Your Ad Here
Results 1 to 5 of 5

Thread: kimsufi :prob starting vncserver with non-root user on fedore 9

  1. #1
    KFlint's Avatar ... BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Mar 2007
    Posts
    5,642
    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!

  2. BitTorrent   -   #2
    lysine's Avatar 49311 BT Rep: +1
    Join Date
    Sep 2006
    Location
    unknown
    Posts
    639
    what kind of error do you get when trying to run it?

  3. BitTorrent   -   #3
    KFlint's Avatar ... BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Mar 2007
    Posts
    5,642
    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
    Last edited by KFlint; 03-06-2009 at 05:24 PM.

  4. BitTorrent   -   #4
    lysine's Avatar 49311 BT Rep: +1
    Join Date
    Sep 2006
    Location
    unknown
    Posts
    639
    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.

  5. BitTorrent   -   #5
    KFlint's Avatar ... BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Mar 2007
    Posts
    5,642
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •