Bug 959169

Summary: awesome wm does not start
Product: [Fedora] Fedora Reporter: Pavlo Rudyi <paulcarroty>
Component: awesomeAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: ls, paulcarroty, sochotni, thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: awesome-3.5.1-4.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-09 03:33:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavlo Rudyi 2013-05-03 09:30:22 UTC
Description of problem:
Awesome don't start if run with ~/.xinitrc

Version-Release number of selected component (if applicable):
package: awesome.x86_64 3.5.1-2.fc19
  dependency: /bin/sh
   provider: bash.x86_64 4.2.45-1.fc19
  dependency: libX11-xcb.so.1()(64bit)
   provider: libX11.x86_64 1.5.99.901-2.fc19
  dependency: libX11.so.6()(64bit)
   provider: libX11.x86_64 1.5.99.901-2.fc19
  dependency: libXcursor.so.1()(64bit)
   provider: libXcursor.x86_64 1.1.13-4.fc19
  dependency: libc.so.6(GLIBC_2.14)(64bit)
   provider: glibc.x86_64 2.17-4.fc19
  dependency: libcairo.so.2()(64bit)
   provider: cairo.x86_64 1.12.14-1.fc19
  dependency: libdbus-1.so.3()(64bit)
   provider: dbus-libs.x86_64 1:1.6.8-5.fc19
  dependency: libev.so.4()(64bit)
   provider: libev.x86_64 4.11-2.fc19
  dependency: libgdk_pixbuf-2.0.so.0()(64bit)
   provider: gdk-pixbuf2.x86_64 2.28.1-1.fc19
  dependency: libglib-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.36.1-2.fc19
  dependency: libgobject-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.36.1-2.fc19
  dependency: liblua-5.1.so()(64bit)
   provider: lua.x86_64 5.1.4-12.fc19
  dependency: libm.so.6()(64bit)
   provider: glibc.x86_64 2.17-4.fc19
  dependency: libstartup-notification-1.so.0()(64bit)
   provider: startup-notification.x86_64 0.12-6.fc19
  dependency: libxcb-icccm.so.4()(64bit)
   provider: xcb-util-wm.x86_64 0.3.9-2.fc19
  dependency: libxcb-image.so.0()(64bit)
   provider: xcb-util-image.x86_64 0.3.9-2.fc19
  dependency: libxcb-keysyms.so.1()(64bit)
   provider: xcb-util-keysyms.x86_64 0.3.9-2.fc19
  dependency: libxcb-randr.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-render.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-shape.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-shm.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-util.so.1()(64bit)
   provider: xcb-util.x86_64 0.3.9-2.fc19
  dependency: libxcb-xinerama.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-xtest.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb.so.1()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxdg-basedir.so.1()(64bit)
   provider: libxdg-basedir.x86_64 1.2.0-3.fc19
  dependency: lua-lgi
   provider: lua-lgi.x86_64 0.7.1-1.fc19
  dependency: pango >= 1.19.3
   provider: pango.x86_64 1.34.0-1.fc19
   provider: pango.i686 1.34.0-1.fc19
  dependency: rlwrap
   provider: rlwrap.x86_64 0.37-5.fc19
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.17-4.fc19
   provider: glibc.i686 2.17-4.fc19
  dependency: startup-notification >= 0.10
   provider: startup-notification.x86_64 0.12-6.fc19
   provider: startup-notification.i686 0.12-6.fc19
  dependency: xterm
   provider: xterm.x86_64 292-1.fc19
package: awesome.x86_64 3.5.1-2.fc19
  dependency: /bin/sh
   provider: bash.x86_64 4.2.45-1.fc19
  dependency: libX11-xcb.so.1()(64bit)
   provider: libX11.x86_64 1.5.99.901-2.fc19
  dependency: libX11.so.6()(64bit)
   provider: libX11.x86_64 1.5.99.901-2.fc19
  dependency: libXcursor.so.1()(64bit)
   provider: libXcursor.x86_64 1.1.13-4.fc19
  dependency: libc.so.6(GLIBC_2.4)(64bit)
   provider: glibc.x86_64 2.17-4.fc19
  dependency: libcairo.so.2()(64bit)
   provider: cairo.x86_64 1.12.14-1.fc19
  dependency: libdbus-1.so.3()(64bit)
   provider: dbus-libs.x86_64 1:1.6.8-5.fc19
  dependency: libev.so.4()(64bit)
   provider: libev.x86_64 4.11-2.fc19
  dependency: libgdk_pixbuf-2.0.so.0()(64bit)
   provider: gdk-pixbuf2.x86_64 2.28.1-1.fc19
  dependency: libglib-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.36.1-2.fc19
  dependency: libgobject-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.36.1-2.fc19
  dependency: liblua-5.1.so()(64bit)
   provider: lua.x86_64 5.1.4-12.fc19
  dependency: libm.so.6()(64bit)
   provider: glibc.x86_64 2.17-4.fc19
  dependency: libstartup-notification-1.so.0()(64bit)
   provider: startup-notification.x86_64 0.12-6.fc19
  dependency: libxcb-icccm.so.4()(64bit)
   provider: xcb-util-wm.x86_64 0.3.9-2.fc19
  dependency: libxcb-image.so.0()(64bit)
   provider: xcb-util-image.x86_64 0.3.9-2.fc19
  dependency: libxcb-keysyms.so.1()(64bit)
   provider: xcb-util-keysyms.x86_64 0.3.9-2.fc19
  dependency: libxcb-randr.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-render.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-shape.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-shm.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-util.so.1()(64bit)
   provider: xcb-util.x86_64 0.3.9-2.fc19
  dependency: libxcb-xinerama.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb-xtest.so.0()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxcb.so.1()(64bit)
   provider: libxcb.x86_64 1.9-2.fc19
  dependency: libxdg-basedir.so.1()(64bit)
   provider: libxdg-basedir.x86_64 1.2.0-3.fc19
  dependency: lua-lgi
   provider: lua-lgi.x86_64 0.7.1-1.fc19
  dependency: pango >= 1.19.3
   provider: pango.x86_64 1.34.0-1.fc19
   provider: pango.i686 1.34.0-1.fc19
  dependency: rlwrap
   provider: rlwrap.x86_64 0.37-5.fc19
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.17-4.fc19
   provider: glibc.i686 2.17-4.fc19
  dependency: startup-notification >= 0.10
   provider: startup-notification.x86_64 0.12-6.fc19
   provider: startup-notification.i686 0.12-6.fc19
  dependency: xterm
   provider: xterm.x86_64 292-1.fc19

How reproducible:
Install awesome wm in F19

Steps to Reproduce:
1. # yum install awesome

2. $ echo "exec awesome" > ~/.xinitrc


Additional info:
~.xsession-errors

W: awesome: systray_cleanup:156: error getting systray atom
E: awesome: xutil_screen_get:74: X connection invalid

Comment 1 Thomas Moschny 2013-05-06 18:53:06 UTC
Did you read http://awesome.naquadah.org/wiki/Awesome_3.4_to_3.5 ? Can you reproduce the issue with a fresh/clean rc.lua?

The other thing is, there might be a conflict with the default desktop running. Does Awesome work for you if selected from the login screen?

Comment 2 Pavlo Rudyi 2013-05-06 19:27:43 UTC
> Did you read http://awesome.naquadah.org/wiki/Awesome_3.4_to_3.5?
Yes.
>  Can you reproduce the issue with a fresh/clean rc.lua?
YES.
> Does Awesome work for you if selected from the login screen?
Don`t work, tested in lxdm.

Comment 3 Lars Seipel 2013-05-27 10:35:32 UTC
I just stumbled upon something similar and in my case it seems to be a missing dependency.

Search your logs for:
WARNING **: Failed to load shared library 'libcairo-gobject.so.2' referenced by the typelib: libcairo-gobject.so.2: cannot open shared object file: No such file or directory

Install cairo-gobject and awesome should start. If this is indeed the case for you please confirm. Otherwise I will file a new report.

Comment 4 Lars Seipel 2013-05-27 11:14:00 UTC
If my understanding of lua-lgi is right awesome's 'require("lgi").cairo' leads to dlopen() of libcairo-gobject through lua-lgi -> libgirepository -> glib's g_module_open().

So adding an explicit dependency to awesome seems correct. Thomas?

Comment 5 Pavlo Rudyi 2013-05-28 10:17:15 UTC
> Install cairo-gobject and awesome should start.
Thank you, Lars. It works.

Thomas, please add a depends cairo-gobject.

Comment 6 Fedora Update System 2013-05-28 19:08:11 UTC
awesome-3.5.1-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/awesome-3.5.1-4.fc19

Comment 7 Thomas Moschny 2013-05-28 19:10:09 UTC
Thanks Lars, for analyzing this!

Comment 8 Fedora Update System 2013-05-29 17:44:28 UTC
Package awesome-3.5.1-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing awesome-3.5.1-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-9553/awesome-3.5.1-4.fc19
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-06-09 03:33:48 UTC
awesome-3.5.1-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.