LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2011, 10:40 AM   #1
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Rep: Reputation: 0
login problem


hi guys,i am in great need of help.i have no idea what happened to my OS(ubuntu10.04).it doesn't give me any option to enter my login name & passwd.i just get a blank(default) login screen.last time when it worked,i was trying to install GTK+2.8,but due to my mistake i deleted glib using cmd (sudo apt-get purge glib)and after that i even tried to launch terminal but it failed to launch.also tried to play media files using vlc but it didn't work.so i tried to restart my os and finally got stuck in the problem.i have no idea what to do,please help.Is there any cmd to see what problem occurred or which package is missing
 
Old 01-01-2011, 11:12 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
From your description, it sounds like the xserver is not running, and you are looking at a login screen. If you enter you user, and password, can you login?

If yes, then you can use the command line tool to install the deleted packages.

It would help a lot if you used the shift key to start a sentence, and the space bar to separate things. That post is ver difficult to read, you do want our help, don't you?
 
1 members found this post helpful.
Old 01-01-2011, 11:21 AM   #3
thegeek
Member
 
Registered: Oct 2009
Location: Amsterdam
Distribution: CentOS,Fedora,Puppy
Posts: 62

Rep: Reputation: 20
Hi,

I would suggest that the first thing to is to repair the missing packages.
You should be able to log in to a text shell by pressing ctrl-alt F1.

Then you can reinstall the missing packages with the command sudo apt-get install glib

(You can switch back to graphical mode with ctrl-atl F7)

If you still have issues after trying this, look at the Xserver log with the command cat /var/log/Xorg.0.log

Good luck!
 
Old 01-01-2011, 11:31 AM   #4
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Thank you

Thanks a lot.But I can only login through recovery mode or other console(Alt+F1).Going through normal mode shows me default ubuntu login screen but with no place to enter my username and password.
 
Old 01-01-2011, 11:44 AM   #5
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by thegeek View Post
Hi,

I would suggest that the first thing to is to repair the missing packages.
You should be able to log in to a text shell by pressing ctrl-alt F1.

Then you can reinstall the missing packages with the command sudo apt-get install glib

(You can switch back to graphical mode with ctrl-atl F7)

If you still have issues after trying this, look at the Xserver log with the command cat /var/log/Xorg.0.log

Good luck!
I already tried to install glib but it says (the current version is the newest version),meaning glib is already there.May I know what is Xserver log.further i can only login through recovery mode or other console but have no graphical mode.
 
Old 01-01-2011, 11:44 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi, can you login on the console? (the black screen with white letters)

Be aware that there is no output while entering the password!!! This is normal.

If this works do what thegeek wrote
Code:
sudo apt-get install glib
Markus
 
Old 01-01-2011, 11:47 AM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
post the output of
Code:
tail /var/log/Xorg.0.log
you may use[code]
Code:
tail /var/log/Xorg.0.log > xorglog.txt
which creates a textfile "xorglog.txt" with the output, this you can save on your Windows-partition and then post it out of Windows after rebooting.

Markus
 
Old 01-01-2011, 11:56 AM   #8
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
post the output of
Code:
tail /var/log/Xorg.0.log
you may use[code]
Code:
tail /var/log/Xorg.0.log > xorglog.txt
which creates a textfile "xorglog.txt" with the output, this you can save on your Windows-partition and then post it out of Windows after rebooting.

Markus
Sir,I am sorry for my ignorance but once I am into recovery mode or other console,how can i save it in windows partition.What command does this work?
 
Old 01-01-2011, 12:03 PM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
well, look at
Code:
df -h
this will show you where your Windows-partition is mounted in Linux. Here as an example my computer:
Code:
markus@samsung:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              35G  9.9G   23G  31% /
/dev/sda8             7.9G  6.0G  1.6G  80% /home
/dev/sda11             50G   22G   26G  46% /usr/local/public
/dev/sda5              35G   14G   20G  41% /usr/local/gentoo
/dev/sda9              35G  9.2G   24G  29% /usr/local/slackware
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/sda3              51G   32G   20G  63% /usr/local/win7
in my case I would have to copy
Code:
sudo cp xorglog.txt /usr/local/win7
which is the c: drive of my Windows7 installation.

Markus

Last edited by markush; 01-01-2011 at 12:04 PM.
 
Old 01-01-2011, 12:52 PM   #10
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Sir,i created bootable usb and logged in through that and then copied xorglog file to windows partition, which i am now posting to you.
Attached Files
File Type: log Xorg.0.log (28.5 KB, 15 views)
 
Old 01-01-2011, 01:07 PM   #11
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi swapmax,

is this really the Xorg.0.log from the harddrive or the Xorg.0.log from the live-USB-system?

The logfile you attached to your post doesn't show any remarkable, it seems that the Xserver exited without any errors.

Maybe the configuration of gdm (the loginmanager for Gnome) has gone wild.

Markus
 
Old 01-02-2011, 03:01 AM   #12
swapmax
LQ Newbie
 
Registered: Jan 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Hi swapmax,

is this really the Xorg.0.log from the harddrive or the Xorg.0.log from the live-USB-system?

The logfile you attached to your post doesn't show any remarkable, it seems that the Xserver exited without any errors.

Maybe the configuration of gdm (the loginmanager for Gnome) has gone wild.

Markus
Sir this log file is from my hard-disk alone.I logged in through usb.Then went to 'places' which showed me my / partition of ubuntu (which is in hardisk).Through this I copied the log file you asked me to and pasted in windows partition.Now is there something I can do sir because I really don't want to format.
 
Old 01-02-2011, 03:57 AM   #13
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
As far as I can see, the Xorg.0.log doesn't show any remarkable issues. So the problem seems to be the loginmanager gdm. You may try to reinstall gdm when booting with the Live-USB-drive. Maybe this fixes any problems with the configuration.

And read the documentation for your system, google for "Ubuntut login" or "Ubuntu gdm configuration".

I hope this helps.

Markus
 
Old 01-02-2011, 05:28 AM   #14
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Sir this log file is from my hard-disk alone.I logged in through usb.Then went to 'places' which showed me my / partition of ubuntu (which is in hardisk).Through this I copied the log file you asked me to and pasted in windows partition.
If you booted the system from a usb stick, the '/' is the root of the USB system, in ram, this is NOT the root system when booted from the hard drive.

The hard drive will have to be mounted to the USB's file system, probably at /mnt/yourharddrive or /media/yourharddrive.

So, the log file you posted shows no errors because this is the one created during a successful boot from the USB stick. Some systems will automount any found HD partitions, some will not. You may have do a manual mount to see the failing Xorg.0.log file.

Have another look, and post the file again.
 
Old 01-02-2011, 05:34 AM   #15
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by camorri View Post
...So, the log file you posted shows no errors because this is the one created during a successful boot from the USB stick. Some systems will automount any found HD partitions, some will not. You may have do a manual mount to see the failing Xorg.0.log file...
But the last lines of the Xorg.0.log file shows that the modules for touchpad etc are being unloaded. So I thought that this logfile belongs to a system which already went down, whereas the booted Live-USB is still running and the modules would not yet be unloaded.

Markus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
Login problem sskraju Ubuntu 1 09-02-2009 12:37 AM
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM
Login problem Joe47 Fedora 5 03-01-2005 01:24 AM
Problem with login TomTom68 Linux - Newbie 3 09-14-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration