Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11vnc server crashes X
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Thu Aug 18, 2011 11:58 pm    Post subject: x11vnc server crashes X Reply with quote

i've had this problem for over a year with no idea what's going on.

after an emerge world in the distant past (i think it was when i updated to modular X), X11VNC started crashing X.
it doesn't happen all the time. it seems to happen ONLY when using pidgin on the VNC server.
it not only crashes X but i have no way to get a terminal back except sshing in from outside. i see no X processes running, but i can't get a terminal back to the screen, nor restart X without rebooting.

it happens with various vnc clients using various settings and i've tried most of them and tried adding/removing several options to the VNC server.

i startup x11vnc with:
x11vnc -display :0 -verbose -passwdfile /home/erict/.vnc/passwdfile -o /var/log/x11vnc.log -forever -xkb -nobell -bg
x11vnc is v0.9.9
Xorg server is v1.9.4

there are no EE, WW, II interesting items in the X.log after initial X start.

i'm on amd64.

ideas for where/how to look?

thanks
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Aug 19, 2011 12:21 am    Post subject: Reply with quote

No idea about x11vnc, but may I suggest switching to TigerVNC? It comes with a libvnc.so module that turns your X server into a vnc server.
Back to top
View user's profile Send private message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Fri Aug 19, 2011 2:43 pm    Post subject: Reply with quote

quickly looked at the fedora page on tigervnc and their webpage and some gentoo forum posts.

does it setup a vncserver for an existing X session? that's what x11vnc does and it's what i need.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Aug 19, 2011 4:50 pm    Post subject: Reply with quote

Oo.et.oO wrote:
does it setup a vncserver for an existing X session?

Quoting myself: It comes with a libvnc.so module that turns your X server into a vnc server.

Though I just now remembered that documentation for tigervnc is seriously lacking. So here goes, create a /etc/X11/xorg.conf.d/50-vnc.conf with this:
Code:
Section "Module"
   Load      "vnc"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Option       "PasswordFile"      "/home/username/.vnc/passwd"
EndSection

And there you have it. Adjust the username of course.
Back to top
View user's profile Send private message
Oo.et.oO
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 291
Location: burlington

PostPosted: Fri Aug 19, 2011 4:57 pm    Post subject: Reply with quote

interesting. wonder if it would work with mulitple users by using $HOME for the passwd file location.

wonder what happens when users don't have said file
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Aug 19, 2011 6:08 pm    Post subject: Reply with quote

The password file doesn't need to be in /home, that's just it's default location, but you can adjust that option to point anywhere. I actually don't know if $HOME would work, but I'm kinda thinking not.

In addition to that, tigervnc supports pam, and with that you can have users log in with their system username and password. Of course support for that is needed in the viewers as well, so everyone would need a supported viewer. Don't know which those are, it's not just tigervnc, that I know.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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