You are not logged in.

#1 2009-05-30 21:36:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

entry in /etc/hosts.allow for insecure VNC?

I read the ssh wiki article which teaches to add an entry to /etc/hosts.allow for sshd.  I am know that tunneling vnc through sshd is the way to go security wise, however, there are cases where I need to switch on un-encrypted vnc for the purposes of sharing my X11 session with family members.  Anyway, my question deals with an entry in the /etc/hosts.allow for gnome's desktop sharing (which is vnc as I understand it).  Does anyone know the syntax to allow vnc for any incoming connection (default port of 5900).

I have tried:

vino: ALL
Xvnc: ALL
X11vnc: ALL

None of which worked.

Thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-05-30 21:44:25

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: entry in /etc/hosts.allow for insecure VNC?

when I don't know what's the name of the process listening to specific port, I always execute

netstat -tnlp

to get the proper processes' names.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#3 2009-05-31 08:30:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: entry in /etc/hosts.allow for insecure VNC?

@kjon - thank you.  This worked just fine (the name of the process for x11vnc is tcp if anyone is interested).


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB