[gentoo-user] vnc.so

2006-01-06 Thread Tom Smith

Hi all,

I installed vnc with the server USE flag enabled. I've been working 
on getting the vnc.so module loaded for X.org and now have it working. 
My question is, is this module a part of RealVNC or some other program? 
(I tried to locate a description of the use flags for VNC but was unable 
to.)


Thanks in advance for the help.

~ Tom
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vnc.so

2006-01-06 Thread Jim Burwell

Tom Smith wrote:


Hi all,

I installed vnc with the server USE flag enabled. I've been 
working on getting the vnc.so module loaded for X.org and now have it 
working. My question is, is this module a part of RealVNC or some 
other program? (I tried to locate a description of the use flags for 
VNC but was unable to.)


Thanks in advance for the help.



Yes the vnc.so X module is part of the VNC package.  AFAIK its purpose 
is to implement the shared display # 0 functionality, where you can 
start a VNC session and interact with the system's local :0 X 
display.  That is, say that you're logged into the target machine itself 
and have an X session running on it attached to the system's monitor/vid 
card/KB/mouse.  The vnc.so provides the functionality to attach to THAT 
session.  Note that not all VNC packages support this (notably TightVNC 
doesn't, but RealVNC seems to, although I havn't tried it.  There's also 
'xf4vnc' and 'x11vnc' which appear to provide the functionality).  
Perhaps the module is also used in the normal Xvnc session also, but 
TightVNC doesn't even include the module and it implements Xvnc.


Normally, vncserver starts up its own X server (Xvnc) which uses a new X 
display number which is completely independant of any X server which may 
be running on the target system.  Perhaps this is what you're really 
looking for ?  If so, it's very easy.  Just run something like 
'vncserver -depth 24 -geometry 1024x768' and you'll be able to attach a 
VNC viewer to the virtual X display by connecting the viewer to 
hostname or IP:1.


- Jim

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vnc.so

2006-01-06 Thread Statux
After you get X to start with the vnc module as you have, you just use a
vnc viewing program (RealVNC is common). I typically connect to this
system from another Windows box on the LAN but I have done Linux to
Linux (vncviewer) with a system several states away. There's also a way
to set a password but I forget how I did that. I remember setting it as
root since the X server starts as root. There a command that comes with
the client portion of vnc, I think. Poke around.

To others reading this thread, only the newer branch of the vnc project
(version 4, I think) has the vnc server module support. Looking at
things, I see that version 4 is now marked stable (it wasn't when I
installed it on two systems).

Just a word of caution, if you connect to your own box you'll probably
end up with some wacky stuff when you move your mouse, etc. It took me a
while to understand that this is actually the mirror in a mirror issue.
Once I connected from another system, things looked better :)

On Fri, 2006-01-06 at 16:39 -0700, Tom Smith wrote:
 Hi all,
 
 I installed vnc with the server USE flag enabled. I've been working 
 on getting the vnc.so module loaded for X.org and now have it working. 
 My question is, is this module a part of RealVNC or some other program? 
 (I tried to locate a description of the use flags for VNC but was unable 
 to.)
 
 Thanks in advance for the help.
 
 ~ Tom

-- 
Statux [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] vnc.so

2006-01-06 Thread Tom Smith
I understand how vnc.so works. I was trying to determine where to find 
documentation for it, so I asked the more general question of which 
package it came with. After more research (and a response received on 
this list) I learned it is part of RealVNC.


What I was looking to do is provide additional configuration option for 
X.org but couldn't do this until I knew where to find the docs--now I 
do. So I just need to play with it to try and improve performance--I've 
noticed (just recently) that performance over a VPN tunnel is quite slow 
when compared to a LAN (I know, this is pretty obvious). What's odd, 
though, is that performance is MUCH worse VNC-ing to my Gentoo server on 
port :0 then it is on port :1, for example. Puzzling... Anyone have 
ideas as to how I can improve this aspect of vnc.so?


~ Tom

BTW... To enable the VNC password, add the following line to 'Section 
Screen ' of xorg.conf: Option PasswordFile /path/to/.vnc/passwd. 
Usually, you have to add a noauth option in order to disable password 
authentication--this is the option I chose since one would have to 
authenticate via XDM and I use xlock/xautolock to secure the logged in 
session.


Statux wrote:


After you get X to start with the vnc module as you have, you just use a
vnc viewing program (RealVNC is common). I typically connect to this
system from another Windows box on the LAN but I have done Linux to
Linux (vncviewer) with a system several states away. There's also a way
to set a password but I forget how I did that. I remember setting it as
root since the X server starts as root. There a command that comes with
the client portion of vnc, I think. Poke around.

To others reading this thread, only the newer branch of the vnc project
(version 4, I think) has the vnc server module support. Looking at
things, I see that version 4 is now marked stable (it wasn't when I
installed it on two systems).

Just a word of caution, if you connect to your own box you'll probably
end up with some wacky stuff when you move your mouse, etc. It took me a
while to understand that this is actually the mirror in a mirror issue.
Once I connected from another system, things looked better :)

On Fri, 2006-01-06 at 16:39 -0700, Tom Smith wrote:
 


Hi all,

I installed vnc with the server USE flag enabled. I've been working 
on getting the vnc.so module loaded for X.org and now have it working. 
My question is, is this module a part of RealVNC or some other program? 
(I tried to locate a description of the use flags for VNC but was unable 
to.)


Thanks in advance for the help.

~ Tom
   



 


--
gentoo-user@gentoo.org mailing list