I just set up a fc5 box, and am trying to get vnc set up. I can connect
okay with the normal configuration, i.e. VNCSERVERS="1:myusername", so
far so good.
However, I want to enable 2 things:
1. To have the vnc session log in using the users system password (not
a separate password in the .vnc dir!)
2. To have the vnc session open up the correct display port based on
the users credentials.
It seems absurd to me that I have to have a separate pass for vnc, and
that every user has to remember what port their display is on.
I would have in fact thought this was a -requirement- of a good vnc
system, but I can find hardly any information on google on how to
accomplish this!
Can anyone help?
> It seems absurd to me that I have to have a separate pass for vnc, and
> that every user has to remember what port their display is on.
Probably you could setup a SSH tunnel as fontent, to provide this feature.
[...]
> Can anyone help?
Maybe try the x11vnc instead:
http://www.karlrunge.com/x11vnc/x11vnc_opts.html#opt-unixpw
--
-Menno.
> I would have in fact thought this was a -requirement- of a good vnc
> system, but I can find hardly any information on google on how to
> accomplish this!
>
Here's how I offer VNC logins to users. I have different
ports enable, but only so as to offer different screen geometries.
The file below is /etc/xineted.d/vnc running on RedHat 9...
# description: A Vnc server, to enable Exceed-like logins
service vnc
{
disable = no
socket_type = stream
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -wm -once -geometry 1010x738 -depth 16 -fp /usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/misc
log_on_failure += USERID
}
--
Dave Abbott, UNIX SysAdmin |
Department of Computer Science | http://www.dcs.shef.ac.uk/
The University of Sheffield |