Roy Leith;684328 Wrote: 
> 
> In the end, I added the restart command to the KDE Autostart menu in
> System Settings/Startup Shutdown by popping the command into a script
> file called 'squeezeboxserver.sh'. As I am using the Logitech Media
> Server 7.7.1, I needed to change the command, appropriately.
> 
> By disabling kdewallet, the wifi connection starts up without a
> password and I set Session Management/Default Leave option to 'Turn Off
> Computer'. This way I can use the server computer in headless mode.
> Turning it on automatically logs into Kubuntu, a wifi connection and
> Logitech Media Server. A brief operation of the power button shuts it
> down after 30 seconds.
> 
> Regards
> Roy Leith

And it was a disaster! Just putting the command into Autostart did not
do the trick. It probably gave up, without superuser privileges. I
tried a bash script with a 20s sleep and that stopped the system dead.
I had to restart by leaning on the power button. I tried Task
Scheduler, but it would only allow personal tasks and the restart
command needs superuser privileges. I logged in as root and put a
system task in. I tried it out and it claimed to be restarting the
server, but it did not solve the problem. Running the command in a
terminal as root was fine.

I put xx at the beginning of the logitechmediaserver file in
/etc/init.d. Even though it ran after the network management daemon, it
was still too early. I am now stumped. 

For now, I will turn on the television I am using as a monitor and use
my launcher to restart the server as kdesudo superuser.

If anyone comes up with an effective way of running the Logitech Media
Server machine as a headless commodity device, I would love to hear
it!

Regards
Roy Leith


-- 
Roy Leith
------------------------------------------------------------------------
Roy Leith's Profile: http://forums.slimdevices.com/member.php?userid=35534
View this thread: http://forums.slimdevices.com/showthread.php?t=80714

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to