You are not logged in.

#1 2012-11-03 14:42:53

marincelo
Member
From: Croatia
Registered: 2012-09-07
Posts: 7
Website

Bypass GDM with logind

I have moved completely to systemd and when I look at

systemd-analyze blame

I see that it takes a lot if time for gdm.service to start.

Since I am logging in automatically, is there any way I could bypass GDM and boot directly into GNOME?

I saw this https://wiki.archlinux.org/index.php/Sy … er_systemd  but didn't understand it.

Can I do this

loginctl show-session $XDG_SESSION_ID

and remove gdm.service from systemd?

Offline

#2 2012-11-03 14:54:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Bypass GDM with logind

Have a look at the "Automatic login" and "Start X at boot" wiki pages.

That loginctl command gives you info about your current session - it doesn't log you in to a new session.

Offline

#3 2012-11-03 14:56:44

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Bypass GDM with logind

You are basically asking someone to hold your hand and teach you how to use systemd.  You have apparently not even learned the basics of how to use it, otherwise you would have at lease the slightest clue how to enable/disable services.  I have no idea how you read that part of the page you linked to and somehow concluded that loginctl is what you are looking for.

Please go back to that page you linked to, scroll to the top, and then read the page (in its entirety).  If you do not understand, read it again.  Do this as necessary.  If you then still have questions, then come back and ask (smartly) following these guidelines.  You probably want to read that entire page as well.

There is no hand holding in these forums.  You are expected to at least try to gain some understanding of what you are doing before you ask questions here.  There are many here who are happy to help, but we are not here to telly ou how to use Linux.

Offline

#4 2012-11-03 15:19:27

marincelo
Member
From: Croatia
Registered: 2012-09-07
Posts: 7
Website

Re: Bypass GDM with logind

@tomk, thank you for trying to help, but I already figured that out.

@WonderWoofy thank you for not helping at all.

Offline

#5 2012-11-04 11:49:30

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: Bypass GDM with logind

@marincelo: the time needed for gdm to start is probably needed to load gtk libraries.
Avoiding gdm will make them load later so you'll end up with a desktop loading slower.
Also, systemd-readahead is capale of preloading gdm but not gnome or any de, so disabling gdm may lead to an equal or slower boot compared to a readaheaded gdm.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#6 2012-11-04 12:01:40

marincelo
Member
From: Croatia
Registered: 2012-09-07
Posts: 7
Website

Re: Bypass GDM with logind

kokoko3k wrote:

@marincelo: the time needed for gdm to start is probably needed to load gtk libraries.
Avoiding gdm will make them load later so you'll end up with a desktop loading slower.
Also, systemd-readahead is capale of preloading gdm but not gnome or any de, so disabling gdm may lead to an equal or slower boot compared to a readaheaded gdm.

Thanks!
After enabling readahead, gdm service loading time is now under 1 second.

Offline

Board footer

Powered by FluxBB