I recently installed Arch, as a desktop environment I chose Budgie desktop and I would like to run without any display manager.

But sometimes I encounter an issue where when I log in and exec startx, it tries to initialize the desktop environment, I can even see my desktop background for a second but then it crashes to the terminal again. It shows up a picture with sad smile telling:
"Oh no!" "Something has gone wrong."

The only message I get in terminal is:

Fatal server error:
Xf86EnableIOPorts: Failed to set IOPO for I/O (operation not permitted)

Actually I found out the failure occurs before this error. Sometimes this error even shows up when the Xorg starts up normally and I log out...

I can startx without any problem when running as root!
(The only difference is different configuration of my theme etc..)

Here is what my .xinitrc looks like:



# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 unset f

#exec gnome-session --session=gnome-classic

exec budgie-desktop

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login

The system file in /etc/X11/xinit/xinitrc looks exactly the same.

Here is my Xorg log: http://pastebin.com/ViA4xUTD

I'm running on ASUS Zenbook ux303 laptop with Intel Skylage 6500U and with NVIDIA 940M GPU. I don't know if it is relevant information or not but I think I think it's worth it to mention.

  • In case this Budgie wrapper has some issue, does exec gnome-session instead of exec budgie-desktop (and without export XDG_CURRENT_DESKTOP=Budgie:GNOME) work? – Tom Yan Mar 11 '16 at 8:20
  • @TomYan I don't know what happend over night but when I turned on my laptop this morning, I could see loading kernel and then black screen only. I started the kernel with nomodeset parameter and I can now log in but when I startx, it throws me no screens found. So now I have to solve this issue first. – ProXicT Mar 11 '16 at 10:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.