<p>I had the same issue with my R290 cards and was able to have them work after initialiazing xinit:</p>

<p>Create an xinit file:</p>

<pre><code>sudo vi /etc/init.d/xinit
</code></pre>

<p>Put inside:</p>

<pre><code>#!/bin/bash
# standard functions library
. /lib/lsb/init-functions
# Start the xinit
start() {
        # Start xinit on background and redirect stdout and stderr to log file
        echo "Starting xinit"
        xinit &amp;&gt; /var/log/xinit.log &amp;
}
# Restart the xinit
stop() {
        echo "Stopping xinit"
        killall xinit
}
### main logic ###
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status xinit
        ;;
  restart|reload|condrestart)
        stop
        start
        ;;
  *)
        echo $"Usage: $0 {start|stop|restart|reload|status}"
        exit 1
esac
exit 0
# end of file
</code></pre>

<p>ESC :wq  ==> to save and quit vi editor</p>

<p>Then make this script executable and set it up for automatic startup.</p>

<pre><code>sudo chmod +x /etc/init.d/xinit 
sudo update-rc.d xinit defaults 90

export DISPLAY=:0
echo export DISPLAY=:0 &gt;&gt; ~/.bashrc

sudo reboot
</code></pre>

<p>It worked for me!</p>

<p>BTC: 1KsRn32jBwA21fLyVMdVWdGLxAa3vo82Zy</p>

<p>LTC: LQC2cfKFNri8AHeME6QQqVeB4BD6tQEdDE</p>

<p>P.S. xinit setup taken from <a href="http://infi.wikidot.com/blog:1" rel="nofollow">http://infi.wikidot.com/blog:1</a> </p>

CC BY-SA 3.0
2014-01-19T10:21:16.343Z
Are you listing your addresses for btc and ltc hoping for donations?
Tom Stickel
CC BY-SA 3.0
2014-01-18T21:19:44.697Z
2014-01-18T21:19:44.697Z
Aedes
<p>Running Ubuntu 13.10. When I hook up the card to a monitor through HDMI, cgminer detects the card. When I unplug the HDMI cable from the monitor, the system throws a blank screen. I can ssh in from another computer, but when I run cgminer, cgminer tells me that the card isn't detected:</p>

<ul>
<li>"clDevicesNum returned error, no GPUs usable"</li>
<li>"0 GPU devices max detected"</li>
</ul>

<p>From various online forums, people have stated that dummy plugs won't work on the R9 290x because this card has only digital inputs (AMD got rid of analog), so the resistor trick won't work here even with DVI-VGA passive adapters.</p>

<p>Furthermore, people have said that with newer cards like mine, dummy plugs aren't necessary.</p>

<p>The only difference I see is that I'm using ubuntu while the people in the forums were using Windows 7 or 8. However, I'm using Catalyst 13.12, so I should be good?</p>

<p>What am I doing wrong? Can someone help me?</p>

<litecoin><ubuntu><linux>
Help - Running R9 290x graphics card headless in Linux
user12355
# Help - Running R9 290x graphics card headless in Linux

(Asked by: username_0 on 2014-01-18)

Running Ubuntu 13.10. When I hook up the card to a monitor through HDMI, cgminer detects the card. When I unplug the HDMI cable from the monitor, the system throws a blank screen. I can ssh in from another computer, but when I run cgminer, cgminer tells me that the card isn't detected:

* "clDevicesNum returned error, no GPUs usable"
* "0 GPU devices max detected"

From various online forums, people have stated that dummy plugs won't work on the R9 290x because this card has only digital inputs (AMD got rid of analog), so the resistor trick won't work here even with DVI-VGA passive adapters.

Furthermore, people have said that with newer cards like mine, dummy plugs aren't necessary.

The only difference I see is that I'm using ubuntu while the people in the forums were using Windows 7 or 8. However, I'm using Catalyst 13.12, so I should be good?

What am I doing wrong? Can someone help me?

**Tags:** litecoin, ubuntu, linux


---

## 1 answers

### Answer by username_1 on 2014-01-18. Score: 1

I had the same issue with my R290 cards and was able to have them work after initialiazing xinit:

Create an xinit file:

```
sudo vi /etc/init.d/xinit

```

Put inside:

```
#!/bin/bash
# standard functions library
. /lib/lsb/init-functions
# Start the xinit
start() {
        # Start xinit on background and redirect stdout and stderr to log file
        echo "Starting xinit"
        xinit &> /var/log/xinit.log &
}
# Restart the xinit
stop() {
        echo "Stopping xinit"
        killall xinit
}
### main logic ###
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  status)
        status xinit
        ;;
  restart|reload|condrestart)
        stop
        start
        ;;
  *)
        echo $"Usage: $0 {start|stop|restart|reload|status}"
        exit 1
esac
exit 0
# end of file

```

ESC :wq ==> to save and quit vi editor

Then make this script executable and set it up for automatic startup.

```
sudo chmod +x /etc/init.d/xinit 
sudo update-rc.d xinit defaults 90

export DISPLAY=:0
echo export DISPLAY=:0 >> ~/.bashrc

sudo reboot

```

It worked for me!

BTC: 1KsRn32jBwA21fLyVMdVWdGLxAa3vo82Zy

LTC: LQC2cfKFNri8AHeME6QQqVeB4BD6tQEdDE

P.S. xinit setup taken from <http://infi.wikidot.com/blog:1>

> **Comments:**
> **username_2**: Are you listing your addresses for btc and ltc hoping for donations?  

---

