kupiakos
February 20th, 2013, 11:52 PM
In my Android-hosted Ubuntu 13.04 chroot, I am attempting to get gnome-shell running on Xvfb. I've handled rendering issues as far as I know, and now I'm having trouble with gnome-shell. I suspect D-Bus.
I've gotten D-Bus running in my chroot by using this (http://gyp.blogs.balabit.com/2011/01/using-upstart-in-a-chroot/) special python-based replacement of upstart and running /etc/init.d/rcS, /etc/init.d/rc 2 and start upstart. X starts up swimmingly. AFAIK, these are the packages I installed with apt-get:
ubuntu-desktop
gnome-shell
Xvfb
Unfortunately, I've hit a roadblock. I don't know enough about D-Bus to get gnome-shell past this error:
libEGL warning: GLX/ DRI2 is not supported
JS LOG: IBus version is too old
** (gnome-screensaver:2573): WARNING **: Couldn't get presence status: The name org.gnome.SessionManager was not provided by any .service files
** (gnome-screensaver:2573): WARNING **: screensaver already running in this session
(gnome-shell:2566): Gvc-WARNING **: Failed to connect context: OK
Window manager warning: Log level 16: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
JS ERROR: !!! Exception was: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files
JS ERROR: !!! message = '"GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files"'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/components/polkitAgent.js"'
JS ERROR: !!! lineNumber = '329'
JS ERROR: !!! stack = '"0 anonymous()@/usr/share/gnome-shell/js/ui/components/polkitAgent.js:329
1 wrapper()@/usr/share/gjs-1.0/lang.js:204
2 anonymous("name" = ""polkitAgent"")@/usr/share/gnome-shell/js/ui/components/__init__.js:56
3 wrapper(""polkitAgent"")@/usr/share/gjs-1.0/lang.js:204
4 anonymous("name" = ""polkitAgent"", 1, [object Array])@/usr/share/gnome-shell/js/ui/components/__init__.js:22
5 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:21
6 wrapper()@/usr/share/gjs-1.0/lang.js:204
7 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:13
8 wrapper()@/usr/share/gjs-1.0/lang.js:204
9 anonymous()@/usr/share/gjs-1.0/lang.js:145
10 anonymous()@/usr/share/gjs-1.0/lang.js:239
11 start()@/usr/share/gnome-shell/js/ui/main.js:150
12 <TOP LEVEL>@<main>:1
"'
Window manager warning: Log level 32: Execution of main.js threw exception: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files
I assume it's having trouble finding and executing some sort of service org.freedesktop.ConsoleKit. I assume I have some sort of configuration gone horribly awry. Are there any D-Bus gurus here that can help me?
I've gotten D-Bus running in my chroot by using this (http://gyp.blogs.balabit.com/2011/01/using-upstart-in-a-chroot/) special python-based replacement of upstart and running /etc/init.d/rcS, /etc/init.d/rc 2 and start upstart. X starts up swimmingly. AFAIK, these are the packages I installed with apt-get:
ubuntu-desktop
gnome-shell
Xvfb
Unfortunately, I've hit a roadblock. I don't know enough about D-Bus to get gnome-shell past this error:
libEGL warning: GLX/ DRI2 is not supported
JS LOG: IBus version is too old
** (gnome-screensaver:2573): WARNING **: Couldn't get presence status: The name org.gnome.SessionManager was not provided by any .service files
** (gnome-screensaver:2573): WARNING **: screensaver already running in this session
(gnome-shell:2566): Gvc-WARNING **: Failed to connect context: OK
Window manager warning: Log level 16: Could not initialize NMClient /org/freedesktop/NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
JS ERROR: !!! Exception was: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files
JS ERROR: !!! message = '"GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files"'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/components/polkitAgent.js"'
JS ERROR: !!! lineNumber = '329'
JS ERROR: !!! stack = '"0 anonymous()@/usr/share/gnome-shell/js/ui/components/polkitAgent.js:329
1 wrapper()@/usr/share/gjs-1.0/lang.js:204
2 anonymous("name" = ""polkitAgent"")@/usr/share/gnome-shell/js/ui/components/__init__.js:56
3 wrapper(""polkitAgent"")@/usr/share/gjs-1.0/lang.js:204
4 anonymous("name" = ""polkitAgent"", 1, [object Array])@/usr/share/gnome-shell/js/ui/components/__init__.js:22
5 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:21
6 wrapper()@/usr/share/gjs-1.0/lang.js:204
7 anonymous()@/usr/share/gnome-shell/js/ui/components/__init__.js:13
8 wrapper()@/usr/share/gjs-1.0/lang.js:204
9 anonymous()@/usr/share/gjs-1.0/lang.js:145
10 anonymous()@/usr/share/gjs-1.0/lang.js:239
11 start()@/usr/share/gnome-shell/js/ui/main.js:150
12 <TOP LEVEL>@<main>:1
"'
Window manager warning: Log level 32: Execution of main.js threw exception: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkn own: The name org.freedesktop.ConsoleKit was not provided by any .service files
I assume it's having trouble finding and executing some sort of service org.freedesktop.ConsoleKit. I assume I have some sort of configuration gone horribly awry. Are there any D-Bus gurus here that can help me?