Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-15-2004, 11:27 AM
|
#1
|
Member
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54
Rep:
|
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
|
|
|
06-16-2004, 12:58 AM
|
#2
|
Member
Registered: Jun 2004
Location: Canada
Distribution: Ubuntu 6.06 LTS
Posts: 152
Rep:
|
Could you post your /var/log/XFree86.0.log?
--mascdman
|
|
|
06-16-2004, 01:05 PM
|
#3
|
Member
Registered: Sep 2003
Location: Fairfax, VA
Distribution: RedHat/Fedora/Mandrake/BSD/Solaris
Posts: 54
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|