Installing VNCSERVER on Linux machine

Reindl Harald h.reindl at thelounge.net
Thu Mar 14 19:31:38 UTC 2013



Am 14.03.2013 20:18, schrieb Mike Wright:
> 03/14/2013 11:49 AM, Reindl Harald wrote:
>>
>> Am 14.03.2013 19:27, schrieb Robert Moskowitz:
>>> On 03/14/2013 12:29 PM, Fedora User wrote:
>>>> On Tue, 2013-03-12 at 17:16 +0000, Norah Jones wrote:
>>>>> How can I install vncserver on my linux machine so that I can connect
>>>>> from windows client.
>>>> I prefer Tiger: #yum install tigervnc-server
>>>>
>>>> Works great from my android phone.
>>>
>>> vnc passes your login information in the clear
>>
>> ssh-forwarding is not rocket science
> 
> Oh, Reindl, you are so funny.  If only I had your knowledge.
> 
> ssh-forwarding may not be rocket science to you but to others, well...
> 
> Love your help, now show us how

normally the kyword should be enough
https://www.google.at/search?q=ssh+fowarding

however, this below is a snippet of a script with
VNC connections to a ton of machines on different
ports
__________________________

#!/bin/bash
VNC_PARAMS='-FullColour=1 -QualityLevel=7 -CompressLevel=9 -ZlibLevel=9 -Shared=1'
DEFAULT_GATEWAY='gateway at myhost.domain.tld'
LOCAL_PORT_START=5600
LOCAL_PORT=`expr $LOCAL_PORT_START + 1`

LOCAL_PORT=`expr $LOCAL_PORT + 1`
ssh -C -f -L $LOCAL_PORT:localhost:59oo $DEFAULT_GATEWAY sleep 3
vncviewer $VNC_PARAMS -passwd=/home/harry/.vnc/machine-type-1.pwd localhost:$LOCAL_PORT

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130314/88a24c22/attachment.sig>


More information about the users mailing list