You are not logged in.

#1 2013-05-22 21:26:53

joesmoe10
Member
Registered: 2013-04-13
Posts: 9

Awesome fails to load from startx

Hi,

I just did a fresh install of Arch and I'm trying to setup awesome as my desktop manager with .xinitrc.

When I 'startx', the awesome desktop flashes and then closes X and I get the terminal back.

X works, if I use xterm instead of 'exec awesome', I get a graphical terminal.

I copied the default awesome config from /etc/xdg/awesome/rc.lua to ~/.config/awesome/rc.lua.  I also tried just deleting the local config.  Both options produced the same error.

The stderr from Awesome is:

(process:3752): Pango-WARNING **: failed to chose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
/usr/share/asweome/lib/wibox/init.lua:107: invalid height
/usr/share/asweome/lib/wibox/init.lua:107: invalid height
/usr/share/asweome/lib/wibox/init.lua:107: invalid height
E: awesome: main:524: couldn't find any rc file

My ~/.xinitrc is:

/usr/bin/VBoxClient-all

/usr/bin/awesome -c ~/.config/awesome/rc.lua > ~/.cache/awesome/stdout 2> ~/.cache/awesome/stderr

"grep EE /var/log/Xorg.0.log" produces

[  1254.492] Current Operating System: Linux abe 3.9.3-1-ARCH #1 SMP PREEMPT Sun May 19 22:50:29 CEST 2013 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1254.510] Initializing built-in extension MIT-SCREEN-SAVER
[  1254.525] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  1254.525] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1254.536] (EE) VBoxVideo(0): Disabling DRI due to missing server functionality.
[  1254.541] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[  1254.609] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: TOUCHSCREEN, id 8)
[  1254.609] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: TOUCHSCREEN, id 9)

I tested the config with awmtt with the default startx environment (by moving my .xinitrc to .xinitrc.bak).

Awesome appeared and stayed, but there was no menubar on top and I couldn't pass keyboard or mouse input to awesome.

I tried using awesome-git from AUR, but the problem remained.

Some general information about my system:
I'm running Arch as a guest on Virtualbox.

Offline

#2 2013-05-30 19:16:02

evraamsdonk
Member
Registered: 2013-05-30
Posts: 5

Re: Awesome fails to load from startx

Hi,

I was just having the exact same problem.
I had a look at the code mentioned in the log (/usr/share/asweome/lib/wibox/init.lua:107), which seems to be the wibox constructor. I then tried adding a height parameter to my rc.lua and that fixed it.

So specifically, in my rc.lua (which is the default one installed in /etx/xdg/awesome/) I changed this line:

mywibox[s] = awful.wibox({ position = "top", screen = s })

to this:

mywibox[s] = awful.wibox({ height = 24, position = "top", screen = s })

Now awesome does load correctly (although something seems wrong with the font... I'll try to figure that out next).

What I still don't understand is why the wibox constructor in my new arch installation needs a 'height' parameter, while my other arch installation, which also uses awesome, doesn't. They're both completely up to date.

Anyway, I hope that fixes it for you as well.

Cheers,
Ewoud

Offline

#3 2013-05-31 00:49:26

joesmoe10
Member
Registered: 2013-04-13
Posts: 9

Re: Awesome fails to load from startx

I went the nuclear route and created a new Arch install and it works now.   It's rather baffling why the exact same Awesome config does different things.

Offline

Board footer

Powered by FluxBB