[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VNC on current running KDE desktop



On Tuesday 09 March 2004 9:51 pm, Thomas G wrote:
> Wesley J Landaker wrote:
> >On Tuesday 09 March 2004 9:33 pm, Thomas G wrote:
> >>Ive also been working on vncserver as long as a few other things on
> >>my current desktop linux box. How can I get a vnc server to run on
> >>port :0 and on the current X desktop. I have gotten VNC to work but
> >>it creates another x server. Also Im interested in doing dual
> >> monitor VNC (i run 2x horizontal spanned 17inch lcds) but thats
> >> only if its a must...  first id just like to get it working on the
> >> current desktop.
> >
> >You want x0rfbserver, it is a VNC server that attaches to your
> > currently running X server instead of making a new one.
> >
> >Look in the "rfb" package, i.e. "apt-get install rfb"
>
> Thanks man I downloaded and installed that but there seems to be no
> configuration i just install it and them reboot X i assume? and it
> supposed to work?

You don't have to restart X, you just need to run x0rfbserver.

While logged in X, run this from, say, an xterm:

$ x0rfbserver &

A little tiny window will pop up (only about 32x32 pixels) with an icon 
in it that says "RFB". Right click on it to set up a password, set 
options, etc.

Once you have set up the options interactively once, you don't have to 
do it again, and can then run it remotely. What I mean by that is, 
given that you are at machineB, but want to access machineA that is 
logged in and running X but is somewhere else, you can do something 
like:

machineB$ ssh machineA
machineA$ DISPLAY=:0 x0rfbserver &

then VNC with a client to "machineA:0"

-- 
Wesley J. Landaker <wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgpk9yQ6rd4ND.pgp
Description: signature


Reply to: