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

RE: VNC on current running KDE desktop



> -----Original Message-----
> From: Thomas G [mailto:debian@staff.lan-zig.com] 
> Sent: Wednesday, 10 March 2004 4:25 PM
> To: Wesley J Landaker; debian-user@lists.debian.org
> Subject: Re: VNC on current running KDE desktop
> 
> 
> Wesley J Landaker wrote:
> 
> >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"
> >
> >  
> >
> wow thanks works like a charm... have a nice day (or night in 
> this case)
> 
> Thomas
> 
> 

it's worth mentioning, as far as I was aware, your vncserver was working
as designed, it would never have served your current desktop.



Reply to: