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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...