You are not logged in.
Pages: 1
After recent updates, my Xmonad does not start up anymore:
$ xmonad
xmonad-i386-linux: user error (openDisplay)
xmobar: user error (openDisplay)
In some other thread people suggest reinstalling Xmonad and Xmonad-Contrib.
I...
a) -Rsncd'ed everything (inculding GHC and the haskell packages)
b) -Sy'ed xmonad and xmonad-contrib (gave error messages with some registering)
c) -Sy'ed xmonad (gave an error with some registering regarding -contrib)
d) -Sy'ed xmonad-contrib
d) -Rnscd'ed everything again
e) -Sy'ed xmonad (worked)
f) -Sy'ed xmonad-contrib (worked)
a) through f) I xmonad --recompile'd the whole thing over and over (no errors).
So........ everything seems to be just fine, just that Xmonad does not like something (yeah, X works... I am writing this with KDE4 right now).
EDIT: !!!!!! Dammit, please move this to Desktop Enviroments...!!!!!!!!!!!!
Also, here is the output of my ghc-pkg list:
$ sudo ghc-pkg list
/usr/lib/ghc-6.10.4/./package.conf:
Cabal-1.6.0.3, HUnit-1.2.0.3, QuickCheck-1.2.0.0, X11-1.4.6.1,
X11-xft-0.3, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0,
bytestring-0.9.1.4, containers-0.2.0.1, directory-1.0.0.3,
(dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),
(dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),
extensible-exceptions-0.1.1.0, filepath-1.1.0.2, (ghc-6.10.4),
ghc-prim-0.1.0.0, haddock-2.4.2, haskell-src-1.0.1.3,
haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1,
mtl-1.1.0.2, network-2.2.1.2, old-locale-1.0.0.1, old-time-1.0.0.2,
packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1,
pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,
regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
rts-1.0, stm-2.1.1.2, syb-0.1.0.1, template-haskell-2.3.0.1,
time-1.1.4, unix-2.3.2.0, utf8-string-0.3.5, xhtml-3000.2.0.1,
xmonad-0.9, xmonad-contrib-0.9
Last edited by Stalafin (2009-11-06 13:52:34)
Offline
Although I would think that this step would be already covered by one of the above, try deleting the binary in ~/.xmonad (that's what helped me when xmonad didn't want to start after the last update).
Offline
yeah, you did every "starting over" thing possible except rm -rf ~/.xmonad.
in this order:
save your xmonad.hs (if you have one).
do your reinstall thing if you want
rm -r ~/.xmonad
start xmonad and make sure it works (it should)
then restore xmonad.hs and M-q
good luck. through some ghc or haskell-x11 upgrades i've often had to rebuild xmonad and xmonad-contrib, but i use darcs from AUR so i dunno.
Last edited by brisbin33 (2009-11-06 15:43:49)
//github/
Offline
How exactly are you starting it?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Try just deleting ~/.xmonad/xmonad-i386-linux - it gets re-created if it's not there.
I had a problem starting xmonad after the last update, and that's what fixed it for me.
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline
Same problem.
Offline
I didn't have a .xmonad directory from the beginning and am getting this error.
Also tried building xmonad-darc from aur with same issue.
-Brad
Last edited by brahan (2009-11-16 17:38:05)
Bradley Hanna (brahan)
brahandevel@gmail.com
Offline
I don't see where this was addressed previously so... the wiki (http://wiki.archlinux.org/index.php/Xmo … figuration) states that running
xmonad --recompile
will create the ~/.xmonab file. This was not the case for me. I had to create the file myself and copy xmonab.hs to it before I could recompile. After recompile everything worked.
Last edited by brahan (2009-11-16 18:30:45)
Bradley Hanna (brahan)
brahandevel@gmail.com
Offline
Hey Guys,
I'm also getting the following error when I run `xmonad` from a non-X terminal:
xmonad-i386-linux: user error (openDisplay)
I've run into this same error on two separate installs of Arch. I've got Xorg installed with a default configuration (Xorg -configure), and both xmonad and xmonad-contrib installed.
I too was experiencing the issue where xmonad would not automatically generate the ~/.xmonad directory, or without a basic xmonad.hs in that directory:
import XMonad
main=do
xmonad $ defaultConfig
{ terminal = "urxvt"
, modMask = mod4Mask
, borderWidth = 3
}
I've tried removing the xmonad-i386-linux binary, and still get the same issue over and over again. The xmonad --recompile method has also been completely ineffective here.
Any help that you guys could give me (a longtime debian/ubuntu guy but Arch n00b) would be much appreciated.
Thanks!
Last edited by mkzzn (2010-06-21 07:55:51)
Offline
Hey Guys,
I'm also getting the following error when I run `xmonad` from a non-X terminal:
xmonad-i386-linux: user error (openDisplay)
Thanks!
pebcak
You can't start xmonad without running X.
echo "exec xmonad" > ~/.xinitrc && startx
or
xinit xmonad
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Hey Mr.Elendig,
Thanks for the help. Just figured this one out -- I was under the impression that xmonad would launch x, but I suppose this is why Arch is in an of itself a learning experience.
I've already got a couple more questions about using xmonad, but I haven't done sufficient research yet to post here on it.
Cheers!
Offline
Pages: 1