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.

  • 1
    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. – Seth Aug 15 '16 at 22:03
  • 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. – Yuri Camara Batista Aug 15 '16 at 22:09
  • Typing Ctrl+Alt+F1 doesn't do anything on its own, so that cannot be how the problem started. – Seth Aug 15 '16 at 22:10
  • I turned off the computer after this hoping that restarting it would make GUI return... The commands I typed then are the writen above – Yuri Camara Batista Aug 15 '16 at 22:12
  • Did you restart in the middle of an upgrade perhaps? – Seth Aug 15 '16 at 22:13

Your Answer

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

Browse other questions tagged or ask your own question.