Can't logout and login again

  • Done
  • quality assurance status badge
Details
3 participants
  • Giovanni Biscuolo
  • Ludovic Courtès
  • Philip K.
Owner
unassigned
Submitted by
Philip K.
Severity
normal
P
P
Philip K. wrote on 25 May 2019 16:13
(address . bug-guix@gnu.org)
87r28mmxjs.fsf@warpmail.net
Hi, I've just installed the Guix System on my laptop (TP X230) yesterday,
but I consistently find myself running into the problem that I can't use
a X session properly.

I've reinstalled the system multiple times with different DE's (LXQt,
Mate, XFCE) and DM's (slim, GDM), but the issue persists: The first time
I try to login, it works, everything is loaded the way I'd expect it,
but as soon as I install anyting (using "guix install ...") and *then*
log out, and try to log in again, the screen just blinks and throws me
back into the login screen of my display manager.

I've tried changing /etc/config.scm and keeping it the same, reveting
package instalations, but nothing seems to change anything.

When running "startx" in a TTY, I get this message, no matter what WM I
try to use:

xauth: file /home/phi/.serverauth.1225 does not exist

xinit: unable to run server "/gnu/store/i3hrd6d3wrxy5fc9i2kcv115sjm8xm8f-xinit-1.4.1/bin/X": No such file or directory
Use the -- option, or make sure that /gnu/store/i3hrd6d3wrxy5fc9i2kcv115sjm8xm8f-xinit-1.4.1/bin is in your path and
that "/gnu/store/i3hrd6d3wrxy5fc9i2kcv115sjm8xm8f-xinit-1.4.1/bin/X" is a program or a link to the right type of server
for your display. Possible server names include:

Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server
Xvnc X server accessed over VNC's RFB protocol
Xdmx Distributed Multi-head X server

Note that "X" isn't placed in /gnu/store/...-xinit-1.4.1/bin/X, but as
far as I see /gnu/store/...-xorg-server-1.20.4/bin/X.

Is this a known bug? Are there any workarounds? In case there are any
questions or I didn't go into enough detail, please tell me, and I'll
gladly offer more information. I'll attach the output of "guix package
-I" and "-l" to this mail, in case than may help.

--
With kind regards,
Philip K.
Generation 1 May 25 2019 14:37:32
emacs 26.2 out /gnu/store/b38pn0gnj4jsrf79lg4kr80rn5kaim0q-emacs-26.2
openssh 8.0p1 out /gnu/store/ay4yprhkm36a4339br9ll38xxkz77xv3-openssh-8.0p1
msmtp 1.8.4 out /gnu/store/xpbp0728bmnb1syjqlgvrib4743m9fv8-msmtp-1.8.4
mpop 1.4.4 out /gnu/store/m6v79f4r6z7m3wr2s5lvl93w0lj7fnls-mpop-1.4.4
nethack 3.6.2 out /gnu/store/6ahj0c8bglk9xshp8hgr59dy7fab40k1-nethack-3.6.2
font-dejavu 2.37 out /gnu/store/8w13xk33yrxw2hfzcvv28mxn35wfg4g7-font-dejavu-2.37
font-liberation 2.00.5 out /gnu/store/q9n76yx8vwcssmw1a70yb0jgg4fzvj5i-font-liberation-2.00.5
curl 7.64.0 out /gnu/store/09x4p4ywz39xzy42kmscfi2nnhwjgybd-curl-7.64.0
adwaita-icon-theme 3.28.0 out /gnu/store/2pnz7bqa8cl80yrn1xy7jddiag8xf321-adwaita-icon-theme-3.28.0
nvi 1.81.6 out /gnu/store/zmvqwigl272wix47f3wp43zwam8a0h7v-nvi-1.81.6
syncthing 1.1.2 out /gnu/store/w71s9q93s3nbml11g671gpa82h9mcfpr-syncthing-1.1.2
git-minimal 2.21.0 out /gnu/store/d3dcz3b3jrby9ncigacw9mihirfl66l8-git-minimal-2.21.0
idris 1.3.1 out /gnu/store/gl8dr6nw98ffqwckzbnqpq1fss1qnsrg-idris-1.3.1
ghc 8.4.3 out /gnu/store/8v1sn5ns7r5n02aip0b0ypyyzb2y1i1a-ghc-8.4.3
gcc-toolchain 9.1.0 out /gnu/store/aqv6njg05w2yqh8krgrjy0wcbfxb4nn3-gcc-toolchain-9.1.0
clang 7.0.1 out /gnu/store/qlnjxk5l4j0l9i7glz44y5zkalsfnf6j-clang-7.0.1
make 4.2.1 out /gnu/store/p62f90him5qvm4f1zaqyrhdwkqxqj2c4-make-4.2.1
sbcl 1.5.1 out /gnu/store/qgwpf8k3ri1c223yn64g8mbns6l7ry68-sbcl-1.5.1
aspell-dict-en 2018.04.16-0 out /gnu/store/ah45m7xb3xxjzxwy404np91ggbs897lk-aspell-dict-en-2018.04.16-0
aspell-dict-de 20030222-1 out /gnu/store/k7700ch8jnqrcs0gjwqf2lqlaqvgdcdy-aspell-dict-de-20030222-1
aspell 0.60.6.1 out /gnu/store/grwsidd4jq6sjfyf0blvdgb565l6dzhp-aspell-0.60.6.1
icecat 60.6.2-guix1 out /gnu/store/c5ah61yvyi4qwqp1clya1f95gi2jyxzs-icecat-60.6.2-guix1
mpv 0.29.1 out /gnu/store/ikw5b5m7qplyqv5bywmviqbmnvqfdbw0-mpv-0.29.1
mpd 0.21.8 out /gnu/store/9yvbxam8jwggwya0a2vkl5n1svw2g945-mpd-0.21.8
mpc 1.1.0 out /gnu/store/axx517wbpj9z5ivz1n60irgncfv80a2q-mpc-1.1.0
ncmpc 0.34 out /gnu/store/nbjwp4fdzl46kglm3wxl21h9mzslfid0-ncmpc-0.34
notmuch 0.28.3 out /gnu/store/a88nkw6clm4llid7c37b7qinxb4j10pa-notmuch-0.28.3
xsetroot 1.1.2 out /gnu/store/2g9lg07bgqp7hp5111y0ksnpap8bb60l-xsetroot-1.1.2
xset 1.2.4 out /gnu/store/af5xnphd8nl3qsrvq312idvbbq1y4vs6-xset-1.2.4
xrdb 1.2.0 out /gnu/store/8wj5mdv9qka9lpyzfgv3rfpyzhicsyxh-xrdb-1.2.0
dvtm 0.15 out /gnu/store/bi2sw7397p9nz8qm3ys6jqkiidw7z7a3-dvtm-0.15
abduco 0.6 out /gnu/store/0188dkbnwsbc4i98jpvb13hvdn7yw3m8-abduco-0.6

Generation 2 May 25 2019 15:04:45
+ password-store 1.7.3 out /gnu/store/2wkcdfipgabasnwwsyhxd20zd3qdc3y3-password-store-1.7.3
+ xkill 1.0.5 out /gnu/store/ay8aj1lc219rym8ykgfbvr6di05gb715-xkill-1.0.5

Generation 3 May 25 2019 15:35:19
+ gnupg 2.2.15 out /gnu/store/8wll6k1dpjzdy3wj1lwckxzvjf6745qg-gnupg-2.2.15

Generation 4 May 25 2019 15:50:48 (current)
+ xinit 1.4.1 out /gnu/store/i3hrd6d3wrxy5fc9i2kcv115sjm8xm8f-xinit-1.4.1
+ xmonad 0.15 out /gnu/store/7xfbbkhwpxlbhc819a8jgh1qn8yycddn-xmonad-0.15
+ xorg-server 1.20.4 out /gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4
emacs 26.2 out /gnu/store/b38pn0gnj4jsrf79lg4kr80rn5kaim0q-emacs-26.2
openssh 8.0p1 out /gnu/store/ay4yprhkm36a4339br9ll38xxkz77xv3-openssh-8.0p1
msmtp 1.8.4 out /gnu/store/xpbp0728bmnb1syjqlgvrib4743m9fv8-msmtp-1.8.4
mpop 1.4.4 out /gnu/store/m6v79f4r6z7m3wr2s5lvl93w0lj7fnls-mpop-1.4.4
nethack 3.6.2 out /gnu/store/6ahj0c8bglk9xshp8hgr59dy7fab40k1-nethack-3.6.2
font-dejavu 2.37 out /gnu/store/8w13xk33yrxw2hfzcvv28mxn35wfg4g7-font-dejavu-2.37
font-liberation 2.00.5 out /gnu/store/q9n76yx8vwcssmw1a70yb0jgg4fzvj5i-font-liberation-2.00.5
curl 7.64.0 out /gnu/store/09x4p4ywz39xzy42kmscfi2nnhwjgybd-curl-7.64.0
adwaita-icon-theme 3.28.0 out /gnu/store/2pnz7bqa8cl80yrn1xy7jddiag8xf321-adwaita-icon-theme-3.28.0
nvi 1.81.6 out /gnu/store/zmvqwigl272wix47f3wp43zwam8a0h7v-nvi-1.81.6
syncthing 1.1.2 out /gnu/store/w71s9q93s3nbml11g671gpa82h9mcfpr-syncthing-1.1.2
git-minimal 2.21.0 out /gnu/store/d3dcz3b3jrby9ncigacw9mihirfl66l8-git-minimal-2.21.0
idris 1.3.1 out /gnu/store/gl8dr6nw98ffqwckzbnqpq1fss1qnsrg-idris-1.3.1
ghc 8.4.3 out /gnu/store/8v1sn5ns7r5n02aip0b0ypyyzb2y1i1a-ghc-8.4.3
gcc-toolchain 9.1.0 out /gnu/store/aqv6njg05w2yqh8krgrjy0wcbfxb4nn3-gcc-toolchain-9.1.0
clang 7.0.1 out /gnu/store/qlnjxk5l4j0l9i7glz44y5zkalsfnf6j-clang-7.0.1
make 4.2.1 out /gnu/store/p62f90him5qvm4f1zaqyrhdwkqxqj2c4-make-4.2.1
sbcl 1.5.1 out /gnu/store/qgwpf8k3ri1c223yn64g8mbns6l7ry68-sbcl-1.5.1
aspell-dict-en 2018.04.16-0 out /gnu/store/ah45m7xb3xxjzxwy404np91ggbs897lk-aspell-dict-en-2018.04.16-0
aspell-dict-de 20030222-1 out /gnu/store/k7700ch8jnqrcs0gjwqf2lqlaqvgdcdy-aspell-dict-de-20030222-1
aspell 0.60.6.1 out /gnu/store/grwsidd4jq6sjfyf0blvdgb565l6dzhp-aspell-0.60.6.1
icecat 60.6.2-guix1 out /gnu/store/c5ah61yvyi4qwqp1clya1f95gi2jyxzs-icecat-60.6.2-guix1
mpv 0.29.1 out /gnu/store/ikw5b5m7qplyqv5bywmviqbmnvqfdbw0-mpv-0.29.1
mpd 0.21.8 out /gnu/store/9yvbxam8jwggwya0a2vkl5n1svw2g945-mpd-0.21.8
mpc 1.1.0 out /gnu/store/axx517wbpj9z5ivz1n60irgncfv80a2q-mpc-1.1.0
ncmpc 0.34 out /gnu/store/nbjwp4fdzl46kglm3wxl21h9mzslfid0-ncmpc-0.34
notmuch 0.28.3 out /gnu/store/a88nkw6clm4llid7c37b7qinxb4j10pa-notmuch-0.28.3
xsetroot 1.1.2 out /gnu/store/2g9lg07bgqp7hp5111y0ksnpap8bb60l-xsetroot-1.1.2
xset 1.2.4 out /gnu/store/af5xnphd8nl3qsrvq312idvbbq1y4vs6-xset-1.2.4
xrdb 1.2.0 out /gnu/store/8wj5mdv9qka9lpyzfgv3rfpyzhicsyxh-xrdb-1.2.0
dvtm 0.15 out /gnu/store/bi2sw7397p9nz8qm3ys6jqkiidw7z7a3-dvtm-0.15
abduco 0.6 out /gnu/store/0188dkbnwsbc4i98jpvb13hvdn7yw3m8-abduco-0.6
xkill 1.0.5 out /gnu/store/ay8aj1lc219rym8ykgfbvr6di05gb715-xkill-1.0.5
password-store 1.7.3 out /gnu/store/2wkcdfipgabasnwwsyhxd20zd3qdc3y3-password-store-1.7.3
gnupg 2.2.15 out /gnu/store/8wll6k1dpjzdy3wj1lwckxzvjf6745qg-gnupg-2.2.15
xorg-server 1.20.4 out /gnu/store/6yar7xifqhywhwz72djqrz8v88y5i3vj-xorg-server-1.20.4
xmonad 0.15 out /gnu/store/7xfbbkhwpxlbhc819a8jgh1qn8yycddn-xmonad-0.15
xinit 1.4.1 out /gnu/store/i3hrd6d3wrxy5fc9i2kcv115sjm8xm8f-xinit-1.4.1
G
G
Giovanni Biscuolo wrote on 29 May 2019 19:26
87lfyp18a6.fsf@roquette.mug.biscuolo.net
Hello Philip,

philip@warpmail.net (Philip K.) writes:

[...]

Toggle quote (2 lines)
> I've reinstalled the system multiple times

Can you please confirm what Installer version you used?

Toggle quote (7 lines)
> with different DE's (LXQt,
> Mate, XFCE) and DM's (slim, GDM), but the issue persists: The first time
> I try to login, it works, everything is loaded the way I'd expect it,
> but as soon as I install anyting (using "guix install ...") and *then*
> log out, and try to log in again, the screen just blinks and throws me
> back into the login screen of my display manager.

I did a few test installation on a test machine but was not able to
reproduce this bug, sorry.

Are you able to login after a complete reboot?

Toggle quote (3 lines)
> I've tried changing /etc/config.scm and keeping it the same, reveting
> package instalations, but nothing seems to change anything.

User installed packages should not compromise anything related to the
graphical session, so this should not be the problem here

Can you provide us your /etc/config.scm please?

[...]

HTH! Gio'.

--
Giovanni Biscuolo

Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzuwNIACgkQ030Op87M
ORJfbBAAkcXyJlFe2ghTF5RAzay73k4CyukyhmDJQNQIxKVO74BEafYJEhG3jaux
66tG3kfJm0a2l2X0XmTEohVlQfFhJH7YNqPHbg2mgqgTUVyCb3EDKnzUCI99Tywn
fOF/4gzIF/e1f6xJZZVzdN+7Fkh6LH/kG58fN0pgzw47LpuTJqwrUz8HFQsLycF6
/iFCWwkWeEvmW41Og5xRSObg172up94G6AsFP7TCLRz8ObjZvrMji8XBXCVh/4WT
gUF0KZn/8niKNdgHJl0wmk54cKZ8QvN6aSShSkk9tvjGdn2ejZLnJVp8WQS/2NRh
+/w3qYEs/XFXkkgDmgsLJiNTjFVDf7j66p4lg9pV4J3qY/P3SMtTburE7lh6x7Mw
Q8Bc2NXxCwsCFOzFwP3cPomFAAy6Qxn2KcwN3N8SQbHnwe/mWewBYxBZnO4qH/q3
9Ixm0r9o6J2olh5jt4IS7uoiyVXYLg76X5x2XZvvB2k6JfmywXqXIrJygvwaFitY
n296q7yIPALLGOnpwiXlhILhHzcyYkVkrYg3JwG7Fhysu6WGDBk7dRTum4TI3A4C
8XgxH6PSruiE7/FhY74R3A8uDgulXyb4zj5md8PSulGMhLMf/FxqsAEVO/Jpjddq
WDf2M56/e2QSQW1wH34yQQpjgvW97YGFUD+60ozD940xG/ndeYE=
=4IIh
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 31 May 2019 23:32
(name . Philip K.)(address . philip@warpmail.net)(address . 35900@debbugs.gnu.org)
87sgsumhs4.fsf@gnu.org
Hi Philip,

philip@warpmail.net (Philip K.) skribis:

Toggle quote (10 lines)
> I've reinstalled the system multiple times with different DE's (LXQt,
> Mate, XFCE) and DM's (slim, GDM), but the issue persists: The first time
> I try to login, it works, everything is loaded the way I'd expect it,
> but as soon as I install anyting (using "guix install ...") and *then*
> log out, and try to log in again, the screen just blinks and throws me
> back into the login screen of my display manager.
>
> I've tried changing /etc/config.scm and keeping it the same, reveting
> package instalations, but nothing seems to change anything.

Like Giuseppe wrote, could you share your config.scm file?

What happens if you remove ‘xmonad’ from your profile?

Do you have a ~/.xsession file? If so, could you share it?

I don’t see any reason off-hand while this would happen (Guix System
installations used SLiM in the past, and have been using GDM by default
for several months now.)

Toggle quote (3 lines)
> When running "startx" in a TTY, I get this message, no matter what WM I
> try to use:

Indeed, ‘startx’ is currently not supported.

Thanks for your bug report,
Ludo’.
L
L
Ludovic Courtès wrote on 31 May 2019 23:34
(name . Philip K.)(address . philip@warpmail.net)(address . 35900@debbugs.gnu.org)
87muj2mhof.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (1 lines)
> Like Giuseppe wrote, could you share your config.scm file?
^~~~~~~~
I meant Giovanni, apologies!

Ludo’.
P
P
Philip K. wrote on 1 Jun 2019 20:52
(name . Ludovic Courtès)(address . ludo@gnu.org)
878sult9xb.fsf@bulbul
Sorry for the late response, I thought I had already responded a few
days back, but it seems I must have replied to the wrong message...

I'm sad to say that I have had to give up on using Guix (for now), since
I didn't have enough time to properly configure the system to my needs
during university (thanks for the responses anyways!).

Nevertheless, I managed to solve the issue by reading through the
manual, and it was unrelated to my initial suspicion, and as you mention
had to do with the xsession file containing a command (I believe it was
"xset") that I hadn't installed in my user profile. After removing said
lines, any all DE's worked as expected.

Ultimately, I'd still see this as a kind of bug, since the in the case
of GDM no error message appeared at all, and SLiM generated two written
*over* one another, with little information on what exactly was wrong.
Or is it generally not advised to use an .xsession file?

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (32 lines)
> Hi Philip,
>
> philip@warpmail.net (Philip K.) skribis:
>
>> I've reinstalled the system multiple times with different DE's (LXQt,
>> Mate, XFCE) and DM's (slim, GDM), but the issue persists: The first time
>> I try to login, it works, everything is loaded the way I'd expect it,
>> but as soon as I install anyting (using "guix install ...") and *then*
>> log out, and try to log in again, the screen just blinks and throws me
>> back into the login screen of my display manager.
>>
>> I've tried changing /etc/config.scm and keeping it the same, reveting
>> package instalations, but nothing seems to change anything.
>
> Like Giuseppe wrote, could you share your config.scm file?
>
> What happens if you remove ‘xmonad’ from your profile?
>
> Do you have a ~/.xsession file? If so, could you share it?
>
> I don’t see any reason off-hand while this would happen (Guix System
> installations used SLiM in the past, and have been using GDM by default
> for several months now.)
>
>> When running "startx" in a TTY, I get this message, no matter what WM I
>> try to use:
>
> Indeed, ‘startx’ is currently not supported.
>
> Thanks for your bug report,
> Ludo’.

--
With kind regards,
Philip K.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEXEVvqaSeWykH0GvsTLppj2Aa7OEFAlzyyYAACgkQTLppj2Aa
7OFM0wgAstedUGe9drkINN5+Afstexeyuft4Ddiz8lRaVAqDnlRSWz+Ct25sHNTX
5CPTl6UHh00If0d6xLIoXxpD6pyjH8bss5mxiSoMpo+Y3t8hXgb87HExg7KBWjlR
KvzmGrBo55CusgnMvxvDbfmrPNz4NQM6fHI31J8nYZM92gXRVlPvNjRMLjZW6DfG
r+uOvBZR0JltnaByFmHifQwViEUUVkwjguF+SGZ4a7eX4VWrchy4wPKeu7sptmcW
kKj8BOVFeNWlXrrK1ivNOhyiQcUjTv69bI0bJIUmF60YugzFyNnUJGHB3HN149NE
Zz2ky1UPkt9ZtDFf7aLwFKOI+/73hw==
=vRra
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 1 Jun 2019 23:47
(name . Philip K.)(address . philip@warpmail.net)(address . 35900@debbugs.gnu.org)
878sulc715.fsf@gnu.org
Hi Philip,

philip@warpmail.net (Philip K.) skribis:

Toggle quote (6 lines)
> Nevertheless, I managed to solve the issue by reading through the
> manual, and it was unrelated to my initial suspicion, and as you mention
> had to do with the xsession file containing a command (I believe it was
> "xset") that I hadn't installed in my user profile. After removing said
> lines, any all DE's worked as expected.

Good to know, I’m closing the bug now.

Toggle quote (5 lines)
> Ultimately, I'd still see this as a kind of bug, since the in the case
> of GDM no error message appeared at all, and SLiM generated two written
> *over* one another, with little information on what exactly was wrong.
> Or is it generally not advised to use an .xsession file?

Using a .xsession file is fine, of course, but it generally means that
you’re “on your own.” In particular, there’s not much the login manager
can do; it cannot tell whether the .xsession script is behaving “as
intended.”

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 1 Jun 2019 23:47
control message for bug #35900
(address . control@debbugs.gnu.org)
877ea5c70s.fsf@gnu.org
tags 35900 notabug
close 35900
quit
?