LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2012, 07:09 PM   #1
muad
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
Extra terminal running before shutdown


I'm running linux mint 13. Whenever I shutdown a terminal appears (not like the application but an actual fullscreen terminal) with the label tty1 and a prompt for a username to login. The computer always shuts down just fine but I am wondering why there is an extra terminal running in the background. I recently used ctrl-alt-f1 to bring up a terminal and shutdown, could that have caused this to happen? How do I stop the terminal from running in the background?
 
Old 11-28-2012, 07:17 PM   #2
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,728

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
You have always 6 terminals running in the background (TTY1 - TTY6). They won't disappear - ever. After X has been shut down the visible screen switches back to the terminal which was there before X started, which is TTY1.

jlinkels
 
1 members found this post helpful.
Old 11-28-2012, 07:23 PM   #3
muad
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
tty1

Quote:
Originally Posted by jlinkels View Post
You have always 6 terminals running in the background (TTY1 - TTY6). They won't disappear - ever. After X has been shut down the visible screen switches back to the terminal which was there before X started, which is TTY1.

jlinkels
yes but this only started happening recently. Before only a blank screen saying something along the lines of 'sending shutdown signal' would appear before shutdown, but now the tty1 appears as well. Here is the output of ps -ef | grep tty

Quote:
root 1136 1 0 18:50 tty4 00:00:00 /sbin/getty -8 38400 tty4
root 1141 1 0 18:50 tty5 00:00:00 /sbin/getty -8 38400 tty5
root 1152 1 0 18:50 tty2 00:00:00 /sbin/getty -8 38400 tty2
root 1153 1 0 18:50 tty3 00:00:00 /sbin/getty -8 38400 tty3
root 1155 1 0 18:50 tty6 00:00:00 /sbin/getty -8 38400 tty6
root 1219 1201 3 18:50 tty8 00:00:10 /usr/bin/X :0 -audit 0 -auth /var/lib/mdm/:0.Xauth -nolisten tcp vt8
root 1417 1 0 18:50 tty1 00:00:00 /sbin/getty -8 38400 tty1
1000 2500 2331 0 18:55 pts/0 00:00:00 grep --colour=auto tty
 
Old 11-28-2012, 08:20 PM   #4
Nbiser
Member
 
Registered: Oct 2012
Location: Maryland
Distribution: Fedora, Slackware, Debian, Ubuntu, Knoppix, Helix,
Posts: 302
Blog Entries: 7

Rep: Reputation: 44
Thumbs up Agree......

Quote:
Originally Posted by jlinkels View Post
You have always 6 terminals running in the background (TTY1 - TTY6). They won't disappear - ever. After X has been shut down the visible screen switches back to the terminal which was there before X started, which is TTY1.

jlinkels
Not only this, but if you login to a different user account, and then go to a different one linux will sometimes kick you back to this login screen at shutdown; at least this is my experience.

Last edited by Nbiser; 11-28-2012 at 08:21 PM.
 
Old 11-29-2012, 07:30 PM   #5
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,728

Rep: Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754Reputation: 754
Quote:
Originally Posted by muad View Post
yes but this only started happening recently. Before only a blank screen saying something along the lines of 'sending shutdown signal' would appear before shutdown, but now the tty1 appears as well. Here is the output of ps -ef | grep tty
That output is perfectly normal. Shutdown sequence changes from one update to the next if new mechanisms are in place. Or if different programs are shutdown you might see different things. Shutting down is a highly multitasking process down until the last steps.

jlinkels
 
  


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
Unable to shutdown/reboot server, no shutdown process running dctw Linux - Server 5 03-31-2010 06:46 AM
[SOLVED] How to Disable the Terminal Beep when running the Shutdown command? Zoot Linux - General 6 09-03-2009 03:06 PM
How to launch an app in terminal, & keep it running after I close terminal? kornerr Linux - General 7 06-24-2006 06:54 PM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
extra linefeeds - terminal k1mgy Linux - General 0 02-21-2005 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 AM.

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