You are not logged in.

#1 2010-07-14 12:52:00

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

[SOLVED] how to install mingetty

$ pacman -S mingetty
error: 'mingetty': could not find or read package

so then I downloaded mingetty-1.08.tar.gz  & mingetty-utf8.patch from http://aur.archlinux.org/packages.php?ID=13793
to my home/rich/Downloads folder. But how do I install it?

Last edited by dameunmate (2010-07-16 08:41:28)

Offline

#2 2010-07-14 13:20:13

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [SOLVED] how to install mingetty

Try the following:

$ wget http://aur.archlinux.org/packages/mingetty/mingetty.tar.gz
$ tar xvf mingetty.tar.gz
$ cd mingetty
$ makepkg
$ pacman -U mingetty-1.08-2-x86_64.pkg.tar.xz

Offline

#3 2010-07-14 15:17:29

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] how to install mingetty

For future reference: http://wiki.archlinux.org/index.php/AUR .


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2010-07-14 17:19:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] how to install mingetty

http://wiki.archlinux.org/index.php/Aut … al_console
It clearly says to download from AUR. Remember to use our fine wiki (it has a search feature, so you can search for e.g. mingetty).

Offline

#5 2010-07-16 09:02:08

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] how to install mingetty

Sorry about that, I had read a lot of the wiki but I had no idea how to install a package from the AUR. The console was very upset when I tried to install mingetty as the root user, so to install it as another user changing the permissions on each and every installation file took a long time. However I got there in the end. Thanks for your help.

For anyone who like myself is running Arch Linux and Openbox, in the end I didn't need mingetty to boot straight into X Openbox, so I've now uninstalled it. I only needed to folow the instructions in the Arch Wiki at http://wiki.archlinux.org/index.php/Start_X_at_boot (second section using etc/inittab).

Here's my etc/inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
x:5:once:/bin/su YOUR_USERNAME_HERE -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

...the key is in the x:5:once:/bin/su YOUR_USERNAME_HERE -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

So now I just press the power button and end up in Openbox in about 50 seconds (for some reason my motherboard takes 30 seconds to get to the Grub menu, then as Arch boots it takes a good 10 seconds to get a wireless connection up). Press the power button again and it automatically shuts down! (see http://wiki.archlinux.org/index.php/Shu … wer_Button - I don't know if this closes X properly but anyway it works)

Last edited by dameunmate (2010-07-16 09:05:36)

Offline

Board footer

Powered by FluxBB