Author

Topic: Headless Linuxcoin script setup not working? (Read 903 times)

newbie
Activity: 9
Merit: 0
August 12, 2011, 09:02:22 PM
#4
Thanks for the suggestion.  I tried adding DISPLAY=:0 where you suggested but the same thing is happening Sad

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"
And I'm assuming your "auto.h" is a typo and you really meant "auto.sh".
Thanks a lot, it works now!
newbie
Activity: 47
Merit: 0
Thanks for the suggestion.  I tried adding DISPLAY=:0 where you suggested but the same thing is happening Sad

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"
And I'm assuming your "auto.h" is a typo and you really meant "auto.sh".
newbie
Activity: 9
Merit: 0
Thanks for the suggestion.  I tried adding DISPLAY=:0 where you suggested but the same thing is happening Sad

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
newbie
Activity: 9
Merit: 0
Hey everyone.  So I just put together my first mining rig yesterday and mostly everything is going pretty smoothly  Grin 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?
Jump to: