You are not logged in.

#1 2008-05-23 17:50:56

zaggynl
Member
Registered: 2008-04-16
Posts: 29

x11vnc - garble after connecting w. vncviewer

My problem:

rubbishx11vncxf9.jpg

What I did:

pacman -S x11vnc
edited hosts.allow
ran x11vnc like this: x11vnc -display :0 -ncache 10 -v
connected from PC in same LAN using realvnc vncviewer

How can I get x11vnc to show me my real desktop lol

Last edited by zaggynl (2008-05-23 17:55:13)

Offline

#2 2008-05-23 18:04:37

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: x11vnc - garble after connecting w. vncviewer

Maybe this article from Gentoo Wiki helps: http://gentoo-wiki.com/HOWTO_Use_VNC_to … X_Sessions

I'm using x11vnc to connect to my mother-in-laws computer in case she needs help. She has a button which executes the following command (as suggested in the Wiki article): $ x11vnc >>~/.x11vnc.log  2>&1 &

After she has opened up to ability to connect I simply run: vncviewer [ip-address].

Last edited by KimTjik (2008-05-23 18:07:48)

Offline

#3 2008-05-23 18:55:59

zaggynl
Member
Registered: 2008-04-16
Posts: 29

Re: x11vnc - garble after connecting w. vncviewer

Ugh, I'm clueless

I tried a whole bunch of stuff from that and now Xorg is rejecting users hmm

if I just use startx, I can start x11vnc and connect to it fine.

if I start gdm using /etc/rc.d/gdm start and then attempt to run x11vnc, this pops up:


23/05/2008 20:54:20 ***************************************
23/05/2008 20:54:20 *** XOpenDisplay failed (:0)

tail -f /var/log/Xorg.0.log shows:

AUDIT: Fri May 23 20:54:20 2008: 1938 Xorg: client 3 rejected from local host (uid 0)

Offline

#4 2008-05-23 19:01:35

zaggynl
Member
Registered: 2008-04-16
Posts: 29

Re: x11vnc - garble after connecting w. vncviewer

Eh got it.

started gdm

sudo x11vnc -display :0 -auth /var/lib/gdm/:0.Xauth

Offline

Board footer

Powered by FluxBB