example XF86Config file for VNC for XFree 4
"Beerse, Corné"
cbeerse "at" hiscom.nl
Wed Jun 5 09:47:02 2002
> -----Original Message-----
> From: Alan Hourihane [mailto:alanh "at" fairlite.demon.co.uk]
>
> On Tue, Jun 04, 2002 at 05:23:38 +0200, "Beerse, Corni" wrote:
> > Hi all
> >
> > Who has the setup as on http://xf4vnc.sourceforge.net/ running?
> > Can any of you send me a copy of the /etc/X11/XF86Config file?
> >
> > I somehow cannot get it working on RedHat 7.3.
> >
> > For RH7.3, I know the file is called /etc/X11/XF86Config-4.
>
> What's the problem your having ?
I copied the vnc.so file to /usr/X11R6/lib/modules/ (and to
/usr/X11R6/lib/modules/drivers/ in a guess to get things working)
The Display driver was already in the drivers directory: nv_drv.0 for my
geforce card.
In the already existing Section "ServerLayout", I added the vncMouse and
vncKeyboard lines
In the already existing Section "Module", I added 'Load "vnc"'.
I added 2 new Section "InputDevice" to define the vncKeyboard and vncMouse
I also have the setup as on
http://www.sourcecodecorner.com/articles/vnc/linux.asp but I don't think
this causes problems.
The above setup did not give me the access to machine:0 which I expected,
not after restarting X, not afer rebooting the system. Did I mis something?
Then in the Section "Device", I added the next lines:
Option "rfbport" 5900
Option "usevnc"
This gave severe errors in the X11 session such that it would not start:
Errors on not known options or values. I quoted the 5900 and rechecked all
options but to no result.
Then I moved these options th the Section "Module": I removed the Load "vnc"
line and added:
SubSection "vnc"
Option "rfbport" 5900
Option "usevnc"
EndSubSection
This does give a X11 session at the console but still no vnc connection to
machine:0.
Where is my error? Can someone send me a XF86Config file that includes the
use of vnc?
Btw: in the logfile /var/log/XFree86.0.log, I see that rfbmouse and rfbkeyb
are not found. I should say this should result in a view-only vncviewer
connection. Or does it indicate oter problems? The vnc module is properly
loaded.
CBee