Bitcoin Forum

Other => Beginners & Help => Topic started by: oo-oo on August 11, 2011, 01:58:19 AM



Title: Cant start mining - X problem - 3 BTC OF REWARD
Post by: oo-oo on August 11, 2011, 01:58:19 AM
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


Title: Re: Cant start mining - X problem - 1 BTC OF REWARD
Post by: moocow1452 on August 11, 2011, 02:21:57 AM
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.


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: oo-oo on August 12, 2011, 12:48:44 AM
Stills the same.


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: jh1523 on August 12, 2011, 03:52:41 AM
I realize this isn't exactly the reply you're asking for, but you could give BAMT (https://bitcointalk.org/index.php?topic=28967.0) 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.


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: kjj on August 12, 2011, 04:00:08 AM
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.


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: aldiyen on August 12, 2011, 04:04:21 AM
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?


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: aldiyen on August 12, 2011, 04:08:19 AM
also, try: export DISPLAY=0.0


Title: Re: Cant start mining - X problem - 3 BTC OF REWARD
Post by: broken on August 12, 2011, 11:06:25 AM
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.