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


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
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: A Gentoo-based, professional digital audio workstation OS.
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: 2665 Location: Slovenia
|
|
Back to top |
|
 |
audiodef Watchman


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
Posted: Sun Jan 20, 2013 9:10 pm Post subject: |
|
|
Oh, OK. Thanks for the info.  _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
audiodef Watchman


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
Posted: Sun Jan 20, 2013 9:40 pm Post subject: |
|
|
If I choose to downgrade, does tigervnc need to be downgraded on both client and server machines? Because I downgraded on the client machine and I'm getting connection refused errors for -via. _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 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 Watchman


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
Posted: Sun Jan 20, 2013 10:24 pm Post subject: |
|
|
Ah, I forgot to add the display number to localhost. It works.
How would I configure tigervnc to not accept any connections that are not tunneled? _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 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 Watchman


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
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: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
|
Back to top |
|
 |
audiodef Watchman


Joined: 06 Jul 2005 Posts: 6428 Location: /usr/lib64/lv2
|
Posted: Fri Jan 25, 2013 3:32 pm Post subject: |
|
|
Nice! _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
|