cant log in

Asked by china_13 on 2008-06-06

i tried changing my log in screen on ubuntu 8.04 and it worked for the 1st screen i downloaded (i pressed "ctrl"+"alt"+"bksp") to log out than log back in with the new one, when i tried using another one and followin the same procedure as above, my log in screen died and now im not even prompted to enter mu username, is there any way for me to overcome this and log in without formatting?

thanks for your time :)

-----------------------Recently Added---------------------------

i am using the Gnome environment

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Fabio Alessandro Locati (f4l3) said : #1

to Log out you have to go in the menu, not restart X (pressing Ctrl + Alt + Backspace).

What Desktop Environment do you use? (Gnome, KDE, XFCE, etc)?

Can you enter tty1(to 6) by pressing Ctrl+Alt+1(to 6), then press Ctrl+Alt+1 and type in:


This should start the X server.

Bhavani Shankar (bhavi) said : #3


Please try to press CTRL+ALT+"+" and/or CTRL+ALT+"-" to dynamically change video frequency
or press CTRL+ALT+BKSPACE to restart graphics layer.

Reconfiguring your xserver-xorg may help you.

A) If you can view graphics Gnome desktop

Please open a Terminal from the menu Applications->Accessories->Terminal
and jump to step C

B) If you cannot view graphics Gnome desktop

Please press CTRL+ALT+F2 and make login with your user and password
and go on to step C


To make a backup copy of your actual /etc/X11/xorg.conf type:

cd /etc/X11
sudo cp xorg.conf xorg.conf.bak

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to reconfigure your xserver-xorg

sudo dpkg-reconfigure xserver-xorg

answer to the simple questions, then restart the pc.

If something goes wrong you can restore the saved copy of your old configuration, open a terminal or login to a virtual terminal by pressing ctrl+alt+F2 and type:

cd /etc/X11
sudo cp xorg.conf.bak xorg.conf

and restart the pc, type:

sudo reboot

If then also you are not able to login using your user name and password reset it and try

Press ESC at the grub prompt.

Press e for edit.

Highlight the line that begins kernel ………, press e

Go to the very end of the line, add rw init=/bin/bash

press enter, then press b to boot your system.

Your system will boot up to a passwordless root shell.

Type in passwd username

Set your password.

Type in reboot


Bhavani Shankar.

Chuck (chucky22521) said : #4

i need helpppppppppppppppp


Please don't append a new question on a already answered or marked as solved question.
Please make new question from here:
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you

Can you help with this problem?

Provide an answer of your own, or ask china_13 for more information if necessary.

To post a message you must log in.