starting script to run sony vaio jogdial in vector linux at boot
Hi, can someone help me with this, i want to load the drivers for my jogdial on my sony vaio laptop at boot....the jogdial works when i run the program from command but it's annoying to have to do that every time i boot up. i tried editing the rc.d/local file and it says that it loads and the jogdial works at boot but it stops booting as soon as the sony vaio jodial driver loads and says on the next line cannot start display, i also tried adding the & symbol to make it run in background and system completely boots but jogdial yet again will not work unless i run program from command...what do i have to do to get this to work at boot..help please
|
What is the command you use to load the drivers for the jogdial and what is the exact error message?
|
the command i use is sonypid. I compiled the program from a site i found on google and the jogdial works fine when i run it in command then close the command window but doesn't stick when i reboot, when i edited my rc/local file and added the path for it and rebooted, i get the error cannot open display
|
It sounds as if sonypid tries to start a GUI and that is failing when rc.local is run because nobody has logged on at the graphical logon prompt (maybe the graphical logon prompt hasn't appeared at that time either).
Would you be OK with enabling the jogdial at logon instead of at boot? If so, you could autostart it when the desktop initialises. Exactly how to do that depends on which desktop you are using. |
yes, id be fine with that, how would i go about doing that
|
im using the xfce desktop
|
Menu -> Settings -> Session and Startup -> Application Autostart: Add
|
ok, i tried that and it still doesn't load at startup, unless i open command, go into su mode and run the sonypid command
|
sonypid uses a GUI but has to be run by root?! Are there any usage instructions for it? A man page? A --help option? A usage message when it is given a wrong option?
|
All times are GMT -5. The time now is 07:59 PM. |