Author

Topic: xhost: unable to open display ":0" Paying .2 BTC to whoever can help me. (Read 5643 times)

member
Activity: 70
Merit: 10
A tough dogie
OK.

Have you tried something like this:

Quote
sudo su
chmod uog+rw /dev/ati/card*
xauth merge /home/user/.Xauthority
export DISPLAY=:0
aticonfig --odgc --adapter=all


Yea, it still only lasts for one session though. Thanks for the help btw


sr. member
Activity: 266
Merit: 250
OK.

Have you tried something like this:

Quote
sudo su
chmod uog+rw /dev/ati/card*
xauth merge /home/user/.Xauthority
export DISPLAY=:0
aticonfig --odgc --adapter=all
member
Activity: 70
Merit: 10
A tough dogie
Try this:
Quote
rm ~/.Xauthority*

This seems to be doing the trick, however it's only doing it for one session. Then I have to remove and reboot again
sr. member
Activity: 462
Merit: 262
Try:
 
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
 
sudo aticonfig --adapter=all --odgt


Courtesy of Oizopower
sr. member
Activity: 266
Merit: 250
Have you tried restarting after removing it first?
member
Activity: 70
Merit: 10
A tough dogie
Try this:
Quote
rm ~/.Xauthority*


jason@Miner-2:~$ rm ~/.Xauthority*
rm: remove write-protected regular file ‘/home/jason/.Xauthority’? y
jason@Miner-2:~$ sudo DISPLAY=:0.0 aticonfig --adapter=all --odgt
No protocol specified
ERROR - X needs to be running to perform AMD Overdrive(TM) commands

I also tried relogging into SSh after removing it, same error
sr. member
Activity: 266
Merit: 250
Try this:
Quote
rm ~/.Xauthority*
member
Activity: 70
Merit: 10
A tough dogie
Looks like you dont have xinit running?


root@Miner-2:~# ps aux | grep X11
jason     1426  0.0  0.0   4396   656 ?        Ss   18:04   0:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
root      2179  0.0  0.0  13600   928 pts/2    S+   18:04   0:00 grep --color=auto X11


I do though....

Oizopower respons (stuck in newbie jail):
Try "DISPLAY=:0.0 aticonfig --adapter=all --odgt" without the ""
or maybe add sudo if you are not root.

Still getting errors about X, yet it clearly shows its running

jason@Miner-2:~$ ps aux | grep X11
jason     2250  0.0  0.0   9440   936 pts/0    S+   20:28   0:00 grep --color=au                               to X11
jason@Miner-2:~$ DISPLAY=:0.0 aticonfig --adapter=all --odgt
No protocol specified
aticonfig: This program must be run as root when no X server is active
jason@Miner-2:~$ sudo DISPLAY=:0.0 aticonfig --adapter=all --odgt
[sudo] password for jason:
Invalid MIT-MAGIC-COOKIE-1 keyERROR - X needs to be running to perform AMD Overdrive(TM) commands
jason@Miner-2:~$

sr. member
Activity: 462
Merit: 262
Looks like you dont have xinit running?


root@Miner-2:~# ps aux | grep X11
jason     1426  0.0  0.0   4396   656 ?        Ss   18:04   0:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
root      2179  0.0  0.0  13600   928 pts/2    S+   18:04   0:00 grep --color=auto X11


I do though....

Oizopower respons (stuck in newbie jail):
Try "DISPLAY=:0.0 aticonfig --adapter=all --odgt" without the ""
or maybe add sudo if you are not root.
member
Activity: 70
Merit: 10
A tough dogie
Looks like you dont have xinit running?


root@Miner-2:~# ps aux | grep X11
jason     1426  0.0  0.0   4396   656 ?        Ss   18:04   0:00 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
root      2179  0.0  0.0  13600   928 pts/2    S+   18:04   0:00 grep --color=auto X11


I do though....
sr. member
Activity: 462
Merit: 262
Looks like you dont have xinit running?
member
Activity: 70
Merit: 10
A tough dogie
Paying .2 BTC to whoever can help me.
member
Activity: 70
Merit: 10
A tough dogie
Hey guys, so I've been setting up my first bitcoin miners the last few days, however, after finally getting everything installed and getting SSH running on the machine, I'm now running into these errors.

I'm using x3 Radeon 7950 GPU's on Xubuntu on a headless setup and connecting via SSH.

Code:
root@Miner-2:~# sudo aticonfig --adapter=all --odgt
No protocol specified
ERROR - X needs to be running to perform AMD Overdrive(TM) commands

I keep getting this error when I run this command in SSH, but when I hook up the monitor and try the commands directly it runs the commands just fine. So I'm thinking it might have something to do with my SSH setup....



I looked around online and it said I should do the following..

Code:
root@Miner-2:~# export DISPLAY=:0
root@Miner-2:~# xhost +
No protocol specified
xhost:  unable to open display ":0"

However, this didn't seem to work either since it's also giving an error.



Please help! Any help is much appreciated!
Jump to: