Results 1 to 7 of 7
I have ssh and xtightvncviewer and tightvncsever installed on 2 ubuntu boxes. I have a windows xp computer with tightvnc installed on it too. How do i use ssh so ...
- 03-05-2010 #1Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
ssh and tightvnc
I have ssh and xtightvncviewer and tightvncsever installed on 2 ubuntu boxes. I have a windows xp computer with tightvnc installed on it too. How do i use ssh so that the 3 computers will talk to one another? it is a home network. i was told that -via gateway
Automatically create encrypted TCP tunnel to the gateway machine
before connection, connect to the host through that tunnel
(TightVNC-specific). By default, this option invokes SSH local
port forwarding, assuming that SSH client binary can be accessed
as /usr/bin/ssh. Note that when using the -via option, the host
machine name should be specified as known to the gateway
machine, e.g. "localhost" denotes the gateway, not the machine
where vncviewer was launched. See the ENVIRONMENT section below
for the information on configuring the -via option.
i have the windows set to use port 22. fire wall is off
from the ubuntu to windows i can get the program to work with
xtightvncviewer 192.168.2.100:22
but i would like the -via to know that the view is protected
for the linux to linux
lance(at)bermudezl:~$ xtightvncviewer -via 192.168.2.103 -compresslevel 9 -x11cursor
lance(at)192.168.2.103's password:
Permission denied, please try again.
lance(at)192.168.2.103's password:
Permission denied, please try again.
lance(at)192.168.2.103's password:
Permission denied (publickey,password).
xtightvncviewer: Tunneling command failed: /usr/bin/ssh -f -L 559911cursor:5900 192.168.2.103 sleep 20.
i have the system>preferences>remote desktop password set and turned on
i have tired this password and also the ssh password key. i have moved the publickey password to both linux boxes
- 03-05-2010 #2
this maybe a silly question to pose but does the user lance exist on the remote machine you are trying to invoke the command on?
linux user # 503963
- 03-06-2010 #3Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
no the only user is pete. should i add lance to the remote computer?
- 03-06-2010 #4
yes. otherwise you have to specify a user. if you don't it assumes you are requesting the same username as the current user you are logged in.
linux user # 503963
- 03-06-2010 #5Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
how would i specify a user? i did not see how to do that under the man xtightvncviewer. thank you for your help.
- 03-06-2010 #6Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
xtightvncviewer -via "pete@192.168.2.103" localhost:0
works for the linux but i want to be able to set the -compresslevel 9 -x11cursor tags. how do i do that?
- 03-06-2010 #7Linux Newbie
- Join Date
- Jan 2010
- Location
- usa
- Posts
- 124
xtightvncviewer -via "pete@192.168.2.103 -p 22" -compresslevel 9 -x11cursor localhost:0
the above works for linux i have another computer that i need to connect to from my linux box it is a windows xp computer with tightvnc on it set to accept port 22 how do i use the -via to connect to that computer also


Reply With Quote