Title: Headless Linuxcoin script setup not working? Post by: xenon5 on August 12, 2011, 09:05:51 PM Hey everyone. So I just put together my first mining rig yesterday and mostly everything is going pretty smoothly ;D the only thing left to do is properly configure my miner to run headlessly. I followed the guide here:
http://www.linuxcoin.co.uk/wiki/index.php/Headless_Linuxcoin First I tried setting up the startminers.sh file exactly the first way specified, using ATIoverdriveCtrl. I followed the rest of the guide to the T. However, when I restarted my system, a blank terminal window popped up with just a white cursor block, then nothing happened. The blank terminal window just remained open. I tried making my own script using aticonfig and GUIMiner instead, but I'm having the same issue. my /home/user/auto.sh and /home/user/.config/autostart/auto.desktop files look exactly the same as they do in the tutorial. Here is what my custom /usr/local/bin/startminers.sh file looks like: Quote #!/bin/bash sudo aticonfig --od-enable sudo aticonfig --odsc="960,1200" --adapter=all sudo aticonfig --odcc --adapter=all gksu python /opt/miners/guiminer/guiminer.py Is there something I'm missing? Is there some other way to get my script to start after Linux boots? Title: Re: Headless Linuxcoin script setup not working? Post by: xenon5 on August 12, 2011, 11:00:21 PM Thanks for the suggestion. I tried adding DISPLAY=:0 where you suggested but the same thing is happening :(
just so I'm clear, the file at /home/user/auto.h looks like this: Quote #!/bin/bash xhost + echo $DISPLAY > /home/user/.display lxterminal --command "/usr/local/bin/startminers.sh" and at /home/user/.config/autostart/auto.desktop, it looks like this: Quote [Desktop Entry] Encoding=UTF-8 Name=coin Exec=lxterminal --command "home/user/auto.sh" Terminal=true Title: Re: Headless Linuxcoin script setup not working? Post by: pixilated8 on August 13, 2011, 12:58:51 AM Thanks for the suggestion. I tried adding DISPLAY=:0 where you suggested but the same thing is happening :( just so I'm clear, the file at /home/user/auto.h looks like this: Quote #!/bin/bash xhost + echo $DISPLAY > /home/user/.display lxterminal --command "/usr/local/bin/startminers.sh" and at /home/user/.config/autostart/auto.desktop, it looks like this: Quote [Desktop Entry] Encoding=UTF-8 Name=coin Exec=lxterminal --command "home/user/auto.sh" Terminal=true There needs to be a "/" before home Code: Exec=lxterminal --command "/home/user/auto.sh" Title: Re: Headless Linuxcoin script setup not working? Post by: xenon5 on August 13, 2011, 02:02:22 AM Thanks for the suggestion. I tried adding DISPLAY=:0 where you suggested but the same thing is happening :( just so I'm clear, the file at /home/user/auto.h looks like this: Quote #!/bin/bash xhost + echo $DISPLAY > /home/user/.display lxterminal --command "/usr/local/bin/startminers.sh" and at /home/user/.config/autostart/auto.desktop, it looks like this: Quote [Desktop Entry] Encoding=UTF-8 Name=coin Exec=lxterminal --command "home/user/auto.sh" Terminal=true There needs to be a "/" before home Code: Exec=lxterminal --command "/home/user/auto.sh" |