* Problems with auto-login configuration
@ 2020-03-25 20:20 Eric Seuret
2020-03-25 21:32 ` znavko
0 siblings, 1 reply; 3+ messages in thread
From: Eric Seuret @ 2020-03-25 20:20 UTC (permalink / raw)
To: help-guix
Hello,
I am a new Guix user and first I want say wow! Being able to just write
the configuration in a text file is only one of the nice things about
guix. So thank to all the developers.
That being said, I have a small problem. I am trying to setup a machine
so that a user is logged in automatically but I have problems. Here is
my (services ...) configuration for this.
(services
(append
(list (service gnome-desktop-service-type)
(service openssh-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
(modify-services %desktop-services
(gdm-service-type
config => (gdm-configuration
(auto-login? #t)
(default-user "username"))))))
The problem, is that, if i have (auto-login? #f) then the systems boot
all the way to GDM and I can login with all users. However, when I try
with (auto-login? #t), then the system just presents me with a console
login. The user with username is also define in (users ...).
I am sure that I have done something false, unfortunately, I can't seem
find it.
Thanks in advance,
--
E. Seuret
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with auto-login configuration
2020-03-25 20:20 Problems with auto-login configuration Eric Seuret
@ 2020-03-25 21:32 ` znavko
2020-03-26 20:53 ` Eric Seuret
0 siblings, 1 reply; 3+ messages in thread
From: znavko @ 2020-03-25 21:32 UTC (permalink / raw)
To: Eric Seuret, help-guix
Yeah. The other problem is how to login with another user if you have autologin user, described here:
https://lists.gnu.org/archive/html/help-guix/2019-06/msg00302.html
Would you try Slim instead of gdm as I had workable config for Slim?
Guix needs some wiki how-tos for such questions as my and your. Github sometimes helps here
https://github.com/search?p=2&q=guix+config&type=Repositories
but not convenient and not at all.
March 25, 2020 8:48 PM, "Eric Seuret" <eric@ericst.ch> wrote:
> Hello,
>
> I am a new Guix user and first I want say wow! Being able to just write
> the configuration in a text file is only one of the nice things about
> guix. So thank to all the developers.
>
> That being said, I have a small problem. I am trying to setup a machine
> so that a user is logged in automatically but I have problems. Here is
> my (services ...) configuration for this.
>
> (services
> (append
> (list (service gnome-desktop-service-type)
> (service openssh-service-type)
> (set-xorg-configuration
> (xorg-configuration
> (keyboard-layout keyboard-layout))))
> (modify-services %desktop-services
> (gdm-service-type
> config => (gdm-configuration
> (auto-login? #t)
> (default-user "username"))))))
>
> The problem, is that, if i have (auto-login? #f) then the systems boot
> all the way to GDM and I can login with all users. However, when I try
> with (auto-login? #t), then the system just presents me with a console
> login. The user with username is also define in (users ...).
>
> I am sure that I have done something false, unfortunately, I can't seem
> find it.
>
> Thanks in advance,
>
> --
> E. Seuret
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with auto-login configuration
2020-03-25 21:32 ` znavko
@ 2020-03-26 20:53 ` Eric Seuret
0 siblings, 0 replies; 3+ messages in thread
From: Eric Seuret @ 2020-03-26 20:53 UTC (permalink / raw)
To: znavko, help-guix
Thank you for the github and Slim tips.
Slim actually worked, for future readers, this is the (services ...)
configuration that worked for me.
(services
(cons* (service gnome-desktop-service-type)
(service openssh-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))
slim-service-type)
(service slim-service-type (slim-configuration
(auto-login? #t)
(default-user "username")))
(remove (lambda (service)
(eq? (service-kind service) gdm-service-type))
%desktop-services)))
Yes, you can't logout and login again as different user... But my other
user is there mainly through ssh so, it is not really a problem.
Best Regards,
--
E. Seuret
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-26 20:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 20:20 Problems with auto-login configuration Eric Seuret
2020-03-25 21:32 ` znavko
2020-03-26 20:53 ` Eric Seuret
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).