Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't run vncserver (tightvnc) as non-root user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
r0b
n00b
n00b


Joined: 20 Jun 2003
Posts: 35

PostPosted: Wed Apr 07, 2004 2:24 am    Post subject: Can't run vncserver (tightvnc) as non-root user Reply with quote

Hi,
Any help would be appreciated. I'm able to run tightvnc as root but no one else.

tightvnc invokes Xvnc with the following:

Code:
root      7455  0.6  0.7  9832 7512 pty/s0   S    20:46   0:03 Xvnc :4 -desktop X -httpd /usr/share/tightvnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 24 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5904 -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/


Permissions on Xvnc are:

Code:
-r-xr-xr-x    1 root     root      1422272 Apr  6 20:06 /usr/bin/Xvnc


It's pretty odd. When I try to start it as non-root user, the Xvnc process just dies (and doesn't really say why). The log is:

Code:
X connection to :1.0 broken (explicit kill or server shutdown).
FbTk::EventManager: Warning: unregistered eventhandlers!
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":1.0"


Not quite sure what to make of this. Any ideas?

Thanks!
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Apr 07, 2004 3:28 am    Post subject: Reply with quote

did tightvnc create any groups during install? Maybe you should add users to that group...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum