How do I bypass The TTY login on ubuntu 12.04 lts and what is it?

24,490

Simplest solution first, have you tried Ctrl+Alt+F7 (Not F8)? If this doesn't work, try this:

  1. Login from the command line using your username and password.
  2. Try starting the lightdm service.

    sudo service lightdm restart
    

Otherwise, if your computer displays a message there's something wrong with the swap, you could try doing sudo swapoff -a and repeat the above steps. If they work now, something probably is wring with your swap.

That's all I have now. If these don't work, try posting some more info.

Share:
24,490
Jatttt
Author by

Jatttt

Updated on September 18, 2022

Comments

  • Jatttt
    Jatttt over 1 year

    I have Ubuntu 12.04 LTS and I want to know what is a tty login. I was opening my laptop and the screen went black and was written "Ubuntu 12.04 LTS harshira-HP-ProBook-445-G1 tty1". Now it does not go through this. What is a tty? And how do I bypass the tty login so that I can use my PC in graphical mode?

    • Ahmed Daif
      Ahmed Daif about 10 years
    • jobin
      jobin about 10 years
      Have you tried using Ctrl+Alt+F7 when you get the black screen? What happens if you have tried?
    • Oli
      Oli about 10 years
      Seeing the command line interface like this usually means that the graphical one has failed (not that you're ending up in the wrong place). The answer given will work if X is running but I'd be surprised if that applies here.
    • Jatttt
      Jatttt about 10 years
      X mode is also not working. it said: mountall: swap is terminated with status 255 like i said below
  • web.learner
    web.learner about 10 years
    He'll probably have to export his DISPLAY variable too.
  • Jatttt
    Jatttt about 10 years
    I pressed ctrl+alt+f7. It said
  • sayantankhan
    sayantankhan about 10 years
    @Jatttt It said what exactly?
  • Jatttt
    Jatttt about 10 years
    sorry. it said mountall: swap is terminated with status 255.