unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35900: Can't logout and login again
@ 2019-05-25 14:13 Philip K.
  2019-05-29 17:26 ` Giovanni Biscuolo
  2019-05-31 21:32 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Philip K. @ 2019-05-25 14:13 UTC (permalink / raw)
  To: 35900

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]


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.


[-- Attachment #2: generations --]
[-- Type: text/plain, Size: 3202 bytes --]

^[[1mGeneration 1	May 25 2019 14:37:32^[[0m
  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

^[[1mGeneration 2	May 25 2019 15:04:45^[[0m
 + 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

^[[1mGeneration 3	May 25 2019 15:35:19^[[0m
 + gnupg	2.2.15	out	/gnu/store/8wll6k1dpjzdy3wj1lwckxzvjf6745qg-gnupg-2.2.15

^[[1mGeneration 4	May 25 2019 15:50:48^[[0m	(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


[-- Attachment #3: package-list --]
[-- Type: text/plain, Size: 2938 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35900: Can't logout and login again
  2019-05-25 14:13 bug#35900: Can't logout and login again Philip K.
@ 2019-05-29 17:26 ` Giovanni Biscuolo
  2019-05-31 21:32 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Giovanni Biscuolo @ 2019-05-29 17:26 UTC (permalink / raw)
  To: Philip K., 35900

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

Hello Philip,

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

[...]

> I've reinstalled the system multiple times

Can you please confirm what Installer version you used?

> 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?

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35900: Can't logout and login again
  2019-05-25 14:13 bug#35900: Can't logout and login again Philip K.
  2019-05-29 17:26 ` Giovanni Biscuolo
@ 2019-05-31 21:32 ` Ludovic Courtès
  2019-05-31 21:34   ` Ludovic Courtès
  2019-06-01 18:52   ` Philip K.
  1 sibling, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-05-31 21:32 UTC (permalink / raw)
  To: Philip K.; +Cc: 35900

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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35900: Can't logout and login again
  2019-05-31 21:32 ` Ludovic Courtès
@ 2019-05-31 21:34   ` Ludovic Courtès
  2019-06-01 18:52   ` Philip K.
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-05-31 21:34 UTC (permalink / raw)
  To: Philip K.; +Cc: 35900

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

> Like Giuseppe wrote, could you share your config.scm file?
       ^~~~~~~~
I meant Giovanni, apologies!

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35900: Can't logout and login again
  2019-05-31 21:32 ` Ludovic Courtès
  2019-05-31 21:34   ` Ludovic Courtès
@ 2019-06-01 18:52   ` Philip K.
  2019-06-01 21:47     ` Ludovic Courtès
  1 sibling, 1 reply; 6+ messages in thread
From: Philip K. @ 2019-06-01 18:52 UTC (permalink / raw)
  To: Ludovic Courtès

[-- Attachment #1: Type: text/plain, Size: 2244 bytes --]


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:

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#35900: Can't logout and login again
  2019-06-01 18:52   ` Philip K.
@ 2019-06-01 21:47     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-06-01 21:47 UTC (permalink / raw)
  To: Philip K.; +Cc: 35900

Hi Philip,

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

> 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.

> 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’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-01 21:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-25 14:13 bug#35900: Can't logout and login again Philip K.
2019-05-29 17:26 ` Giovanni Biscuolo
2019-05-31 21:32 ` Ludovic Courtès
2019-05-31 21:34   ` Ludovic Courtès
2019-06-01 18:52   ` Philip K.
2019-06-01 21:47     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).