Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This is a Ubuntu 12.04 Minimal Install.

When I scroll across these 6 terminals using Ctrl+Alt+F1 through
Ctrl+Alt+F6 , I have to independently login each of them; one-by-one.

Is their any way out that I may login to all of these 6 terminals in one go??

share|improve this question
3  
The answer at stackoverflow.com/questions/9266401/… looks similar to what you're after, in general, you would use tmux or screen (both available in the Ubuntu repositories) for enabling and managing multiple terminals though. –  arand Jun 28 '12 at 11:22
    
unfortunately this method uses SSH keys, which I don't want to. could there be something like federal login for all the terminals? –  Z9iT Jun 28 '12 at 19:04
1  
Just curious, Why would you want to do that? –  Mitch Jul 5 '12 at 8:37
1  
Have a look at this linuxgazette.net/issue69/henderson.html –  Mitch Jul 5 '12 at 18:45
2  
I don't know how to do that, but you can use something like byobu to achieve the "same" effect. It's really handy when working in console mode –  Salem Jul 6 '12 at 22:20
show 1 more comment

1 Answer

You can edit as super user the files named /etc/init/ttyx.conf (where x can be 1 to 6) as follows:

sudo gedit /etc/init/tty1.conf

find

exec /sbin/getty -8 38400 tty1

and comment it:

#exec /sbin/getty -8 38400 tty1

Write below:

exec /bin/login -f USERNAME < /dev/tty1 > /dev/tty1 2>&1

where USERNAME is yours.

If you still want to start GUI, add startx to your bash profile:

sudo -s
echo "startx" >> $HOME/.bash_profile

or, if this won't work, open your user’s .bashrc file:

gedit ~/.bashrc

Add the following to the end of the file:

if [ $(tty) == "/dev/tty1" ]; then
startx
fi
share|improve this answer
    
Plz if any one Verify & Check .....So i can award the bounty .. –  One Zero Jul 11 '12 at 5:10
    
So fat i've been searching for a solutions, but everything is in vain.. hope to find some intelligent idea this time.. may i bump this question ! –  Z9iT Dec 19 '12 at 17:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.