Setting up VNC as a service

Hi all,

Question: Many times I wondered why is there a vnc service and why does it always fail on startup?

Answer: Simple configuration of the /etc/sysconfig/vncservers

Examples:

this sets up a remote desktop service for user ‘john’ with a resolution of 1024×768

edit /etc/sysconfig/vncservers

VNCSERVERS="2:john"

VNCERSVERARGS=[2]="-geometry 1024x768"

If you want more than one user to have access, do the following:

VNCSERVERS="2:john 3:paul 4:harry"

VNCSERVERARGS[3]="-geometry 800x600"

VNCSERVERARGS[4]="-geometry 1600x1200"

That’s it.

Restart your vnc service and add it to the startup line:

/etc/init.d/vncserver restart

chkconfig vncerver on

Enjoy

DogsBoutique Doing Well

Sales are up and we have the pooch of the month competition prize winner in.

Murphy, the ex RAF Spaniel won the competition this month.

Congratulations Murphy – looking forward to seeing you in store soon.

Setting up two printers on a single machines

If you have only one parallel port and need to connect two printers check to see if one has an ethernet port with an RJ45 connector, if so here is what you do:

Connect up your parallel port printer as needed and install as neccesary with drivers and such.

Find yourself a cross-over cable and and extra ethernet card, and manually connect up the second printer to the new network card.

Manually configure the second ‘Local Area Network Connection’.

Most probably the following setting will work on a Windows~ machine.

IP 192.168.2.1

Subnet 255.255.255.0

Gateway 0.0.0.0

DNS: <leave empty>

Follow the instructions to setup your ethernet card connected printer with the following configuration:

IP 192.168.2.2

Subnet 255.255.255.0

Gateway 0.0.0.0

Now add the new printer by Control Panel > Printers and Faxes, choose Local Printer but do not click the attached directly button.

Click next and then create your own port at the bottom by chooing TCP/IP.

Click next and just type 192.168.2.2 in the IP Address box.

Click next and you should instanty be shown the new printer successful install page – click Finish to Finish.

Thats the best way, you can then share those printers on your locally connected network. The serial pors for printers are useless and parallel port switch boxes are just very inconvenient on a network with more than one PC or laptop.

Enjoy