Using VNC without authentication
William Hooper
whooper@freeshell.org
Tue Sep 23 23:59:01 2003
hjvm@freenet.de said:
> OK, I've looked at the documentation. I looked at the documentation
> before,
> too, but obviously not carefully enough. But: the -rfbauth option
> indicates the
> passwd file. How can this help me having no password at all.
If you don't pass the -rfbauth to Xvnc you don't have to authenticate.
> I tried the
> following:
> vncserver -rfbauth passwd
> with an empty passwd file an the original vncserver file. This should be
> the
> same as
> xvnc -rfbauth passwd
> because options vncserver doesn't know are passed to xvnc.
Except the -rfbauth is already passed by default in the vncserver script.
And having a blank vncpasswd file is not the same as not passing -rfbauth
at all.
> When starting
> the vncviewer I was still prompted for a password. But simply hitting
> return
> didn't give me access. What would you suggest?
WORKSFORME. I just tried it with both the Linux v3.3.7 and v4 beta4
viewers against a Linux v3.3.7 Xvnc.
> I generally agree with you about security. But in my case (4 computers
> without internet connection, in my flat which nobody can access, no
> valuable
> data on it) the access security is not my first and last thought of the
> day.
Definitely don't take this as a flame, just a point to ponder. Will you
remember how these four computers are set up if you get Internet access to
one of them? How about if you add a wireless access-point?
--
William Hooper