Results 1 to 6 of 6
Hi guys,
I need to create a start up service for x11vnc so the terminal doesn't have to be open all the time, otherwise users will have to go to ...
- 08-24-2007 #1Just Joined!
- Join Date
- Aug 2007
- Location
- Suffolk
- Posts
- 21
Creating start up services?
Hi guys,
I need to create a start up service for x11vnc so the terminal doesn't have to be open all the time, otherwise users will have to go to the server open the GNOME terminal and type 'ASTPBX-FAILOVER# x11vnc -display :0'.
If anyone knows the answer that would be great if you could let me know
The server is using SuSe 10.5.
Thanks,
Alex
- 08-24-2007 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You can add a service using the chkconfig command. Remember though that an application running as a service will run as root - if you want to avoid security problems and ensure that the user can talk to the service you might be better putting it in their startup script. Check either /etc/profile or ~/.bashrc
- 08-24-2007 #3Just Joined!
- Join Date
- Aug 2007
- Location
- Suffolk
- Posts
- 21
- 08-24-2007 #4Just Joined!
- Join Date
- Aug 2007
- Location
- Suffolk
- Posts
- 21
I've used that command just as:
# chkconfig
And it has displayed a long list of programs/services? And if they are on or off, so I'm not to sure what I am doing!
Help BigTomRodney!
- 08-24-2007 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You need to add a switch to do it -
You can check the syntax using man chkconfigCode:chkconfig --add servicename
- 08-24-2007 #6Just Joined!
- Join Date
- Aug 2007
- Location
- Suffolk
- Posts
- 21
Hi again,
When I try and start the x11vnc program as a service it just says unknown service?
Thanks,


Reply With Quote
