Stuck on TTY - Ctrl+Alt+F7 returns black screen

8,115

Had the same problem. Almost got a heart attack. Pressing Ctrl Alt F2 solved the problem for me.

Share:
8,115

Related videos on Youtube

Yuri Camara Batista
Author by

Yuri Camara Batista

Updated on September 18, 2022

Comments

  • Yuri Camara Batista
    Yuri Camara Batista almost 2 years

    I'm new to Linux and am stuck on TTY. My Linux distro is Lubuntu 14.04.4 LTS.

    I have read some topics and the solutions proposed are not working to me. Ctrl+Alt+F7 returns a black screen with a text entry which, however, I can't write anything. Ctrl+Alt+F1-F6 takes me to normal TTY.

    startx returns:

    /etc/X11/xinit/service: 3: exec: /usr/bin/X not found 
    xinit: giving up 
    xinit: unable to connect to X server: Connection refused
    xinit: server error
    

    sudo service lightdm start returns:

    start: job failed to start
    

    UPDATE: I have studied my current situation a bit and I think that the problem is that "xorg.conf" file is missing or some similar kind of file. I followed instructions on "How to restore xserver?" and couldn't restore it yet.

    • web.learner
      web.learner almost 8 years
      You removed the X display server, a critical part of the system. How did this happen? That will help us find the best solution for repair.
    • Yuri Camara Batista
      Yuri Camara Batista almost 8 years
      actually I was trying to learn more about linux and typed Ctrl+Alt+F1 to understand tty. Then i get stucked. I'm pretty sure i haven't typed anything then.
    • web.learner
      web.learner almost 8 years
      Typing Ctrl+Alt+F1 doesn't do anything on its own, so that cannot be how the problem started.
    • Yuri Camara Batista
      Yuri Camara Batista almost 8 years
      I turned off the computer after this hoping that restarting it would make GUI return... The commands I typed then are the writen above
    • web.learner
      web.learner almost 8 years
      Did you restart in the middle of an upgrade perhaps?
    • Yuri Camara Batista
      Yuri Camara Batista almost 8 years
      Not to my knowledge. I remember linux asked me for updates and I refused. When I typed Ctr+Alt+F1 I was only using firefox to read linux articles. I guess I will have to reinstall linux?
    • Yuri Camara Batista
      Yuri Camara Batista almost 8 years
      Does someone have an idea what to do? I'm still with the problem. I'm considering to format the computer
    • karel
      karel almost 4 years
      Does this answer your question? Switching between console and GUI
  • chx101
    chx101 about 3 years
    And wth does that do?