Jump to content

Mandriva 2007: Where is vnc.so?


Guest Rick
 Share

Recommended Posts

Hi,

 

I just installed 2007 and was looking for the vnc.so X11 module so that I could activate it in the xorg.conf file. Unfortunately, I cannot find it which means I must have missed the package it was in. Can someone clue me in on which package I should install?

 

This is the path from my 2006 installation: /usr/X11R6/lib/modules/vnc.so

 

Thank you,

Rick

Link to comment
Share on other sites

You know, I was thinking. Maybe the vnc.so file isn't the right way to do what I want (anymore). So maybe this will trigger a more appropriate method of doing what I want.

 

Basically, I need a VNC session to control the Display:0 window. I want to see exactly what a user of the laptop would see before they logged in (and of course after). I'm a little familiar with 'x11vnc' and 'vncserver' but I thought those only "take effect" after the user logs in. In Mandriva 2006, the vnc.so library was part of the root X server so anything that server displayed would be available to a vnc viewer.

 

I hope I'm making sense. So, under Mandriva 2007, what is the right method to do this?

 

Thank you!

Rick

Link to comment
Share on other sites

Guest Heath Petersen

I ran into the same problem. Although it's not pretty, I got it working by doing the following:

 

- download vnc-4_1_2-x86_linux.tar.gz from http://www.realvnc.com

 

$ cd /tmp
$ mkdir vnc
$ cd vnc
$ tar -xzf <download_directory>/vnc-4_1_2-x86_linux.tar.gz
$ cd vnc-4_1_2-x86_linux
$ sudo mkdir -p /usr/local/X11R6/lib/modules/extensions
$ sudo chown -R root:root /usr/local/X11R6
$ sudo chmod -R u=rwx,go=rx /usr/local/X11R6
$ sudo cp vnc.so /usr/local/X11R6/lib/modules/extensions/
$ sudo ./vncpasswd /etc/X11/vnc_passwd # Enter your VNC password as prompted
$ cd /tmp
$ rm -rf vnc

 

Changes to xorg.conf:

 

...

Section "Module"

# - Load vnc module for remote access
Load "/usr/local/X11R6/lib/modules/extensions/vnc.so"

...

Section "Screen" Identifier "screen1"

# - Specify the vnc password file
Option "PasswordFile" "/etc/X11/vnc_passwd"

...

 

After restarting the X server, it worked fine.

 

I hope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...