GNU bug report logs - #26158
GNOME starts unreliably

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sat, 18 Mar 2017 16:48:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26158 in the body.
You can then email your comments to 26158 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Sat, 18 Mar 2017 16:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 18 Mar 2017 16:48:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Cc: pelzflorian <at> pelzflorian.de
Subject: GNOME starts unreliably
Date: Sat, 18 Mar 2017 12:47:36 -0400
[Message part 1 (text/plain, inline)]
----- Forwarded message from "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> -----
Date: Sat, 18 Mar 2017 15:50:49 +0100
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: help-guix <at> gnu.org
Subject: Re: I can only start an X server in guix as root
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0

[...]

So I’m not going to be of much help, but I want to rule out the obvious:
For me most of the time GNOME starts only on the second log-in attempt
on GuixSD. I assume you have tried logging in multiple times in a row?

[...]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Sat, 18 Mar 2017 18:49:01 GMT) Full text and rfc822 format available.

Message #8 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <bransoj <at> hotmail.com>
To: "26158 <at> debbugs.gnu.org" <26158 <at> debbugs.gnu.org>
Subject: Re: Gnome starts unreliably
Date: Sat, 18 Mar 2017 18:48:36 +0000
Yes sir.  I've tried logging in multiple times.  I did it just now to be
sure.  I tried logging in 3 times for each of the desktops I have
installed: Gnome on X, Gnome (which I assume is on wayland), and on
xfce.    I could not log in.  But when I tried logging in as root, it
worked just fine.  :)   Just to reiterate, I can login to a virtual
console. 


If I could get Emacs' erc to work on a virtual console, I'd complain a
little less perhaps. 


P.S.


Herein follows a slightly related rant, in which I think out loud.  I've
heard about Guix developers logging into a virtual console and working
from that, which sounds totally B.A.  The reason that doesn't work for
me at the moment, is that I've told erc to store my irc passwords in
.authinfo.gpg.  AND emacs from a virtual console does not properly
decrypt the file, so I can't use erc on emacs in a virtual console.  The
error I get says pinentry not installed, but I know I have installed it
before.  I did just reconfigure, so maybe I should have to install it
again.  I suppose that I could write some elisp, to check if the current
system is guix.  If yes, then don't use .authinfo.gpg.   Then I would
have to figure out how to mail via emacs, which I've done before.  That
way I could contribute to guix whilst inside guix.


Joshua


Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Sun, 19 Mar 2017 06:00:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: bug-guix <at> gnu.org
Subject: Re: bug#26158: Gnome starts unreliably
Date: Sun, 19 Mar 2017 06:59:46 +0100
Does

guix package -i xf86-video-intel

or

guix package -i xf86-video-nouveau

help (or whatever else your GPU is from `guix package -s xf86-video-`)?

Regards,
Florian




Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Sun, 19 Mar 2017 16:04:02 GMT) Full text and rfc822 format available.

Message #14 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Cc: 26158 <at> debbugs.gnu.org
Subject: Re: bug#26158: Gnome starts unreliably
Date: Sun, 19 Mar 2017 17:02:54 +0100
"pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> skribis:

> Does
>
> guix package -i xf86-video-intel
>
> or
>
> guix package -i xf86-video-nouveau
>
> help (or whatever else your GPU is from `guix package -s xf86-video-`)?

Xorg wouldn’t pick up video drivers installed in the user’s profile, so
this shouldn’t make any difference AIUI.  (See ‘xorg-configuration-file’
in (gnu services xorg).)

Am I missing something?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Mon, 20 Mar 2017 15:33:02 GMT) Full text and rfc822 format available.

Message #17 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <bransoj <at> hotmail.com>
To: "26158 <at> debbugs.gnu.org" <26158 <at> debbugs.gnu.org>
Subject: Re: Gnome starts unreliably
Date: Mon, 20 Mar 2017 15:32:16 +0000
[Message part 1 (text/plain, inline)]
I ran as "joshua"

guix package -I xf86-video-intel

and

guix package -I xf86-video-nouveau


Guix had no output on either of those commands, which means neither is installed for my user joshua right?  BUT I can login to gnome as root.  So obviously one of those xf86-video-* is installed in my root user profile right?


I did go ahead and login to a virtual console and run as "joshua":

guix package -i xf86-video-nouveau;


So now my non-root user "joshua" has xf86-video-nouveau installed.  I tried logging into Gnome, gnome on X, and xfce several times as "joshua".  It did not work.  I rebooted and tried again.  I still cannot login.

Joshua

P.S.  I originally posted this to help-guix, so I'm not sure how it came to be on the guix-bugs mailing list.  But when I look at the bug online ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26158 )  my original email is not present.  So I'm attaching the original email as well, which has my config.scm and some relevant errors that I can find.  Thanks for the rapid responses.  Essentially I am dual booting guixSD and Parabola and both share the same /home.  I'm assuming that is part of the problem.


-------- Forwarded Message --------
Subject:        I can only start an X server in guix as root
Date:   Fri, 17 Mar 2017 20:50:07 -0400
From:   Joshua Branson <bransoj <at> hotmail.com><mailto:bransoj <at> hotmail.com>
To:     help-guix <at> gnu.org<mailto:help-guix <at> gnu.org>





    Hello,


I currently dual boot guixSD and Parabola.  I use a macbook 7,1, and I
am unable to start an X server in guix as my normal user.  I can login
to gnome via my root user, but obviously this is not ideal.  I can login
to a virtual console as my normal user and access Emacs (yeah), but it
would be nice to be able to start gnome as my normal user.  Just today I ran

guix pull; sudo guix pull; guix system reconfigure /etc/gnome-xfce.scm


It updated fine.  I rebooted and the problem still persists.  Parabola
and guix have seperate / partitions, but they share the same /home.
I've set up guix to create my normal user (joshua) with a uid of 2000,
because that is the uid that the user joshua has on parabola.

I'm attaching my config.scm file and some errors that I've found that
are probably relevant.  Any help would be nice.





[Message part 2 (text/html, inline)]
[guix-X-errors.txt (text/plain, attachment)]
[gnome-xfce.scm (text/x-scheme, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Tue, 21 Mar 2017 11:46:01 GMT) Full text and rfc822 format available.

Message #20 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Florian Pelz <pelzflorian <at> pelzflorian.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 26158 <at> debbugs.gnu.org
Subject: Re: bug#26158: Gnome starts unreliably
Date: Tue, 21 Mar 2017 12:45:21 +0100
I believe my unreliable launching of GNOME is unrelated. For me,
/var/log/messages shows output like

Mar 21 11:53:31 localhost vmunix: [   86.999947] .gnome-session-[442]:
segfault at 0 ip 00007f7b3141fce9 sp 00007ffd69b89560 error 4 in
libgtk-3.so.0.2200.6[7f7b3114a000+6ed000]

after a crash which I will investigate further with debug output for
gnome-session at a later time.

On Sun, 2017-03-19 at 17:02 +0100, Ludovic Courtès wrote:
> "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> skribis:
> 
> > Does
> > 
> > guix package -i xf86-video-intel
> > 
> > or
> > 
> > guix package -i xf86-video-nouveau
> > 
> > help (or whatever else your GPU is from `guix package -s xf86-video-`)?
> 
> Xorg wouldn’t pick up video drivers installed in the user’s profile, so
> this shouldn’t make any difference AIUI.  (See ‘xorg-configuration-file’
> in (gnu services xorg).)
> 

Ah, I did not know. Good to know. Now my manifest is shorter. ;)




Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Wed, 22 Mar 2017 22:02:03 GMT) Full text and rfc822 format available.

Message #23 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <bransoj <at> hotmail.com>
To: Florian Pelz <pelzflorian <at> pelzflorian.de>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 "26158 <at> debbugs.gnu.org" <26158 <at> debbugs.gnu.org>
Subject: Re: bug#26158: Gnome starts unreliably
Date: Wed, 22 Mar 2017 22:01:25 +0000
So I’ve gotten responses for this on the help-guix mailing list and in the guix-bugs list.  I’ll try to just respond to the bug mailing list so the conversation is in one place.

I did login as root, run guix system vm /etc/gnome-xfce.scm;   A vm popped up.  I could not login as joshua, but I could also not login as root either.   When I tried to login as joshua, after I typed in my password, it prompted me for a user name.  So I can’t login as joshua in the vm.  Outside the vm, when I try logging in as joshua I see Logging in, I see lots of text, and then I’m back at the login screen.   In the vm, I tried logging in a root, and it tries to log me in, but inevitably I end up at the login screen again.   Outside the vm, when I try logging in as root, it works fine.

I tried looking for the x-session errors file and couldn’t find anything.

cat /home/joshua/.xsession-errors;

No file.


cat /root/.xsession-errors;

No file. 

cat / .xsession-errors;

no file.


Also it looks like Parabola X errors are listed in ~/.local/share/xorg/, because X is rootless in Parabola.   Does X start as root in guixSD?

If so,

pwd;  -> /var/log


grep -e Log -e tty Xorg.0.log ->  March 22  16:22:29    (today about an hour ago)

grep EE Xorg.0.log

43.680  (EE) NOUVEAU (0):  [COPY] failed to allocate class.

grep WW Xorg.0.log

(WW)  Open ACPI failed (/var/run/aspid.socket)  (No such file or directory)
(WW)  Falling back to old probe method for mode setting
(WW)  Falling back to old probe method for fbdev
(WW) Falling back to old probe method vesa


I feel like if someone tries to make a vm of my scheme file, they’re going to be able to log in just fine….Wait I didn’t set my normal user password in the vm….  So I probably could login to the vm, because my normal user password was not set right?  BUT I can’t get a tty in a vm?  I tried, and I was in outside the vm in a normal tty.

IDK.  

Joshua

P.S.  Most of the time when I login to gnome my mouse cannot move left to right.  It’s probably a different issue, but I felt I should probably mention it.

Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Thu, 30 Mar 2017 13:03:02 GMT) Full text and rfc822 format available.

Message #26 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Joshua Branson <bransoj <at> hotmail.com>
To: "help-guix <at> gnu.org" <help-guix <at> gnu.org>, "26158 <at> debbugs.gnu.org"
 <26158 <at> debbugs.gnu.org>
Subject: Re: I can only start an X server in guix as root
Date: Thu, 30 Mar 2017 13:01:54 +0000
Hello,

I've responded to this email on the guix-bugs emailing list located 
here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26158

I did try a guix system vm /path/to/config-file.scm;  and I could still 
not log into guixSD.

I think I might create another guix user.  If I can't login as joshua, 
perhaps I'll try logging in as "rupert" and see if that works (I'll do 
this via editing my config file and running guix system reconfigure).


Thanks,


Joshua


On 03/19/2017 05:04 PM, Ludovic Courtès wrote:
> Hi!
>
> "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> skribis:
>
>> So I’m not going to be of much help, but I want to rule out the obvious:
>> For me most of the time GNOME starts only on the second log-in attempt
>> on GuixSD. I assume you have tried logging in multiple times in a row?
> That is weird.  Does ~/.xsession-errors contain any hints after a failed
> attempt?
>
> Also, did you try to reproduce it in a VM as produced by ‘guix system
> vm’?  If it’s reproducible in a VM, we could start debugging in
> parallel.  :-)
>
> Thanks,
> Ludo’.
>


Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Fri, 31 Mar 2017 16:31:01 GMT) Full text and rfc822 format available.

Message #29 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Joshua Branson <bransoj <at> hotmail.com>
Cc: "26158 <at> debbugs.gnu.org" <26158 <at> debbugs.gnu.org>
Subject: Re: bug#26158: I can only start an X server in guix as root
Date: Fri, 31 Mar 2017 18:29:54 +0200
Hi,

(- help-guix.)

Joshua Branson <bransoj <at> hotmail.com> skribis:

> I've responded to this email on the guix-bugs emailing list located 
> here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26158
>
> I did try a guix system vm /path/to/config-file.scm;  and I could still 
> not log into guixSD.

In the VM the password for users other that root is uninitialized.  So
you must first log in as ‘root’, for instance on a tty, run “passwd
joshua”, and only after that will you be able to log in.

Could you check if that helps?

Thanks in advance!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#26158; Package guix. (Mon, 04 Feb 2019 22:32:01 GMT) Full text and rfc822 format available.

Message #32 received at 26158 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 26158 <at> debbugs.gnu.org
Subject: Re: I can only start an X server in guix as root
Date: Mon, 4 Feb 2019 23:31:07 +0100
[Message part 1 (text/plain, inline)]
Hi,

Are you still being affected by this bug? I'm inclined to close it
because almost 2 years have passed and the software in question has
changed considerably in the interim.

Leo

On Thu, Mar 30, 2017 at 01:01:54PM +0000, Joshua Branson wrote:
> Hello,
> 
> I've responded to this email on the guix-bugs emailing list located 
> here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26158
> 
> I did try a guix system vm /path/to/config-file.scm;  and I could still 
> not log into guixSD.
> 
> I think I might create another guix user.  If I can't login as joshua, 
> perhaps I'll try logging in as "rupert" and see if that works (I'll do 
> this via editing my config file and running guix system reconfigure).
> 
> 
> Thanks,
> 
> 
> Joshua
> 
> 
> On 03/19/2017 05:04 PM, Ludovic Courtès wrote:
> > Hi!
> >
> > "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> skribis:
> >
> >> So I’m not going to be of much help, but I want to rule out the obvious:
> >> For me most of the time GNOME starts only on the second log-in attempt
> >> on GuixSD. I assume you have tried logging in multiple times in a row?
> > That is weird.  Does ~/.xsession-errors contain any hints after a failed
> > attempt?
> >
> > Also, did you try to reproduce it in a VM as produced by ‘guix system
> > vm’?  If it’s reproducible in a VM, we could start debugging in
> > parallel.  :-)
> >
> > Thanks,
> > Ludo’.
> >
> 
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 26158 <at> debbugs.gnu.org and Leo Famulari <leo <at> famulari.name> Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Mon, 11 Feb 2019 04:07:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Mar 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.