LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-15-2004, 11:27 AM   #1
bshelton
Member
 
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54

Rep: Reputation: 15
X is all screwed up...Please help.


It's been a long time since i've had to post a question on a forum, but i'm stuck on this one.

I'm a sys admin in a very diversified lab. While i was out of the office one day last week, someone screwed with one of my Mandrake 10 boxes and screwed up X. Now everytime i log in, as any user, it tells me that my session lasted shorter than 10 seconds...blah blah, please try to go into failsafe mode to fix the problem.

I have some critical processes running on this machine and cannot afford to reboot in failsafe mode right now. (it's linux i shouldn't have to reboot all the time like Windows).

Anyways, below is the .xsession-errors log. I've tried several things, but nothing really seems to work and i'm not a X exepert.

Please let me know of any suggestions.

~/.xsession-errors BEGIN
/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp
-x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "admin"
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/local/bin/ssh-agent -- /etc/X11/xdm/Xsession
/etc/X11/Xsession: line 30: xsetroot: command not found
/etc/X11/Xsession: line 34: xsetroot: command not found
/etc/X11/Xsession: line 54: xrdb: command not found
/etc/X11/xinit/fixkeyboard: line 19: xdpyinfo: command not found
/etc/X11/xinit/fixkeyboard: line 34: xdpyinfo: command not found
/etc/X11/xinit/fixkeyboard: line 65: xmodmap: command not found
/etc/X11/xinit.d/Mod_Meta_L_Disable: line 12: xmodmap: command not found
/etc/X11/xinit.d/mouse_buttons: line 1: xmodmap: command not found
which: no galeon in (/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin:/usr/bi
n:/usr/games:/usr/java/java/bin:/usr/local/tomcat/bin:/usr/local/tomcat/bin:/usr/java/java/bin:/usr/
java/java/bin:/usr/local/tomcat/bin:/usr/local/tomcat/bin:/usr/java/java/bin:/home/admin/bin)
gnome-session: error while loading shared libraries: libXrandr.so.2: cannot open shared object file:
No such file or directory
END

Please note that xsetroot, xrdb, xdpyinfo and xmodmap are all present, they all have the correct permissions, and they are all in the correct locations.

Brandon
 
Old 06-16-2004, 12:58 AM   #2
mascdman
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152

Rep: Reputation: 30
Could you post your /var/log/XFree86.0.log?

--mascdman
 
Old 06-16-2004, 01:05 PM   #3
bshelton
Member
 
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54

Original Poster
Rep: Reputation: 15
I actually meant to post a response yesterday about this.

I have fixed the problem. It appears that in Mandrake 10, when you specifiy a security level of Paranoid, an X session is not allowed to be started by anyone.

Now just so i dont' have people jumping on me about this; no i have not fully tested this theory. But i have several users of which none were able to log in locally to the machine after setting the security level. it is possible that the root user may be able to start an X session, but i do not allow direct root logins.

Regardless, setting the draksec security level down one, allows me to start X once again.


Also, just as an FYI, you can set specific parameters in draksec at the Paranoid level that will allow an X session to start (i just forgot to do this).

~Brandon
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how screwed am I? Please help whited Linux - General 1 03-11-2005 03:29 AM
I have really screwed up santner Linux - General 2 04-26-2004 08:08 AM
am i screwed? jxn Linux - Hardware 1 04-15-2004 11:31 PM
I think , I screwed up , now what? Megamieuwsel Linux - Software 5 09-24-2003 03:07 AM
I Screwed Myself Sathe Linux - General 6 02-08-2002 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:54 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
Open Source Consulting | Domain Registration