solus-project / budgie-desktop

I Tawt I Taw A Purdy Desktop
https://solus-project.com/
2.33k stars 158 forks source link

Budgie-Desktop Won't Start from GDM #62

Closed Saroufim closed 9 years ago

Saroufim commented 10 years ago

GDM would log the user immediately out if attempting to log in to Budgie-desktop. This happens on openSUSE 13.1 with GDM 3.12.2 and Budgie-desktop 7.

ikeydoherty commented 10 years ago

Re: versioning, we're technically at v5 still, I've not yet released v6 officially :)

I honestly don't know why this happens.I suspect maybe gdm is causing the issue itself. Need to look into it more..

Saroufim commented 10 years ago

This is happening with KDE too. Here are a few helpful links https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755761 https://bugzilla.novell.com/show_bug.cgi?id=889139 GDM made some drastic changes apparently and its preventing some sessions from logging in.

On Fri, Aug 15, 2014 at 1:27 PM, Ikey Doherty notifications@github.com wrote:

Re: versioning, we're technically at v5 still, I've not yet released v6 officially :)

I honestly don't know why this happens.I suspect maybe gdm is causing the issue itself. Need to look into it more..

— Reply to this email directly or view it on GitHub.

ikeydoherty commented 10 years ago

do you actually have anything in .xsession-errors about no display, or similar?

ikeydoherty commented 10 years ago

I'm gonna guess this has something to do with it... http://osdir.com/ml/commits.gnome/2014-04/msg04108.html

Saroufim commented 10 years ago

No relevant .xsession-errors I'm afraid. I've read comments saying that GDM has PAM issues as well. Not sure which is the cause.

ikeydoherty commented 10 years ago

Bugger. In Evolve OS we have PAM issues with gdm which is why we're not using it, but these changes seem quite deep..

Saroufim commented 10 years ago

Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=734847 Hopefully, they GDM devs will help with this.

magcius commented 10 years ago

Can you turn on debugging? Go into /etc/gdm/custom.conf and add Enable=true under the debug section.

Then some logs should appear. If you have the systemd journal, they're in that, otherwise they'll be dumped to /var/log/gdm/. Can you attach those?

ikeydoherty commented 10 years ago

Thanks for the help here @magcius, really appreciated. Currently no access to GDM3.12 here :/

Saroufim commented 10 years ago

GDM log http://pastebin.com/vxz8dRWU

journalctl https://dl.dropboxusercontent.com/u/44544435/journalctl.log

ikeydoherty commented 10 years ago
Aug 15 14:56:06 linux-gxes kernel: budgie-wm[8227]: segfault at 0 ip 00007f62741c6853 sp 00007fff90e30860 error 4 in libmutter.so.0.0.0[7f6274181000+df000]

I imagine that mutter segfaults 3 times, and budgie-session terminates..

Saroufim commented 10 years ago

Oh yeah. I've been getting that whenever I attempt to run budgie-session from within another session. That didn't happen before. However, not being able to log in through GDM applied to the previous versions as well (while this isn't didn't).

ikeydoherty commented 10 years ago

Really don't want to install openSUSE as it takes forever but I see little choice. Will report back in an hour or so.

ikeydoherty commented 10 years ago

@Saroufim I'm downloading 13.1 live GNOME, got a link for installing GNOME 3.12 ?

Saroufim commented 10 years ago

Run these commands in order after you're done installing openSUSE: sudo zypper patch sudo zypper up sudo zypper -ar http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/ GS:312 sudo zypper dup --from GS:312

magcius commented 10 years ago

Did you restart gdm / your machine after making the custom.conf changes? You need to do that, sorry. I don't see any debug gdm logs in there.

Saroufim commented 10 years ago

Here's the log again after restarting: http://pastebin.com/msHXahJx

magcius commented 10 years ago

That's the X server log. I'm going to need gdm logs. Try running journalctl -b -e and attaching the output of that, after trying to log into Budgie once.

ikeydoherty commented 10 years ago

Applying 608 updates. Not even added the repo yet.And someone please get openSUSE to just use network-manager by default. I had no networking with ethernet on the Intel NUC until I switched it over in YaST..

Saroufim commented 10 years ago

There you go: https://dl.dropboxusercontent.com/u/44544435/journalctl.log Side note: Can anyone tell me why in the world is journalctl leaking some of the contents of my ebooks, music, and other personal things through tracker?

ikeydoherty commented 10 years ago

Technically its the other way around @Saroufim, tracker is emitting the output through the system journal. journalctl only shows whats in there.

ikeydoherty commented 10 years ago

opensusebudgie

So um. It works for me. I've literally just built from git and I have it working. Granted the animations are shot to shit but we're using the 3.10 version of the Mutter plugin.

ikeydoherty commented 10 years ago

Also works by installing the ymp file and using the repo with the git version uninstalled. Unsure why you're having this issue.

Saroufim commented 10 years ago

Hmmm... It must be conflicting with one of the other packages I've got installed. I'll have to look further into it. I'm glad it works now though :)

On Friday, August 15, 2014, Ikey Doherty notifications@github.com wrote:

[image: opensusebudgie] https://cloud.githubusercontent.com/assets/164489/3933477/d91ca260-247f-11e4-9293-203456956a29.png

So um. It works for me. I've literally just built from git and I have it working. Granted the animations are shot to shit but we're using the 3.10 version of the Mutter plugin.

— Reply to this email directly or view it on GitHub https://github.com/evolve-os/budgie-desktop/issues/62#issuecomment-52305104 .

Saroufim commented 10 years ago

If I'm the only user that's being affected by the issue then it doesn't really matter. I thought it was global like KDE's problem

On Friday, August 15, 2014, Ikey Doherty notifications@github.com wrote:

Also works by installing the ymp file and using the repo with the git version uninstalled. Unsure why you're having this issue.

— Reply to this email directly or view it on GitHub https://github.com/evolve-os/budgie-desktop/issues/62#issuecomment-52305359 .

ikeydoherty commented 10 years ago

Problem is you're not. Satyajit Sahoo also has the same issue on Fedora.

Saroufim commented 10 years ago

Would you like me to debug budgie-wm? The crash seems to be related to it.

On Friday, August 15, 2014, Ikey Doherty notifications@github.com wrote:

Problem is you're not. Satyajit Sahoo also has the same issue on Fedora.

— Reply to this email directly or view it on GitHub https://github.com/evolve-os/budgie-desktop/issues/62#issuecomment-52305818 .

ikeydoherty commented 10 years ago

Can try catching a log from it by trying to start it in gnome-shell or something, but I'm not sure you can do budgie-wm --replace in GNOME Shell, can you @magcius ?

magcius commented 10 years ago

You should be able to.

Saroufim commented 10 years ago

Strace output https://dl.dropboxusercontent.com/u/44544435/budgie-wm.log I couldn't grab the gdb output, unfortunately.

ikeydoherty commented 10 years ago
write(2, "Window manager warning: ", 24Window manager warning: ) = 24
write(2, "Screen 0 on display \":0\" already"..., 125Screen 0 on display ":0" already has a window manager; try using the --replace option to replace the current window manager.
) = 125

oO

magcius commented 10 years ago

Is that from running budgie-wm --replace ? It sounds to me like budgie isn't properly handling --replace.

ikeydoherty commented 10 years ago

Ya lemme just look into that.. >_>

ikeydoherty commented 10 years ago

@magcius confirmed it actually does work here, also: https://github.com/evolve-os/budgie-desktop/blob/master/wm/budgie-wm.c#L26

Saroufim commented 10 years ago

No, that's without '--replace'. I had to run an environment without any window managers and then strace budgie-wm.

Saroufim commented 10 years ago

Here's the output of budgie-wm --replace: (budgie-wm:27159): GLib-GObject-WARNING **: specified class size for type 'MetaDefaultPlugin' is smaller than the parent type's 'MetaPlugin' class size

(budgie-wm:27159): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed Window manager warning: Log level 8: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed Segmentation fault

ikeydoherty commented 10 years ago

Ok what version of Mutter are you using? It looks like your version is somehow incompatible with the version used here.. It might make sense for me to rebase the plugin as plugin312.c and condiitonally compile it.

Saroufim commented 10 years ago

I'm using mutter 3.12.2-1.1

On Friday, August 15, 2014, Ikey Doherty notifications@github.com wrote:

Ok what version of Mutter are you using? It looks like your version is somehow incompatible with the version used here.. It might make sense for me to rebase the plugin as plugin312.c and condiitonally compile it.

— Reply to this email directly or view it on GitHub https://github.com/evolve-os/budgie-desktop/issues/62#issuecomment-52313834 .

ikeydoherty commented 10 years ago

Pushing an updated package to OBS soon to fix this.

ikeydoherty commented 9 years ago

Closing for now due to inability to now test (ironically) with 3.12, but only 3.14..

necrose99 commented 9 years ago

https://www.spike-pentesting.org/ or App-wichcraft (github) can be used to test till the cows come home, on Gentoo or Sabayon based systems, however Muddler our distro master has had a number of issues building however , if needed I'll be happy to spin up a test build , and see how she goes. necrose99 on Freenode or #spike-pentesting/#spike-pentesting-dev (note the build server sometimes spams the dev chan... as it builds packages... anyhow happy to oblige in testing on Gentoo/Sabayon based systems...