LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-09-2005, 02:56 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Angry Can't get X to come up after I ran FSCK


Hey guys, last night I shutted down my linux box, then this morning I boot it up, and some kind of error comes up that it forces me to manually run FSCK, so I did it, and then I "fixed" all the problems. Then I rebooted, and startup went well, no problems there, until I got to the part where X Window comes up, and it can't load it, it tries a couple of times then it drops me to shell. Then when I login and try running 'startx', I get an error that reads as follows:

(gnome-session:1994):Warning **: Cannot Open font file for font Luxi Sans 10
(gnome-session:1994):Warning **: Cannot Open fallback font, nothing to do.

Waiting for X Window to shutdown................


I'm thinking that when I ran fsck, and rewrote some of the files, it maybe corrupted these fonts and that's why I can't go into Xwindow. Is there a way that I can download this fonts, then rewrite the old files, and maybe it'll work?
or can I make it use a different font?, or what can I do?

I appreciate the help very much, thanks in Advance!

zLinuxz
 
Old 08-10-2005, 11:24 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I'm thinking that when I ran fsck, and rewrote some of the files, it maybe corrupted these fonts and that's why I can't go into Xwindow."

When fsck fixes a file system it never throws anything away. It fixes what it can. Anything that fsck finds but can't fix is placed in a directory called lost+found. The directories and files in lost+found are given a number for a name. So take a look in lost+found and see if you have any lost directories and files. If so you might be able to move them back to where they belong.

"Is there a way that I can download this fonts, then rewrite the old files, and maybe it'll work?"

You can do that with rpm.

---------------------------
Steve Stites
 
Old 08-10-2005, 11:37 AM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
hey thanks for that help.
Nevertheless, I did find your numbers in the lost+found folder, however, how do I know which ones are which?, because they just have numbers #86940303, stuff like that.
 
Old 08-10-2005, 04:51 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Nevertheless, I did find your numbers in the lost+found folder, however, how do I know which ones are which?, because they just have numbers #86940303, stuff like that."

Take a look at the contents of the numbered files with a text editor or a hex editor. There is an outside chance that you will recognize the file and know where it belongs. There is a slightly higher chance that you will recognize what it is and know which rpm you need to reinstall or which files to restore from backup.

--------------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When is /etc/profile ran? mcostello1 Linux - Software 2 09-21-2004 11:18 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
XP ran away and won't come back:::help? roesingape Linux - Software 3 06-13-2003 06:49 AM
PHP Ran Away rverlander Linux - General 1 08-02-2002 01:05 AM
ran fsck -ASV by accident! computer won't boot JustinHoMi Linux - General 3 10-14-2001 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration