Questions tagged [getty]

The tag has no usage guidance.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
1k views

Why do I not get a console with systemd?

I'm trying to get a login prompt on an embedded system using Debian and systemd. The system is connected via a physical serial console to a host PC. If I start the kernel with the cmdline parameters ...
JohnnyFromBF's user avatar
  • 3,496
4 votes
0 answers
2k views

How to send AT commands to serial interface in Yocto Linux?

I have a XBee device attached to the ttyMDF1 interface on an Intel Edison board running Yocto linux. I need to configure the XBee by sending AT commands to it. I have tried to open a getty /dev/...
Jesus Garcia's user avatar
4 votes
1 answer
766 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 ...
fonini's user avatar
  • 324
3 votes
0 answers
143 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 ...
jordan's user avatar
  • 31
3 votes
0 answers
788 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 ...
shmoula's user avatar
  • 131
2 votes
1 answer
1k views

how to start a new terminal with agetty (not systemd)

For the sake of learning, I wanted to start a new terminal (let's say tty10) from the command prompt. I know I can just run sudo systemctl start [email protected], but I want to run it manually for ...
Adriano_epifas's user avatar
2 votes
0 answers
3k views

Debian Stretch auto login on boot

I am trying to figure out how to get automatic login to work with a base console installation of Debian Stretch testing I tried an answer to a similar question on this site but it did not work: ...
Avery Freeman's user avatar
2 votes
0 answers
353 views

Use mgetty to answer a call and press a key

I bought a GSM shield for the Raspberry Pi (version 1, B) and a SIM card to join the proper cellular network. I use mgetty to react to my call, like this: mgetty conf which works just fine and the ...
dolfin's user avatar
  • 21
2 votes
0 answers
463 views

How to assign different configuration for ttyS0 under different environments

I have a computer (let's call it as DevPC) that sometimes run Linux in native environment and that sometimes run Linux on Xen. I connect this computer to another computer (let's call it as MonitorPC) ...
Mike's user avatar
  • 163
1 vote
0 answers
1k views

Systemd ordering: after multi-user.target before getty.target?

I have an installer which I turned into a systemd service it needs, networking.target to be online multi-user.target to be online I want my installer service to run after the above but before getty....
Evan Carroll's user avatar
  • 30.7k
1 vote
0 answers
120 views

Key mapping on a physical terminal (Teleray 1060) when using getty

I have an old physical terminal (Teleray 1060) that I am attempting to use as a Linux terminal using getty. I have started a login session just fine. However, my terminal lacks an enter key, having ...
carlWheezer's user avatar
1 vote
0 answers
465 views

How to use host PTY in container?

I'm learning about container technologies of Linux and wrote a minimal container implementation on my own. I'm currently confused about consoles / terminals for container processes, as I'm "reusing" ...
iBug's user avatar
  • 3,508
1 vote
0 answers
403 views

Bash 'read' command. 'enter' key goes to the beginning of the line instead of completing 'read' command

I used agetty ( v2.27 ) to create a bash shell terminal through ttyGS0. For some reason, when I used a computer to create a console via the ttyGS0 line, after I call read, pressing the Enter key goes ...
Linh Hoàng's user avatar
1 vote
0 answers
576 views

systemd: Move getty to tty2+ and start script on tty1

I'd like to "autorun" a shell script on tty1 and start the rest of the ttys on tty2, tty3, ... So far I have followed this advice (besides a ton of googling) and gotten the script to run on tty1 as ...
Christian's user avatar
  • 421
1 vote
0 answers
190 views

Script started on tty at boot does not handle backspace correctly

I'm using Debian Jessie and have created a systemd service for launching a script on a tty like this: [Unit] Description=My Test Script [Service] Type=simple ExecStart=/bin/bash /home/tester/test.sh ...
hmt50's user avatar
  • 11
1 vote
0 answers
942 views

tty1 ~ tty6 frequently get frozen on Arch

It is wired that tty1 ~ tty6 frequently be fronzen on my Arch Linux. When this problem occurs, all the tty console(tty1 ~ tty6) display nothing but a underline cursor which is not blinking. However, I ...
user3824053's user avatar
1 vote
0 answers
2k 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 ...
Kousha's user avatar
  • 575
1 vote
0 answers
704 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 ...
gsapu's user avatar
  • 11
1 vote
1 answer
799 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 ...
Konstantinos's user avatar
  • 1,120
1 vote
0 answers
1k 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). ...
osgx's user avatar
  • 1,760
1 vote
0 answers
638 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 ...
Thomaschaaf's user avatar
0 votes
0 answers
43 views

What is the source of this tty console output?

I'm making a kiosk system using Armbian on an orangepi zero 3. The kiosk is a on a local server that I connect to using chromium browser launched from my ~/.bash_profile. Before chromium-browser ...
soccermom420's user avatar
0 votes
1 answer
2k views

[email protected] FAILED - Autologin only shows on TTY1 a flashing _

I'm working on a minecraft server with OS Ubuntu server 20.04 So far they haven't given me any problems (it's fantastic!), I know some things about linux (some don't exaggerate) Until something came ...
Devilas's user avatar
  • 77
0 votes
1 answer
677 views

No password prompt for serial connection

I want to setup a password prompt (root user) when login through minicom (serial connection). After running passwd command (connected through ssh), i can setup a password for the root user. After that ...
andro_yamamoto's user avatar
0 votes
2 answers
291 views

How can I determine when a serial terminal has (dis)connected?

I have a DEC VT101 serial terminal hooked up to a Raspberry Pi 3 running Debian using a USB RS-232 null modem cable. When I turn the terminal off, I would like for the shell session to end, and when I ...
Eric Pruitt's user avatar
0 votes
1 answer
117 views

logged in on X without environment

I have an rpi2. I want the same Black Screen that you get after Arch installation (without graphical environment), the only difference is that it automatically logs in with your user account. I ...
Ηλιας Τσορομωκος's user avatar
0 votes
1 answer
1k views

/etc/issue file does not get reflect without login logout

I changed my /etc/issue file to display IP and system info with background color, and built a system which run on CentOS 7, but problem is when i deploy my machine on ESX it display regular /etc/issue ...
Jeet's user avatar
  • 1
0 votes
1 answer
766 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 ...
Ancris's user avatar
  • 1
0 votes
1 answer
937 views

Why does agetty fail to determine passwordon ubuntu 18.04.1?

I'm running a ubuntu server installation with a tty console, and sshd terminal logins. Both ssh keys and passwords work for authenticating over sshd. Lately, on the console, when I try to log in in ...
Jon Watte's user avatar
  • 159