Post
Topic
Board Mining
Re: Mining oddities that I've accepted. (Unless you can solve 'em!)
by
einsteinx2
on 23/06/2011, 19:26:54 UTC
  • Monitoring and remote management:
    • If you try to run aticonfig or launch a miner over SSH, it won't work because the ssh session's "display" doesn't have a GPU
    • If you have a GNU screen session open on the machine, you can resume this session over SSH and have full control of everything that screen session had when it was first initialized
    I've come to accept that you need to start a GNU screen session first and then do everything inside it if you want to be able to remotely manage things
All you have to do when you get the "can't run without an X display" error, is add DISPLAY=:0 at the beginning of the command. So take an aticonfig command like setting the fan speed that needs to be run from within an X session. Just run DISPLAY=:0 aticonfig --pplib-cmd "set fanspeed 0 80" and it will work fine. Also, another pro-tip, for commands that use --pplib-cmd, if you want to set your second card, you have to put DISPLAY=:0.1 at the beginning or it will fail.