[K12OSN] how to VNC into 4.2.0 server?

Angus Carr acarr at saskforestcentre.ca
Fri Feb 18 22:11:42 UTC 2005


richard ingalls wrote:

>--- Ron Freidel <rfreidel at computergeex.com> wrote:
>
>  
>
>>When I need to see a desktop on a remote server I do
>>it via ssh
>>
>>ssh -C -l ronf hostname.k12.mt.us -L
>>5900:127.0.0.1:5900
>>
>>that forwards the correct ports for a vnc
>>connection. Then on my laptop I do a
>>
>>vncviewer localhost
>>and the remote desktop loads via the ssh connection.
>>
>>No need to open any additional ports other than 22
>>for the ssh connection.
>>
>>richard ingalls (aslansreturn at yahoo.com) wrote:
>>    
>>
>>>how can i VNC into a 4.2.0 server?  what do i need
>>>      
>>>
>>to
>>    
>>
>>>open up in the firewall to make this happen?  i'm
>>>assuming the problem is in the firewall... is this
>>>      
>>>
>>correct?
>>    
>>
>
>that's a cool trick!
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
>
>  
>
Cooler yet:
vncviewer -via my.host.here.ca localhost:0

the -via parameter sets up a ssh session to deal with the tunnelling. If 
you have keys and so on set up, then this produces a vncviewer window 
with minimal user intervention.

Angus.




More information about the K12OSN mailing list