# xmonad

**URL:** <https://forums.suse.com/t/xmonad/22731>\
**Category:** SUSE Studio / Studio Express\
**Created:** [June 9, 2012, 3:36am UTC](https://forums.suse.com/t/xmonad/22731 "2012-06-09T03:36:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [June 9, 2012, 3:36am UTC](https://forums.suse.com/t/xmonad/22731/1 "2012-06-09T03:36:02Z")

</div>

I come here seeking the guidance and sage wisdom of those who have  
traveled this path before. 🙂

I am trying to create an appliance with xmonad configured as the  
default window manager, but have failed miserably multiple times.

My config:

-Minimal X  
-add huskell and home:hgraeber:haskell 12.1 repos  
-choose the ghc and xmonad packages  
-add ~/.xinitrc containing “exec xmonad”  
-add default ~/.xmonad/xmonad.hs config file

The graphical login (with xdm) would keep restarting upon logging in,  
so I changed it to console login. I then tried startx, only to fail  
with a message recommending I chmod 4755 /usr/bin/Xorg and try again. I  
comply, then try startx again.

It teases as if it’s going to work, then kicks me back to the command  
line with the following errors:

(EE) AIGLX error: dlopen of /usr/lib/dri/swrast\_dri.so failed  
(/usr/lib/dri/swrast\_dri.so: cannot open shared object file: No such  
file or directory)  
(EE) GLX: could not load software renderer  
(EE) QEMU 0.12.1 QEMU USB Tablet: failed to initialize for relative  
axes.

I’m new to the whole SUSE/non-Debian world, so I’m hoping there’s a  
simple “you are simply missing these packages, young Padawan”-type  
answer.

Any help will be greatly appreciated.

## – cureadvocate

cureadvocate’s Profile: [http://forums.opensuse.org/member.php?userid=68378](http://forums.opensuse.org/member.php?userid=68378)  
View this thread: [http://forums.opensuse.org/showthread.php?t=475941](http://forums.opensuse.org/showthread.php?t=475941)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 9, 2012, 8:36pm UTC](https://forums.suse.com/t/xmonad/22731/2 "2012-06-09T20:36:02Z")

</div>

cureadvocate;2468230 Wrote:[color=blue]

> It teases as if it’s going to work, then kicks me back to the command  
> line with the following errors:[/color]  
> (EE) AIGLX error: dlopen of[color=blue]  
> /usr/lib/dri/swrast\_dri.so failed (/usr/lib/dri/swrast\_dri.so: cannot  
> open shared object file: No such file or directory)  
> (EE) GLX: could not load software renderer  
> (EE) QEMU 0.12.1 QEMU USB Tablet: failed to initialize for relative  
> axes.  
> [/color]

The Mesa package fixes the first two errors–the third doesn’t matter,  
as the same error occurs when ~/.xinitrc ends in -exec icewm- and  
launches successfully. Off to #xmonad!

## – cureadvocate

cureadvocate’s Profile: [http://forums.opensuse.org/member.php?userid=68378](http://forums.opensuse.org/member.php?userid=68378)  
View this thread: [http://forums.opensuse.org/showthread.php?t=475941](http://forums.opensuse.org/showthread.php?t=475941)
