Setting up VNC Server

This is a discussion on Setting up VNC Server within the Linux Networking forums, part of the Linux Forums category; Hello, I am new to Linux, and have just installed Mandrake Community 10.1 Linux. I want to use linux ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-11-2004
Gary Vassalotti
 
Posts: n/a
Default Setting up VNC Server

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
  #2 (permalink)  
Old 10-11-2004
Roger Brown
 
Posts: n/a
Default Re: Setting up VNC Server

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
robrown@melbpc.org.au
http://rogerbrown.no-ip.org
Reply With Quote
  #3 (permalink)  
Old 10-11-2004
Retlak
 
Posts: n/a
Default Re: Setting up VNC Server

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
Reply With Quote
  #4 (permalink)  
Old 10-11-2004
Gary Vassalotti
 
Posts: n/a
Default Re: Setting up VNC Server

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.




retlak@go.com (Retlak) wrote in message news:<4e9c40c6.0410102247.76d65953@posting.google. com>...
> 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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0