LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2018, 03:15 AM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,589

Rep: Reputation: Disabled
Are there inconveniences removing the console login getty for tty1 in runlevel 4?


Currently we have this line in /etc/inittab:
Code:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
I consider replacing it in Slint by:
Code:
c1:1235:respawn:/sbin/agetty --noclear 38400 tty1 linux
This is to avoid that, when speech is enabled, the user hear the login message and the display manager greeting's message at the same time, which is rather confusing. I inserted a "sleep <a few seconds>" before starting the display manager in rc.4.local, but that's still far from perfect.

The only inconveniences that I see with this modification is that tty1 becomes unavailable for input (but we could add a login console on another tty), thus if one needs to kill X if the graphical environment is frozen, it can't be done anymore pressing Ctrl+C in tty1 (but still a kill command can be typed from another tty, assuming that the keyboard still works).

Other than that, would this modification have any inconvenience?

Comments appreciated.

Last edited by Didier Spaier; 01-10-2018 at 05:29 AM. Reason: Removed a duplicate word in the title.
 
Old 01-10-2018, 01:23 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,517
Blog Entries: 15

Rep: Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470Reputation: 1470
The getty line defines what to do with character based logins. I don't think removing it for run level 4 would have any impact on your X Windows GUI startup which is what I'm assuming is giving you the greeting you're trying to eliminate.

If you don't want the GUI startup you could use a lower run level such as 2 which is multiuser but does not start X.
 
Old 01-10-2018, 04:11 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,589

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
The getty line defines what to do with character based logins. I don't think removing it for run level 4 would have any impact on your X Windows GUI startup which is what I'm assuming is giving you the greeting you're trying to eliminate.
What I want to avoid is that blind users of the Slint distribution who use it through speech hear the login message (displayed on the console) at the same time or just before the message (window's description) from gdm or lightdm.

I don't think that there be any impact either but would like to be sure that I don't miss a consequence that would not have come to my mind.

Quote:
If you don't want the GUI startup you could use a lower run level such as 2 which is multiuser but does not start X.
In Slint as in Slackware that is runlevel 3 but I want that users (including the visually impaired) have the choice of starting the machine in text or graphical mode.
 
Old 01-11-2018, 01:22 PM   #4
chemfire
Member
 
Registered: Sep 2012
Posts: 204

Rep: Reputation: Disabled
So a long time ago in galaxy far a way, there once was an issue were something ran high CPU if there were no console getty running at all. This was literally more than a decade ago and I can't recall other details. I am sure the problem has been fixed by now.
 
Old 01-11-2018, 01:32 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,589

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chemfire View Post
So a long time ago in galaxy far a way, there once was an issue were something ran high CPU if there were no console getty running at all. This was literally more than a decade ago and I can't recall other details. I am sure the problem has been fixed by now.
Fortunately we have 5 console getty running, on tty2 through tty6, so I guess we don't fall in this case?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login getty at serial console problem... Silpadas Linux - Security 2 06-04-2015 07:31 PM
login getty at serial console problem... Silpadas Linux - Software 1 05-21-2015 09:14 AM
[SOLVED] cannot login as root in console(tty1-tty6)... fcintron Linux - Security 6 10-24-2010 09:14 PM
How can I start a program from tty1 console to be executed in tty2 console? jtag Linux - Software 6 09-10-2010 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration