The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
14 views

Stop /sbin/agetty and log out the session

I start agetty using /sbin/agetty 115200 /dev/ttyS2 vt220 to provide console access through my port ttyS2. From the other computer, I can create a connection, and upon opening, I am prompted with ...
0
votes
1answer
11 views

agetty dumb terminal option

I'm trying to set up a CentOS distro to output on a serial console. I went through all the steps described on this page . My question concerns the agetty command: exec /sbin/agetty ttyS1 19200 ...
1
vote
1answer
35 views

What is the difference between getty and agetty?

When I looked in the manual for agetty all I saw was alternative getty
4
votes
0answers
76 views

Netctl causes getty to clear the screen and re-display the issue message

I have systemd configured to not clear the terminal before calling getty, and also getty itself is run with the --noclear option, so that my boot messages are left displayed when the login prompt from ...
1
vote
1answer
26 views

Configuring Getty for hardware terminal

I am looking to configure a serial line for the following: 9600 Baud Word Length: 8BIT Parity: Mark XON/XOFF On I can't seem to locate the details on the "Parity Mark" part so far on my searches ...
2
votes
2answers
49 views

Running more than one console X session with startx at the same time

I have xfce running in display 0 (accessible via Ctrl + Alt + F1). I press Ctrl + Alt + F2 and type startx (attempting to run more than one window manager at the same time) and receive the error ...
2
votes
1answer
62 views

“askfirst” getty with systemd (“press enter to activate this console”)

On a Debian Jessie system with systemd, how can I configure the terminals so that a message like Press enter to activate this console is displayed and the login prompt does not appear before hitting ...
0
votes
0answers
50 views

Getty crashes when I attempt to open a serial terminal

I started a getty console on my serial port on a raspberry pi compute module running Raspian by configuring the following line in /boot/cmdline.txt: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 ...
0
votes
0answers
61 views

linux terminal refuses to take input after showing login prompt through getty using busybox from initramfs

i have a terminal which does not respond to keyboard input after displaying login prompt through a Getty on that terminal. i created the device files in initramfs. how can i go past this login ...
3
votes
0answers
65 views

Linux Angstrom can't start without serial cable plugged

I'm using the Altera Cyclone V Soc dev Kit and Linux Angstrom provides by rocketboards (http://rocketboards.org/foswiki/Documentation/GSRD141) Kernel is : 3.10 LTSI Linux can't start if any serial ...
1
vote
1answer
157 views

How to free a serial port owned by Getty

I have machines in pairs. They're connected to each other by a null modem serial cable. These machines sometimes go down, and the only way to diagnose them is through that cable, using the other node ...
3
votes
1answer
236 views

getty start from command line?

I have a line in my inittab like the following: # Put a getty on the serial port ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL If I try to perform a similar operation from an ...
1
vote
2answers
668 views

Unable to determine your tty name on Debian Wheezy on ARM

while trying to create my Debian Wheezy image for a FriendlyARM mini210s ARM single board computer, I am bumping into this issue. I have opened a terminal via serial sudo screen /dev/cu.usbserial ...
4
votes
1answer
2k views

No login prompt on serial console

I have connected a USB-to-serial cable from OS X to a Banana Pi board running Arch Linux ARM, distributed by Lemaker. The connection itself works well - I see all the boot messages on startup, I can ...
1
vote
0answers
227 views

mgetty stopped working as dialin after opensuse upgrade

Background: OpenSuSE 11.4 worked well for a couple of years. mgetty was configured to listen to /dev/ttyS0 and work as dialin link. Updated system to OpenSuSE 12.1 > 12.2. > 12.3 > 13.1 and lost ...
0
votes
1answer
214 views

systemd with 10 ttys and Desktop on Ctrl+Alt+F5

I am running systemd on ArchLinux. I have read various posts of doing this but it seems impossible (i.e. I am incompetent in implementing this:)) ). I want to disable the on-demand tty spawning of ...
3
votes
2answers
2k views

change tty login timeout - ArchLinux

By default when I login to my Arch linux box in a tty, there is a timeout after I type my username but before I type my password. So it goes like this Login: mylogin <enter> Password: (+ 60 ...
4
votes
1answer
257 views

How do I limit the number of getty processes started?

I've got a FreeBSD (9.2) box that I'm trying to strip down as lightweight as possible. It's running on a VM server, so other than ttyv0, we don't ever use the console. I'd like (if possible and ...
2
votes
1answer
671 views

Remove the newline before `/etc/issue` in tty

I want to remove the default newline inserted before the content of /etc/issue on login prompt in tty. I'm using agetty and systemd. I tried to add the --nonewline option to my getty@tty5.service : ...
1
vote
1answer
202 views

Getty instances in init process

Init typically will start multiple instances of "getty" which waits for console logins which spawn one's user shell process. Upon shutdown, init controls the sequence and processes for shutdown. The ...
6
votes
1answer
1k views

How to use agetty from the command line

Is it possible to use agetty from the command line? I tried the command sudo agetty -s 34800 tty8 linux but it returns after a few seconds and tty8 is not open. Is it the expected behaviour? Also, ...
0
votes
0answers
352 views

Which getty should I use for /dev/tty1 - tty6 text consoles in linux, agetty or something other

I'm configuring LFS linux and I want to select right "getty" for /etc/inittab to handle text consoles /dev/tty1 - /dev/tty6 (the text consoles handled by linux kernel, with output on first display). ...
3
votes
1answer
488 views

present users a login prompt? /bin/login? getty?

I have a service that execs a command when a user connects to it through a socket, and redirects everything it receives to the executed program. It works ok with shells like bash, giving the user a ...
3
votes
1answer
316 views

Why does agetty ask for the username itself?

From the man page: agetty opens a tty port, prompts for a login name and invokes the /bin/login command. It is normally invoked by init(8). But if you run login without any argument, it ...
2
votes
1answer
174 views

run x and getty on the same virtual console?

is it possible to start the x server on a virtual console that is running getty already? i like the responsiveness of getty - scrolling through the man pages or scrolling in vi is much quicker than ...
2
votes
2answers
1k views

How can I replace a tty using getty with qingy on ubuntu 12.04 or later?

Qingy is a getty replacement. I'd like to use it for a tty terminal on Linux Mint 15 (in hopes of getting tmux to get proper 256 colors in tty which fails with fbterm) which means replacing getty. ...
3
votes
0answers
254 views

Getty not starting in qemu

I'm trying to get running an ARM based Debian inside qemu. As a rootfs I'm using structure from embeddedarm 2gb sdcard image with versatile 2.6.24 kernel downloaded from fedora qemu tutorial site. At ...
0
votes
1answer
206 views

Systemd/agetty: halt machine when session ends

Using LXC running a systemd based container, one automatically gets dropped into a console session on the container. By creating and modifying /etc/systemd/system/console-getty.service to have an ...
1
vote
0answers
442 views

Use UMTS Stick as a “dial in” modem - no dataplan required

I would like to create an on demand very low bandwidth data connection between two computers. For this I am planing to have a proxy and a client which both have a umts modem (e.g. huawei e169). The ...
2
votes
1answer
280 views

Security drawbacks of disabling tty password check

I found that, in /etc/inittab, this modification (-a username) for the user u disables the login/password check for all tty:s: 1:2345:respawn:/sbin/getty -a u 38400 tty1 2:23:respawn:/sbin/getty -a u ...