Post
Topic
Board Mining
Re: Mining oddities that I've accepted. (Unless you can solve 'em!)
by
CentroniX
on 24/06/2011, 02:52:46 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 GP

If you are running LinuxCoin, you can try this (you have to be root)

Create a file called "env.sh" containing what follows

Code:

#!/bin/bash

ID=`ps axf | grep '\_ lxpanel' | grep -v grep | awk '{print $1}' | head -1`
cat /proc/$ID/environ | tr '\000' '\012' | grep -v PATH | grep -v SUDO | grep -v TERM | grep -v PWD | grep -v _= | sed -e 's/^/export /'


then, in your shell, type:

Code:
bash env.sh >TEMP
source TEMP

you should then be able to launch your miners
and the AMD control utility from an ssh session.


Or, you could just add
Code:
export DISPLAY=:0
to your .bashrc script that is sourced every time you login. All of my miners are offsite, and I have no problems launching mining clients on any of them without jumping through all those hoops! Unless there's something specific in LinuxCoin that requires all that; I personally use Ubuntu.

cent