| View previous topic :: View next topic |
| Author |
Message |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
Posted: Sun Jan 20, 2013 8:49 pm Post subject: Can't get vncviewer -via to work [SOLVED] |
|
|
I've been trying to use vncviewer with -via, but anything I try results in vncviewer spitting out a list of options. I've tried:
vncviewer -via (user)@(host_ip_address):(display_num) localhost
vncviewer -via (user)@(host_ip_address) localhost
vncviewer -via (host_ip_address) localhost
and various combinations. What am I missing? Unencrypted VNC (tigervnc on the remote machine) works, and I can ssh in to my remote machine. _________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks.
Last edited by audiodef on Tue Jan 22, 2013 4:08 pm; edited 1 time in total |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Sun Jan 20, 2013 9:45 pm Post subject: |
|
|
| As far as I know -via is all client-side, the server shouldn't matter. |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Sun Jan 20, 2013 10:43 pm Post subject: |
|
|
There's an option for the server to listen only on localhost, "man Xvnc" is your friend.
Beyond that, just set the firewall to not let standard vnc ports through. The usual recommended firewall config is to block all inbound connections except specific (for example, ssh) ports, so if you use a config like that, you're already covered. |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
Posted: Mon Jan 21, 2013 1:39 am Post subject: |
|
|
Gotcha. All I had to do was put -localhost in VNC_OPTS in /etc/init.d/tigervnc.
Thanks for your help.
EDIT:
It keeps disconnecting, after which all further connections are refused unless I restart tigervnc. Another known issue?
Actually, now I'm seeing tigervnc failing to stop... _________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks. |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
|