gary@vs-tech.com (Gary Vassalotti) wrote in message news:<18fbe61a.0410101745.3d02f617@posting.google. com>...
> Hello,
>
....
> On my windows boxes, I have VNC set up as a service, so it loads
> automaticly each time the system boots... but I don't know how to do
> this with a linux box. Can some one tell me how you set up software
> to start automaticly on boot up in the linux system?
There's more than one way to do what you need, but a recommended way
is to set it up as a service started by inetd, if you're running inetd
(which you almost certainly are). To do this, you add a line like the
following to /etc/services:
vnc-1024x768x16 5950/tcp # VNC
and a corresponding line to /etc/inetd.conf:
vnc-1024x768x16 stream tcp nowait nobody /usr/local/bin/Xvnc
Xvnc -inetd -broadcast -once -geometry 1024x768 -depth 16
(the above should be all on one line). Then, from your Windows
machine, you access it on port 5950. The advantages of doing it this
way are:
1. vnc doesn't run unless/until somebody tries to connect to it
2. If some of your Windows boxes have different screen resolutions,
you can add different vnc services with different screen resolutions
or color depths, just by adding another line to /etc/services and a
corresponding line to /etc/inetd.conf. The above example assumes you
want screen size 1024x1068 with 16-bit color, and it's set up to give
that if somebody connects to port 5950. You can set up other screen
sizes accessible on other ports.
There's some stuff about all this in the VNC docs IIRC.
....
> Any help would be appreciated. Please email suggestions to
> gary@'remove'vs-tech.com Please delete the 'remove' part to email...
> I don't want more spam from bots.
Note that your email address still appears as the author of the
message.
Retlak