Re: vncserver
> >
> > I have VNC server setup as a service. This means
> that
> > it's running before login - ie. you get a login
> screen
> > when you run the vnc client...
> >
> > If this is what you want, I'll post the configs...
> >
> > It will be very nice. Kindly post not only config
> files, but also .vnc/
> folder files
These configs are probably insecure. It's what I use
and don't plan on changing it. I use it at a primary
school north of London. It's working very well indeed.
I don't understand .vnc/ - sorry... please be more
specific on what you'd like posted. Perhaps we're
confused here. No user runs vnc - it gets run as a
service, so anyone can get a login screen using a vnc
client.
Here's my configs...
I just installed vncserver using apt-get, then editted
these files (and made sure my firewall wasn't
interfering)...
===============
Add these TWO lines to the bottom of your
/etc/inetd.conf file:
vnc-800x600 stream tcp nowait nobody /usr/sbin/tcpd
/usr/bin/Xvnc -inetd -query localhost -geometry
800x600 -depth 24 -once -securitytypes=none
vnc-1024x768 stream tcp nowait nobody /usr/sbin/tcpd
/usr/bin/Xvnc -inetd -query localhost -geometry
1024x768 -depth 24 -once -securitytypes=none
====================
There are only two vnc lines at the end there - they
may get wrapped by my email client. The two lines
begin vnc-
Obviously, these settings work here, but depth and
resolution may need to be adjusted.
====================
Here's the two lines to add at the bottom of
/etc/services
# Local services
vnc-800x600 5900/tcp
vnc-1024x768 5901/tcp
====================
Then, depending what port you connect to, you get a
different resolution. You could setup as many of these
choices as you liked on different ports, as long as
each line in /etc/inetd.conf had a corresponding one
in /etc/services.
Hope that helps.
--
Matt Johnson
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
Reply to: