Author

Topic: Cant start mining - X problem - 3 BTC OF REWARD (Read 1868 times)

newbie
Activity: 55
Merit: 0
I had the same problem when trying to run aticonfig from a remote shell.

aticonfig needs to be run from an active X Session, meaning you need to run it from withing gnome or kde.
You should try if this works.
There is a workaround to run aticonfig from a remote shell by using a screen session.
Install screen:
apt-get install screen

Login to your GUI (gnome) and open a screen via terminal:

screen -dmS ati
(creates a new screen in detached mode with name "ati")

Open a remote connection (ssh, with same user as above) and run:

screen -r ati
(attaches to screen)

from within this screen you should be able to run aticonfig.
I added a startup script for gnome which automatically starts a screen on startup, so i dont need a monitor  for that computer.

UPDATE: I´m using ubuntu 10.04 for mining and not LinuxCoin. I dont know if LinuxCoin comes with gnome or kde. I couldn´t find a way to run aticonfig without gnome or kde.

If you need a startup script, i will post one.
newbie
Activity: 18
Merit: 0
also, try: export DISPLAY=0.0
newbie
Activity: 18
Merit: 0
user@linuxcoin:~$ sudo aticonfig --adapter=all --odgc
PuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedERROR - X needs to be running to perform ATI Overdrive(TM) commands

I followed this guide ( http://www.linuxcoin.co.uk/wiki/index.php/SSH_X11forwarding ), and its not working...

What im missing ?

3 BTC WHO DARE ME SOLVE THIS

did you do the "persistent way" or the "live way"? did you check the box to enable X11 forwarding in putty?
kjj
legendary
Activity: 1302
Merit: 1026
Use "sudo su" to become root, or just start the Root Terminal instead of LXTerminal.

If you are connecting remotely, you need a startup script to store the DISPLAY environment variable in a file so that you can "export DISPLAY=`cat /home/usr/.display`" when you SSH in.  Or, you have a very good chance of getting it with "export DISPLAY=:0"

This is all covered in the linuxcoin thread, but it is buried deep.
newbie
Activity: 56
Merit: 0
I realize this isn't exactly the reply you're asking for, but you could give BAMT (https://bitcointalksearch.org/topic/bamt-easy-persistent-usb-key-based-linux-for-dedicated-minersmining-farms-28967) a try. Easy to control remotely through ssh since you don't need to forward X - all the config is in a text file which you can edit in a CLI text editor such as nano.
newbie
Activity: 37
Merit: 0
Stills the same.
sr. member
Activity: 240
Merit: 250
Don't mind me.
My Linux ain't what it used to be, but why is PuTTY running if you're messing around with your GFX? If it's not used in your client for some ssh or telnet weirdness, freeze/uninstall it, then see what happens.
newbie
Activity: 37
Merit: 0
3 BTC WHO DARE ME SOLVE THIS

Hi, i have installed LinuxCoin and every time i try to use aticonfig i have this:

user@linuxcoin:~$ aticonfig --adapter=all --odgc
aticonfig: This program must be run as root when no X server is active

user@linuxcoin:~$ sudo aticonfig --adapter=all --odgc
PuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedPuTTY X11 proxy: wrong authorisation protocol attemptedERROR - X needs to be running to perform ATI Overdrive(TM) commands

I followed this guide ( http://www.linuxcoin.co.uk/wiki/index.php/SSH_X11forwarding ), and its not working...

What im missing ?

3 BTC WHO DARE ME SOLVE THIS
Jump to: