You are not logged in.

#1 2014-07-29 14:16:16

scrawler
Member
Registered: 2005-06-07
Posts: 318

Direct Login to X [solved]

Hi guys,

Forgive the "I can't find it myself" stupid newbie question, but I'm getting frustrated.

What is the reccommended way to log in directly to X? No slim, gdm, whatever. Just power on --> X. I used to use xinit.service.

Thanks for the help...

Last edited by scrawler (2014-07-29 15:48:00)

Offline

#2 2014-07-29 14:24:40

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Direct Login to X [solved]

You should learn to search the wiki!

Here's some info on automatic login
https://wiki.archlinux.org/index.php/au … al_console

Here's info on starting X after login.
https://wiki.archlinux.org/index.php/Start_X_at_Login

Combine these together and I'm guessing that's what you are looking for.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#3 2014-07-29 14:27:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: Direct Login to X [solved]

I'm not sure it is Cyrusm.  That is a distinct path to a similar end goal, so it may work well for scrawler.  But one can also boot directly into graphical.target without a display manager which is the OP's goal (xinit.service does seem to be gone).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2014-07-29 14:33:16

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Direct Login to X [solved]

ah good to know! I'm still not very experienced with everything systemd has to offer, so I learn something new every day. Too many years using SysVinit I guess.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#5 2014-07-29 14:36:07

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Direct Login to X [solved]

Cyrusm wrote:

Combine these together and I'm guessing that's what you are looking for.

I had the same problem as mentioned in the first post (was booting directly to X but had xinit break) and can confirm that following those two wiki links did get things going again

Last edited by oliver (2014-07-29 14:37:03)

Offline

#6 2014-07-29 15:47:27

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: Direct Login to X [solved]

Phew, what a hassle. I have used "start X at login" method in the past, but I also needed "automatic login to Virtual Console".  Doing it this way seems a little bit slower than with the xinit.service method, but it works.

Thanks everybody.  (btw, I did search all over the wiki, I just missed what I needed smile)

Offline

#7 2014-07-29 17:56:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: Direct Login to X [solved]

This isn't really "Arch Discussion" material as it's troublshooting.  Moving to Newbie Corner as that seems fitting - not as a statement that it is a "noobish" oversight, but just that the end solution turned out to be pretty basic.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB