LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-09-2007, 01:37 AM   #1
dyn
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Adding Another TTY


Firstly, I understand that Ubuntu uses its own upstart project to manage this sort of thing. It is also my understanding that this service will heed to /etc/inittab if this file exists. I've tried both and can't seem to add a tty. If someone could please point out my mistakes or assist me in troubleshooting, I would appreciate it. Here is what I tried...
Code:
$ cat /etc/event.d/tty8
# tty8 - getty
#
# This service maintains a getty on tty8 from the point the system is
# started until it is shut down again.

start on runlevel 2
start on runlevel 3

stop on runlevel 0
stop on runlevel 1
stop on runlevel 4
stop on runlevel 5
stop on runlevel 6

respawn
exec /sbin/getty 38400 tty8
From the upstart webpage: "Upstart uses inotify to watch the configuration directory for changes, there's no need to force it to read the job definition again." So, assuming this means changes are automatic, I press Ctrl+Alt+F8... but alas, there is no login prompt.
Code:
$ cat /etc/inittab
8:2345:respawn:/sbin/mingetty tty8
$ telinit -q
Telinit should load the configuration in inittab, which should precede upstart. I press Ctrl+Alt+F8 once again, and still no login prompt.

So, am I doing this incorrectly or is there something wrong here? By the way, this is actually for a class and ideally I should be using inittab. But this class uses Fedora, whereas my primary distro is Kubuntu; I'd prefer to understand the proper way in Kubuntu, but knowing both can't hurt. Not to mention, inittab is surely more prevalent at this time.

Thanks in advance for any assistance.
 
  


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
[SOLVED] Tty soplin Linux - General 2 05-11-2007 09:20 AM
error "unable to load tty" after adding HDD to Ubuntu mrlankey0486 Linux - Hardware 3 04-27-2006 09:31 PM
[AIX 4.3] Adding a serial tty with smitty MD3 AIX 9 01-21-2006 06:48 AM
I it possible to kill a tty or find which tty is being using by which process? geletine Linux - Software 2 01-15-2006 09:40 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 08:37 AM

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

All times are GMT -5. The time now is 08:45 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
Open Source Consulting | Domain Registration