You are not logged in.

#1 2014-08-23 04:30:33

hendry
Member
From: Singapore
Registered: 2009-09-08
Posts: 157
Website

Suckless boot to X

Hi guys,

Before I go around editing https://wiki.archlinux.org/index.php/Start_X_at_Login & https://wiki.archlinux.org/index.php/Silent_boot I just want to make sure I'm on the right track.


After a recent systemd upgrade (215-4?) my tty1 automatic login stopped working.

I got it working again with `sudo systemctl enable getty@tty1.service`. Perhaps I had to do this because my previous automatic login tty script somehow disrupted this? No idea.

x220:/etc/systemd$ find | grep getty
./system/getty@tty1.service.d
./system/getty@tty1.service.d/autologin.conf
./system/getty@tty1.service.d/noclear.conf
./system/getty.target.wants
./system/getty.target.wants/getty@tty1.service

And updating my ~/.bash_profile:

https://github.com/kaihendry/dotfiles/c … 10189cc94a

Not to use fgconsole, since it was returning 1 all the time.
and to start use xinit https://wiki.archlinux.org/index.php/Xo … edirection

So now I'm booting straight into Xorg nicely.

BUT:

* tty1 is unusable for looking at boot logs sad I want to be able to ctrl+alt+f1 and look at boot logs ideally ...
* when I shutdown, google chrome complains it wasn't shutdown properly and Systemd shutdowns are still not quiet for me... https://bugs.freedesktop.org/show_bug.cgi?id=57216

Offline

#2 2014-08-23 12:48:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,558

Re: Suckless boot to X

Hendry,

the only way i know to have tty1 available in CLI while running X is to start X from another terminal then tty1 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2014-08-23 13:14:18

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

Re: Suckless boot to X

What are you trying to do?  Even if tty1 was accessible, you've redirected all the ouput to a log file - so there would be no output to see on the tty.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2014-08-24 03:48:05

hendry
Member
From: Singapore
Registered: 2009-09-08
Posts: 157
Website

Re: Suckless boot to X

Ok, I re-jiggled Xorg to start on tty2

x220:/etc/systemd$ find | grep getty
./system/getty@tty1.service.d
./system/getty@tty1.service.d/noclear.conf
./system/getty@tty2.service.d
./system/getty@tty2.service.d/autologin.conf

But I have not figured out how to make tty2 start without an explicit ctrl+alt+f2.


Now my tty1 looks like http://up.dabase.com/2014-08-24/image.webp

Offline

Board footer

Powered by FluxBB