10

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??

6
  • 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, 2012 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? Jun 28, 2012 at 19:04
  • 1
    Just curious, Why would you want to do that?
    – Mitch
    Jul 5, 2012 at 8:37
  • 1
    Have a look at this linuxgazette.net/issue69/henderson.html
    – Mitch
    Jul 5, 2012 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, 2012 at 22:20

1 Answer 1

3
+50

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
2
  • Plz if any one Verify & Check .....So i can award the bounty ..
    – One Zero
    Jul 11, 2012 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 ! Dec 19, 2012 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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