dave
2009-07-08 15:45:42 UTC
I'm having a big problem getting VNC to start up at boot-time and
wonder if someone can help me with this pls?
I've done quiet a bit of looking around the forums etc and this seems
a very popular topic :-) but nothing I can do works for this.
I've set up Xvnc as a server (ubuntu 9.04) and that works just great
to a PC running the VNC client.
Tried many things inc simpleones like putting the shell cmd in
/etc/.rc.local (no go).
Things like editing this file was suggested:-
/etc/init.d/vncserver (but doesn't exist on my machine)
(adevice from:
fromhttp://faq.gotomyvnc.com/fom-serve/cache/86.html
The real way (afaik) seems to involve (x)inetd. I have only a basic
idea of the detail of this and it seem these demons are services which
launch/control other services (like VNC and ftp)? So maybe there's a
way for tell xinetd to do this task - but that's a lot (for a rel.
newbie) to learn just now I think
Something promising on a forum I came across said...
***start quote***
If you just want vncserver to start at system startup, you can just
add it to the correct runlevel: this will probably be
/etc/rc3.d/ (console login, not graphical, with networkin
support).
To make vncserver startup automatically just add a symlink here to
/etc/init.d/vncserver
# cd /etc/rc3.d
# sudo ln -s /etc/init.d/ vncserver S99vncserver
The number S99 just means it will be executed as the last program.
(numbering goes to 100). This way just makes vncserver start
automatically...
***End quote ***
Now I understand what a symlink is, but haven't clue what this link is
doing or how it's meant to work here! In fact, while I understand
sudo and ln the line as a whole is meaningless to me... help!
What is rc3.d ?
Considering I've only been using ubuntu for a few weeks, it feels like
I have learned a decent amount and am very pleased with how robust the
software is and the fantastic support esp form this NG. However, with
this particular problem I'm just going around in circles so would
really appreciate help on any of the above.
Thanks
wonder if someone can help me with this pls?
I've done quiet a bit of looking around the forums etc and this seems
a very popular topic :-) but nothing I can do works for this.
I've set up Xvnc as a server (ubuntu 9.04) and that works just great
to a PC running the VNC client.
Tried many things inc simpleones like putting the shell cmd in
/etc/.rc.local (no go).
Things like editing this file was suggested:-
/etc/init.d/vncserver (but doesn't exist on my machine)
(adevice from:
fromhttp://faq.gotomyvnc.com/fom-serve/cache/86.html
The real way (afaik) seems to involve (x)inetd. I have only a basic
idea of the detail of this and it seem these demons are services which
launch/control other services (like VNC and ftp)? So maybe there's a
way for tell xinetd to do this task - but that's a lot (for a rel.
newbie) to learn just now I think
Something promising on a forum I came across said...
***start quote***
If you just want vncserver to start at system startup, you can just
add it to the correct runlevel: this will probably be
/etc/rc3.d/ (console login, not graphical, with networkin
support).
To make vncserver startup automatically just add a symlink here to
/etc/init.d/vncserver
# cd /etc/rc3.d
# sudo ln -s /etc/init.d/ vncserver S99vncserver
The number S99 just means it will be executed as the last program.
(numbering goes to 100). This way just makes vncserver start
automatically...
***End quote ***
Now I understand what a symlink is, but haven't clue what this link is
doing or how it's meant to work here! In fact, while I understand
sudo and ln the line as a whole is meaningless to me... help!
What is rc3.d ?
Considering I've only been using ubuntu for a few weeks, it feels like
I have learned a decent amount and am very pleased with how robust the
software is and the fantastic support esp form this NG. However, with
this particular problem I'm just going around in circles so would
really appreciate help on any of the above.
Thanks