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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |