Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setting up VNC Server

Reply
Thread Tools Display Modes

Setting up VNC Server

 
 
Gary Vassalotti
Guest
Posts: n/a

 
      10-11-2004, 01:45 AM
Hello,

I am new to Linux, and have just installed Mandrake Community 10.1
Linux.

I want to use linux on my machine that i have set up to do email
filtering, file printing, and other backgroud tasks on my
home/business network. The machine that I use for these tasks does
not have a monitor, so I use VNC to 'see' what is going on with the
machine in place of the monitor.

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?

I have also set up linux on one of my main machines so that I can test
it and learn how to use it effectively as I am tired of system
crashes.

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.

Thanks.
 
Reply With Quote
 
 
 
 
Roger Brown
Guest
Posts: n/a

 
      10-11-2004, 02:28 AM
Gary Vassalotti wrote:

> Can*some*one*tell*me*how*you*set*up*software
> to start automaticly on boot up in the linux system?


Among other ways, put the appropriate command in your
/etc/rc.d/rc.local

--
Roger Brown
(E-Mail Removed)
http://rogerbrown.no-ip.org
 
Reply With Quote
 
Retlak
Guest
Posts: n/a

 
      10-11-2004, 06:47 AM
(E-Mail Removed) (Gary Vassalotti) wrote in message news:<(E-Mail Removed). 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
 
Reply With Quote
 
Gary Vassalotti
Guest
Posts: n/a

 
      10-11-2004, 12:20 PM
Thanks for the help... I will try it out today.

And, yes, my email address did appear in the message header... I
switched internet providers and haven't gotten their news server
settings yet so I used google to post the message. And google puts
your email address at the top. Oh well, too late for hiding the email
now.




(E-Mail Removed) (Retlak) wrote in message news:<(E-Mail Removed). com>...
> (E-Mail Removed) (Gary Vassalotti) wrote in message news:<(E-Mail Removed). 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting up a VPN server Paul Smith Windows Networking 14 12-30-2008 02:07 PM
Setting up VPN server Chris Watts Home Networking 9 12-16-2005 08:10 PM
Setting FTP server BENJAMIN Broadband Hardware 2 03-18-2005 04:44 PM
Setting up an FTP Server behind a MN-700 Jason Broadband Hardware 3 07-21-2004 03:30 PM
Setting up INN server Subba Rao Linux Networking 4 07-05-2003 03:59 PM



1 2 3 4 5 6 7 8 9 10 11