Users Locked Out, Gdm Gone Beserk,14 hours @ work. No Solution yet.
To Anyone Who might be of assistance:
Before I begin I would like to . (1) Declare that I understand that no, one member of the Free linux comunity, has the obligation to answer to anyones request for aid unless they so desire, or are being paid (2) Declare that It is understood that anyone who does provide aid, does it mainly for the benefit of the community as a whole. (3) Declare that I not only understand, but also support, the idea, that ANYONE no matter how high up in the food chain, is OBLIGATED to do their homework before requesting free assistance from anyone else. Having said all that I will describe my dillema, and the attempted solutions. I was experiencing problems initiating the X server. The problems started happening right after I attempted to login to root using GNOME and halted the system when GNOME froze logging in to root. Right Now the computer starts up fine and goes right into text mode asking for my login, but when I logged in as root and 'startx' I got this message: --------Log File: "/var/log/Xorg.0.log Using config file: "/etc/ X11/xorg.conf" using vt 7 (EE) Failed to load module "/usr/X!!R6/lib/modules/extensions/libglx.a" (once-on ly module, 136033803) Could not init font path element unix/:-1, removing from list! Fatal server error: could not open default font 'fixed' Please consult the The X.Org Foundation support at [wiki.X..Org] for help. Please also check the log file at "/var/log/Xorg.0.log" for additional informati on. XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. [root@localhost ~]#------ so I entered the "cat /var/log/Xorg.0.log" command, (unfortunately the first part was cut off but this is the part it scrolled down to): -------(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD) (II) Mouse1" ps2EnableDataReporting: succeeded Could not init font path element unix/:-1, removing from list! Fatal server error: could not open default font 'fixed' Please consult the The X.Org Foundation support at [wiki.X..Org] for help. Please also check the log file at "/var/log/Xorg.0.log" for additional informati on. (II) I810(0): xf86UnbindGARTMemory: unbind key 0 (II) I810(0): xf86UnbindGARTMemory: unbind key 1 (II) I810(0): xf86UnbindGARTMemory: unbind key 2 [root@localhost ~]#------ The next thing I did was on run the "xf86config" command, which allowed me to write a configuration file sufficient to let me log into KDE -root using "startx" , However when I attempted to run gdm I received the following message: Server Authorization directory (daemon/ServAuthDir) is set to /var/lib/gdm but this does not exist. Please correct gdm configuration /etc/X11/gdm/gdm.conf and re- start again gdm_config_parse: Authdir /var/lib/gdm does not exist. Aborting ------- Not only that but when I tried logging in as a user other than root I recieved the following message: localhost login: admin Password: Last login: Mon Aug 29 20:57:46 on tty2 -bash: /etc/profile: permission denied -bash-3.00$ ----------- so I changed permissions of "/etc/profile.d" (since I found no "/etc/profile") to enable everyone to read and modify etc. "( root already had permissions to do so) but that didnt help I uninstalled and reinstalled gdm= still no changes I looked at gdm.conf which does indeed contain a reference to /var/lib/gdm, in turn the folder /var/lib/gdm contains :1.Xauth , :1.Xservers , core.6069 , core.6664 , .fonts.cache-1 , .cookie The file “:1.Xauth” is a JPEG 2000 Image that contains within the GNU GENERAL PUBLIC LICENSE The file “:1.Xservers” contains: :1 local /usr/X11R6/bin/X :1 -audit 0 -deferglyphs 16 Im not quite sure what the core files contain and I was afraid to open them The file .fonts.cache-1 contains: "/usr/X11R6/lib/X11/fonts/encodings/large 0 1124769710 " .dir" "/usr/X11R6/lib/X11/fonts/encodings/ 0 1124769710 " .dir" "/usr/X11R6/lib/X11/fonts/ukr 0 1124770001 " .dir" And lastly, the file .cookie contains: 1f19ae950eec7b434be5843d8dad682c To tell you the truth I coudnt see why on earth gdm shoudnt be working, so I figured that the problem was something internal and might be solved by restoring the computer using a backup from a week before when the computer was running fine. After I restored the computer using drakbackup, EVERYthing that I just stated about gdm still holds true. The ONLY thing I see different is that, now when I sign in with a name other than root I receive this: localhost login: admin Password: Last login: Mon Aug 29 22:40:02 on tty2 -bash: vt-is-UTF8: command not found /bin/unicode_start: line4: kbd_mode: command not found /bin/unicode_start: line4: kbd_mode: command not found -bash: dircolors: command not found -bash: locale: -bash: command not found -bash: tty: command not found -bash: tty: command not found -bash: head: command not found [admin@localhost ~]$ (by the way, I just checked, and found all the above commands in "/usr/bin" not only that, but I also checked and found that the permissions for all the above files are set to allow anyone to read or execute them. line 4 of "/bin/unicode_start" is: "kbd_mode -u" ) Running the above commands in root, result in: vt-is-UTF8: (this command is weird-sometimes it does this::) "Single-byte char mode." (and other times it just presses 1 key over and over ie::) 00000000000000000000000000000000000000000000000000 00000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000 0000000000000000000(....etc etc , until I hit ctrl-c, and somewhere before it does that or in the middle of doing that it gives the error message: "is_in_UTF8_mode: Input/output error" ) kbd_mode: The keyboard is in raw (scancode) mode dircolors: LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33: so=01;35:bd=40;33;01:cd=40;33;01.........(theres a bunch more like that, but it ends with)....*.ogg=01;35:*.mp3=01;35:*.wav=01;35:': export LS_COLORS locale: LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_ALL= tty: /dev/pts/0 head: (it just gives a big empty space that grows everytime I hit enter, and wont revert to the prompt until I hit ctrl-c) [admin@localhost ~]$ startx -bash: startx: command not found [admin@localhost ~]$ AS opposed to before the restoration (when I would receive this): localhost login: admin Password: Last login: Mon Aug 29 20:57:46 on tty2 -bash: /etc/profile: permission denied -bash-3.00$ as I started up the computer I received the following notification: Starting Postfix [Failed] as I shut down I received the following notification: Shuting down X font server [Failed] AFTER seeing all this I figured that perhaps if I deleted and reinsated all the users, I might be able to login as a user other then root, but alas, woe is to me... There were no changes and I got the same results as before. In the Meantime ---Ive discovered that although I can log in using kdm instead of gdm, Even kdm will not allow me to login using the "admin" username or any username other than root. Despite that I am still researching and experimenting (sometimes fatally, sometimes not) ---but in my heart, I am Hoping..... that someone will come to my aid, and together we may be able to overcome an obstacle that has been set in the path of the Linux User. Please do not ask me to reinstall my OS (unless it is inevitable) It is specifically, "to avoid," having to face that...that..truly.. heart rending- mind twisting -teeth grinding (I need not go on) task, "that" I was more then open to the idea of installing Linux (a supposedly "WONDERFULLY stable" OS) which it really has been.... up until now. Summary of problems: (1) Impossible to login with any user other then root (2) cannot get gdm to start although I can get GNOME to start using kdm. The Latest Devolopment: I am currently working on getting a copy of the "/var/log/messages" and "/var/log/boot.log" files, Im assuming that theyll be helpful. PS. Ive learned that it was an extremely DUMB thing to attempt to Login to ROOT using a DM but is it really possible that it caused this much harm?? anyways regardless of what caused this seemingly HUGE mess, I plan to clean it up. PPS. TO ALL THOSE WHO WISH TO TELL ME TO RTFM: Ive done, and continue to do that, and its quite possible that I will still be doing that for the next 2 and a half years from now, if the entire linux community refuses to heed my plea. O ya, almost forgot. RTFMing is not the only thing Ive been doing. IF YOU ARE SOMEONE WHO TELLS OTHERS TO RTFM, 'ONLY' IF THEY ARE 'Good For Nothing' LAZY BUMS then please forgive me If I have insulted you, Some ppl really could use a good session of RTFMing (I just feel that having done alot I am not one of em, even though I still continue to RTFM- and I woudnt mind if someone directly pointed me to a specific...helpful Manual) Sincerely, Joseph |
It sounds to me like a path has been knocked off or something,
try "echo $PATH"? mine says: Code:
tuttle@shangrila:~$ echo $PATH Code:
tuttle@shangrila:/etc$ more /etc/ld.so.conf |
This web page has some information on that error message.
http://www.faqs.org/docs/Linux-HOWTO/XDMCP-HOWTO.html Also, in rpmdrake, do a search for "fixed". I think you may have torked a font or path that xfs uses. Reinstalling the rpm package that contains the font may fix it. I don't remember the package name however, but it might be one of the base xorg packages. |
Re: Users Locked Out, Gdm Gone Beserk,14 hours @ work. No Solution yet.
Quote:
Glx error is not dangerous. It should work without it. Quote:
Code:
drwxrwx--T 2 root gdm 184 2005-08-30 22:29 gdm [code] -rw-r----- 1 root root 45 2005-08-30 22:29 :0.Xauth -rw-r--r-- 1 root root 38 2005-08-30 22:29 :0.Xservers[/quote] But it's ok to have no files inside at this time. Quote:
BTW How much free space do you have on / ? If not much (core files can tak many megs of space), remove not needed files (in /var, /tmp etc). You restored it from backup. It looks it's configuration (temp files etc). Or lack of space. Removing everything from /var/lib/gdm may help. Quote:
|
To All:
If this is the first time you are reading this thread and have not yet provided feedback, feel free to look over the original problem, and the tried solutions, and offer a solution or advice of your own. To all those who provided such prompt responses, Thank You. :) ----------------------- To:tuttle "echo $PATH" returned: /sbin: usr/sbin: /bin: /usr/bin: usr/X11R6/bin: usr/local/bin: /usr/local/sbin: usr/java jre1.5.0_04/bin "/etc$ more /etc/ld.so.conf" returned:" -bash: /etc$: No such file or directory" folder "/etc/ld.so.conf.d" is empty contents of file "/etc/ld.so.conf" include ld.so.conf /usr/X11R6/lib /usr/lib/qt3/lib /usr/lib/wine /usr/local/lib (I just added) /usr/local/lib -------------------- To: jschiwal As of yet I have failed to find a reference to the error I received in the link you provided, although the site in itself is extremely useful. I continue to look for any references to my problem, hopefully I will find it soon. the only file I found that seemed to be related to both "fonts" and "fixed" was: a2ps although there were other packages such as "xorg-x11-75dpi-fonts" and "xorg-x11-xfs" both of which would require me to uninstall a nice amount of other packages (if I were to uninstall these packages) because of dependencies. ---------------------- To:Mara According to "Mandrake control center" which I am running in gnome, the xfs service is configured to start at boot and is up and running (perhaps one problem has been unknowningly solved ??) I set all the permisions of /var/lib/gdm and all the file contained within, to allow Anyone to read modify or execute them (regardless if it was neccessary) and despite all that, I still get the same gdm error message. Quote:
in the gdm file (after making a complete backup) and attempted to start gdm, but again received the same error message as before. I have a little over 5Gig of free space and could easily free 5GBs more if I had to. Quote:
--------------------- Sincerely, Joseph Quote:
|
Quote:
Code:
tuttle@shangrila:/etc$ more /etc/ld.so.conf Code:
more /etc/ld.so.conf As for the things which normal users can't use, /etc/profile has caused me no end of problems on a sparc (different I know) so here is the contents of my /etc/profile for you. Code:
tuttle@shangrila:~$ more /etc/profile |
To:tuttle
Being a Newbie and all I could shrug off the fact that I misinterpeted tuttle@shangrila:/etc$ more /etc/ld.so.conf and quite easily get away with it. However, since I personally find a misinterpretation such as this one, so utterly dumb and inexusable, Ill simply say, that the misinterpretation should give you some idea of how exhausted I was at the time I ran the command. Moving on, I must say that Its going to take me some time to make sense out of the code you so kindly posted. That of course is no fault of your own, but is completely mine (shouldve- paid attention in those coding classes--dam* :) ) While I do that, (make sense out of the code) I thought that if I posted the contents of my /etc/profile it might speed things up a bit (not that Im hurrying anyone) as it is possible that their is an easily identifiable error in my file, that I by myself, would not be able to spot for several months. Right now I only went so far, as to subsitute your /etc/profile for mine, which didnt work, I got the same errors as when I used my own /etc.profile plus others. Code:
# /etc/profile -*- Mode: shell-script -*- Joseph |
I quite understand, I don't consider myself a coder or anywhere near a guru either.
I was under the impression "/etc/profile" didn't exist on your system, but upon re-reading your original post: Quote:
Check that the permissions for "/etc/profile" are 644 (rw-r--r--). I don't think there is a problem with X or gdm, but I can't offer much more help on the way profiles are handled, sorry. Try the command "export" as root then compare it the same thing when run as a normal user, the output is a list of all your environment variables. One piece of software that handles security is "pam", I'm not sure if mandriva uses "pam" but I can point you to its config files: /etc/pam.d (directory) /etc/security (directory) if they exist you may want to check what "pam" is doing as it can dynamically modify the permissions of files for each logged in user and other clever stuff. |
Please pardon me for telling you that there was no /etc/profile file, when I simply overlooked it,
(Im getting used to the idea that the nautilus filebrowser only lists fles after it lists all folders first) now about the export command, the command returned: in root: Code:
declare -x BROWSER="/usr/bin/www-browser" theres a bunch that I missed, but in the end it scrolled down to: Code:
declare -x LESS="-MM" Unfortunately though there were so many different files in those 2 directories, that I will need to ask for guidance (or on second thought I could do a google search for pam to see if anything turns up) With Much Gratitude, Joseph |
less is more, more is less! get used to a terminal man (man)!!
If I don't want the contents of a file that I am listing to run off screen I use more (or less): Code:
export | more edit: all puns intended ;) |
It had been for a while dawning upon me that it would be useful if I were to learn the console commands
But suddenly it hit me, I had better learn them good and learn em fast, if I ever want to get very far with linux. I am indeed a lucky man to have met such ppl who overlook my obvious ingnorance, and have the patience to guide me while I stumble along, :rolleyes: (regardless if others besides for me are benefitting from it or not) (that is not to say that Im not making an honest effort towards solving my own problems) And Now, for the ever evasive output (the ommited super-scrolled beginning) :) [admin@localhost ~]$ export | more declare -x GCONF_TMPDIR="/tmp" declare -x GNOME_DISABLE_CRASH_DIALOG="1" declare -x G_FILENAME_ENCODING="@locale" declare -x HISTCONTROL="ignoredups" declare -x HISTSIZE="1000" declare -x HOME="/home/admin" declare -x HOSTNAME="localhost" declare -x INPUTRC="/etc/inputrc" declare -x LANG="en_US.UTF-8" declare -x LANGUAGE="en_US.UTF-8:en_US:en" declare -x LC_ADDRESS="en_US.UTF-8" declare -x LC_COLLATE="en_US.UTF-8" declare -x LC_CTYPE="en_US.UTF-8" declare -x LC_IDENTIFICATION="en_US.UTF-8" declare -x LC_MEASUREMENT="en_US.UTF-8" declare -x LC_MESSAGES="en_US.UTF-8" declare -x LC_MONETARY="en_US.UTF-8" declare -x LC_NAME="en_US.UTF-8" declare -x LC_NUMERIC="en_US.UTF-8" declare -x LC_PAPER="en_US.UTF-8" declare -x LC_SOURCED="1" declare -x LC_TELEPHONE="en_US.UTF-8" declare -x LC_TIME="en_US.UTF-8" <continued on previous post> P.S. I appreciate your sense of humor :) Sincerely, Joseph |
A minor suggestion: I recently did a restore from a dump, and was unable to log in as anything but root. Solved when I discovered that the restore (actually, my response to a question asked by restore) had reset the ownership of the subdirectories of /home to root.
So, I'd suggest doing a ls -l /home to make sure that each user owns their own home directory. I suggest this because one symptom was X couldn't start since it couldn't create its user space information files. |
To: PTrenholme
I am thankful that you took time to offer a solution. Unfortunately though it seems that I still receive the same error messages as before even with all the permissions set correctly. Sincerely, Joseph |
To All:
It seems that I left out what might be an important detail. That is, when I said earlier, that I originally halted the system when GNOME froze while logging in under root, I failed to mention that I halted the system abnormally (meaning I basically pulled the plug) -Joseph |
That's an important thing. Even if it boots correctly now, use a rescue disk and check the filesystems using fsck.
|
I have completed fsck (using the command "reiserfsck --fix-fixable /dev/hda1")
with the following output: ########### Replaying journal.. Reiserfs journal '/dev/hda1' in blocks [18..8211]: 0 transactions replayed Checking internal tree..finished Checking Semantic tree: finished No corruptions found There are on the filesystem: Leaves 12035 Internal nodes 83 Directories 14515 Other files 214366 Data block pointers 3857945 (25714 of them are zero) Safe links 0 ########### reiserfsck finished ########### I guess I should be happy..eh? :) -Joseph |
:confused:
It just dawned upon me, to ask, If reiserfs wasn't able to fix anything, Is there any hope at this point, that the problem will be solved? -Joseph :) |
Quote:
edit: as you can tell, I've run out of ideas! Unless anyone else can think of a solution?? |
All times are GMT -5. The time now is 06:59 PM. |