You are not logged in.

#1 2012-12-07 18:24:24

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

And how change agetty for mingetty now? [Solved]

Whit the resent switch to systemd (and the lack of proper documentation about getty on the arch wikia: getty)
I cannot figure how in the world switch to mingetty (in repo)
Mingetty not probide any service file
run mingetty 5 (fallow the mingetty --help) not work neither as spected nor masking the getty@tty6.service

and aditionally I want the mingetty only in one tty (if possible, if not them for all)

any idea how switch fom the agetty to mingetty in systemd now??

Last edited by Jristz (2012-12-07 19:11:17)


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#2 2012-12-07 18:52:24

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: And how change agetty for mingetty now? [Solved]

Surely mingetty can be used with systemd at least with fedora. It appears in one of their examples for systemd:
  969 root     name=systemd:/systemd-1/getty@.service/tty6 /sbin/mingetty tty6
They key is to change the service file for getty@.service to execute mingetty.

...
ExecStart=-/sbin/mingetty --autologin USERNAME %I
Restart=no
...
Alias=getty.target.wants/getty@tty8.service

The source for this information is on fedoraproject.org .
http://fedoraproject.org/wiki/Systemd#H … erminal.3F

Also the arch wiki says one albeit short thing about mingetty:
Note: If you're using mingetty, simply replace /sbin/agetty to /sbin/mingetty

Offline

#3 2012-12-07 19:10:27

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,048

Re: And how change agetty for mingetty now? [Solved]

greats,
thanks, work for me, but this not mena that for every sytemd release these going to override?

and why arch not ship the mingetty service without the --autologin??


Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::

Offline

#4 2012-12-07 20:13:41

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: And how change agetty for mingetty now? [Solved]

Jristz wrote:

greats,
thanks, work for me, but this not mena that for every sytemd release these going to override?

and why arch not ship the mingetty service without the --autologin??

No. Files in /etc/systemd/system take precedence over default files and on upgrade they will not be overriden. You can file a bug report about the autologin issue if you want.

Offline

Board footer

Powered by FluxBB