unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41178: can't log into X anymore ( polkit )
@ 2020-05-10 16:37 Stefan Huchler
  2020-05-22 23:16 ` Stefan Huchler
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Huchler @ 2020-05-10 16:37 UTC (permalink / raw)
  To: 41178

shortly after installing X and making the first few changes setting the
root password and boom I can't login into X anymore.


My configuration:
/----------------------------------------------
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop ssh)
(use-package-modules bootloaders certs ratpoison emacs-xyz
		     suckless wm xorg emacs web-browsers)

(operating-system
 (host-name "XXX")
 (timezone "Europe/Berlin")
 (locale "en_US.utf8")

 (keyboard-layout (keyboard-layout "us" "dvorak"))
 
 (bootloader (bootloader-configuration
	      (bootloader grub-bootloader)
	      (target "/dev/sda")))

 (file-systems (append
		(list (file-system
		       (device (file-system-label "guix-root"))
		       (mount-point "/")
		       (type "ext4"))
		      (file-system
		       (device (file-system-label "home"))
		       (mount-point "/home")
		       (type "ext4")))
		%base-file-systems))

 (users (cons (user-account
	       (name "XXX")
	       (comment "Me")
	       (group "users")
	       (supplementary-groups '("wheel" "netdev"
				       "audio" "video")))
	      %base-user-accounts))

 (packages (append (list
		    ;; window managers
		    ratpoison i3-wm i3status dmenu
		    ;; emacs-exwm
		    xterm
		    nss-certs
		    vimb
		    emacs)
		   %base-packages))

 (services (cons* (service openssh-service-type
		   (openssh-configuration
		    (permit-root-login #t)))
		  ;;(service xfce-desktop-service-type)
		  %desktop-services))

 (name-service-switch %mdns-host-lookup-nss))

/----------------------------------------------

Authentication needed [...] intel-backlight-helper and a password prompt
that I can't hit on, and somethnig with polkit.

I think it propable had to do with me setting a root password. I unset
it with password -dl root and only passwd -d root, but both didn't fix
it.





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

* bug#41178: can't log into X anymore ( polkit )
  2020-05-10 16:37 bug#41178: can't log into X anymore ( polkit ) Stefan Huchler
@ 2020-05-22 23:16 ` Stefan Huchler
  2020-05-23 19:28 ` Marius Bakke
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Huchler @ 2020-05-22 23:16 UTC (permalink / raw)
  To: 41178

So, after nobody answered to my problem and a guix pull / reconfigure
did change nothing I replaced gdm with slim with following changes:

(use-modules (gnu)
             (srfi srfi-1)
             (gnu system nss))
(use-service-modules desktop ssh xorg)
(use-package-modules bootloaders certs ratpoison emacs-xyz
                     suckless wm xorg emacs web-browsers)

...

 (services (cons* (service openssh-service-type
                   (openssh-configuration
                    (permit-root-login #t)))
                  (service slim-service-type)
                  (remove (lambda (service)
                            (eq? (service-kind service) gdm-service-type))
                          %desktop-services)))

and slim just works, it fixes the problem for me because I don't want to
run gdm on this low power machine anyway, but maybe somebody can
understand why slim runs and gdm not, I did not do much special I just
wanted to make my first guix install and got X running with the
light-desktop config with some minor unrelated changes like adding a few
packages and activate ssh. The only thing as I said was that I set a
password for root, but that seems also not to be such a untypical
step. So I wonder if that is a 32bit only problem else I would assume
many people would run into that. More or less the default installation
broke, sure not the graphical installation, with that I had problems
with grub, because if I remember correctly it assumed efi support.

It's strange to me that switching the display-manager fixes the problem
because that would imply that the gdm package is buggy, which again it's
in the default desktop-services variable.

But for me it's ok and maybe somebody else runs into that problem, then
maybe my bug report information helps.


Stefan Huchler <stefan.huchler@mail.de> writes:

> shortly after installing X and making the first few changes setting the
> root password and boom I can't login into X anymore.
>
>
> My configuration:
> /----------------------------------------------
> (use-modules (gnu) (gnu system nss))
> (use-service-modules desktop ssh)
> (use-package-modules bootloaders certs ratpoison emacs-xyz
> 		     suckless wm xorg emacs web-browsers)
>
> (operating-system
>  (host-name "XXX")
>  (timezone "Europe/Berlin")
>  (locale "en_US.utf8")
>
>  (keyboard-layout (keyboard-layout "us" "dvorak"))
>  
>  (bootloader (bootloader-configuration
> 	      (bootloader grub-bootloader)
> 	      (target "/dev/sda")))
>
>  (file-systems (append
> 		(list (file-system
> 		       (device (file-system-label "guix-root"))
> 		       (mount-point "/")
> 		       (type "ext4"))
> 		      (file-system
> 		       (device (file-system-label "home"))
> 		       (mount-point "/home")
> 		       (type "ext4")))
> 		%base-file-systems))
>
>  (users (cons (user-account
> 	       (name "XXX")
> 	       (comment "Me")
> 	       (group "users")
> 	       (supplementary-groups '("wheel" "netdev"
> 				       "audio" "video")))
> 	      %base-user-accounts))
>
>  (packages (append (list
> 		    ;; window managers
> 		    ratpoison i3-wm i3status dmenu
> 		    ;; emacs-exwm
> 		    xterm
> 		    nss-certs
> 		    vimb
> 		    emacs)
> 		   %base-packages))
>
>  (services (cons* (service openssh-service-type
> 		   (openssh-configuration
> 		    (permit-root-login #t)))
> 		  ;;(service xfce-desktop-service-type)
> 		  %desktop-services))
>
>  (name-service-switch %mdns-host-lookup-nss))
>
> /----------------------------------------------
>
> Authentication needed [...] intel-backlight-helper and a password prompt
> that I can't hit on, and somethnig with polkit.
>
> I think it propable had to do with me setting a root password. I unset
> it with password -dl root and only passwd -d root, but both didn't fix
> it.





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

* bug#41178: can't log into X anymore ( polkit )
  2020-05-10 16:37 bug#41178: can't log into X anymore ( polkit ) Stefan Huchler
  2020-05-22 23:16 ` Stefan Huchler
@ 2020-05-23 19:28 ` Marius Bakke
  2021-01-23 21:54 ` jbranso--- via Bug reports for GNU Guix
  2021-01-23 22:04 ` jbranso--- via Bug reports for GNU Guix
  3 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2020-05-23 19:28 UTC (permalink / raw)
  To: Stefan Huchler, 41178

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

Stefan Huchler <stefan.huchler@mail.de> writes:

> shortly after installing X and making the first few changes setting the
> root password and boom I can't login into X anymore.

[...]

> Authentication needed [...] intel-backlight-helper and a password prompt
> that I can't hit on, and somethnig with polkit.

I've seen a similar failure when elogind or dbus failed to start.

Can you check the log files and see if there were problems with these
services when it failed?  Or any other lines that could be interesting?

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

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

* bug#41178: can't log into X anymore ( polkit )
  2020-05-10 16:37 bug#41178: can't log into X anymore ( polkit ) Stefan Huchler
  2020-05-22 23:16 ` Stefan Huchler
  2020-05-23 19:28 ` Marius Bakke
@ 2021-01-23 21:54 ` jbranso--- via Bug reports for GNU Guix
  2021-01-23 22:04 ` jbranso--- via Bug reports for GNU Guix
  3 siblings, 0 replies; 5+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2021-01-23 21:54 UTC (permalink / raw)
  To: 41178

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

Hello,

I personally run sway, and I won't run a login manager. Instead I just log into a virtual console. 

Then I auto-start sway via this is my ~/.bashrc

	if [ -z $DISPLAY ] && [ "$(tty)" == "/dev/tty1" ]; then exec sway fi 

Maybe the above is supposed to go in my ~/.bash_profile

[-- Attachment #2: Type: text/html, Size: 581 bytes --]

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

* bug#41178: can't log into X anymore ( polkit )
  2020-05-10 16:37 bug#41178: can't log into X anymore ( polkit ) Stefan Huchler
                   ` (2 preceding siblings ...)
  2021-01-23 21:54 ` jbranso--- via Bug reports for GNU Guix
@ 2021-01-23 22:04 ` jbranso--- via Bug reports for GNU Guix
  3 siblings, 0 replies; 5+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2021-01-23 22:04 UTC (permalink / raw)
  To: 41178

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

Now that I think about it, it would be cool if I could figure out how to auto login to a virtual console.

Thanks,

P.S. I would set up encrypted /, so I would still enter in a password at boot.

P.P.S. Though it would be nice to only have to enter in this password once...
 That might actually be possible since I use retroboot. :)

[-- Attachment #2: Type: text/html, Size: 620 bytes --]

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

end of thread, other threads:[~2021-01-23 23:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-10 16:37 bug#41178: can't log into X anymore ( polkit ) Stefan Huchler
2020-05-22 23:16 ` Stefan Huchler
2020-05-23 19:28 ` Marius Bakke
2021-01-23 21:54 ` jbranso--- via Bug reports for GNU Guix
2021-01-23 22:04 ` jbranso--- via Bug reports for GNU Guix

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