Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-04-2009, 03:54 PM   #1
LQ Newbie
Registered: May 2009
Posts: 2

Rep: Reputation: 0
temporarily disable tty login


I need to be able to have normal use of the serial port, but currently the terminal login is interfering with my program. Anyone know how to quickly and temporarily disable the serial login? Thanks,
Old 05-05-2009, 10:46 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
You are not telling us your distro, so it is more difficult to help you.

If your distro has the file /etc/inittab then find the entry that refers to whatever is respawning the getty process for ttyx (your serial port) is, and comment it out.

Then you'll either have to reboot, or kill the getty process for the serial port you do not want a login manager sitting on. You can't just kill it without first editing /etc/inittab because otherwise it'll just be respawned.

If you are using a recent ubuntu, take a look in /etc/event.d/ttyx

Last edited by tredegar; 05-05-2009 at 11:03 AM.
Old 05-06-2009, 10:27 AM   #3
LQ Newbie
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you! For my debian build there certainly is a /etc/inittab file. I never could find what respawned it every time I killed it.


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
Need to temporarily Disable GNOME muzzavitch Linux - Newbie 3 02-24-2009 09:39 AM
Can I bypass auto login and force login screen temporarily? TuxSurfer Linux - General 2 06-26-2008 03:46 PM
How to disable PHP temporarily due to vulnerability alienmagic Linux - Security 1 05-12-2006 07:41 AM
temporarily disable automount bnj Linux - Newbie 4 06-26-2005 08:41 AM
Can I temporarily disable GRUB?? Tiyogi Linux - General 4 04-15-2005 07:15 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 AM.

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