starting VNCserver at bootup

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
VariEze
Posts: 114
Joined: Thu 09 Feb 2006, 17:49
Location: Oregon
Contact:

starting VNCserver at bootup

#1 Post by VariEze »

Can anybody tell me what to put in
/etc/rc.d/rc.local
to get the vncserver to start at bootup?

I've tried

/root/my-applications/bin/vncserver -geometry 800x600

but it asks for a password, even though the password was set with vncpassword long ago.

Where and how do I direct it to the password file?

--Karl

User avatar
Indy
Posts: 73
Joined: Wed 01 Feb 2006, 10:52
Location: Sydney, Australia

#2 Post by Indy »

You can try editing .xinitrc instead (NB. I found these instructions elsewhere in the forum):

To autostart vncserver on boot (and run at 1024x768):

edit /root/.xinitrc
write at the end of file (before exec $CURRENTWM)

Code: Select all

vncserver :1 -geometry 1024x768 -depth 24
This works for me. Also, I've only had to set the password once.

You can invoke the TightVNC server manually through the menu [RemoteAccess] and change the password there.

Post Reply