problems with starting vnc using xinetd
Steven Dahlin
steven.dahlin "at" gmail.com
Wed Nov 8 21:25:01 2006
I have created a vnc startup/shutdown script in the /etc/init.d directory
and enabled it with insserv. I have tried several variants but encounter a
couple problems which are not mentioned in various responses on the list.
First if I call vncserver directly like so:
case "$1" in
start)
vncserver :2
Then it requests a password.
If instead I execute the following:
su - root -c "vncserver :2"
Then I get back a message that there is no valid license. However, when run
from the prompt it works perfectly fine. I also added "vnclicense -list"
and it came back with a message that there were no licenses. I have also
set it so the vnc script is called last by xinetd.
None of the examples seems to cover these possibilities. Does anyone have
any suggestions?
Steve