LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2005, 07:35 AM   #1
ran404
LQ Newbie
 
Registered: Mar 2005
Distribution: Ubuntu 7.04
Posts: 2

Rep: Reputation: 0
.xsession file causes login crash?


i'm trying to use the 'xmodmap' command inside the '.xsession' file to map my mouse buttons but for some reason x crashes right after login.

i got an error message saying "Your session only lasted less than 10 seconds ......"
clicking on 'vew details' shows no errors at all. this is strange because i never had this problem on other distributions.

the problem goes away if rename the file. however even an empty .xsession file causes the crash! .xinitrc does exactly the same thing!

anyone has any idea on how to fix this? im using gdm btw.
my .xsession file has a single line:
xmodmap -e "pointer = 1 2 3 6 7 4 5"

thanks!
 
Old 03-13-2005, 12:55 PM   #2
TomaCzar
Member
 
Registered: Dec 2003
Location: Roc City (Rochester-NY)
Distribution: Slacker 4 Life
Posts: 125

Rep: Reputation: 15
I'm pretty sure the last line in the .xsession is supposed to load the window manager. My last line is:

exec /usr/X11R6/bin/fluxbox

which brings up Fluxbox (obviously). I don't know what your wm is so I couldn't give you the exec line to use.

My .xsession is based off of /etc/X11/xdm/Xsession so you might wish to try that (removing all of the conditional stuff that does not apply to your box). Good luck.
 
  


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
??? Xsession: Login for someuser is disabled. mark_umr Suse/Novell 2 10-12-2005 04:25 AM
~/.xsession-error file while login in fc2 Rudrashetty Linux - Software 1 09-07-2005 04:34 PM
~/.xsession-error file while login in fc2 Rudrashetty Linux - General 2 09-07-2005 01:45 PM
Login/xsession Problem aquaphile Linux - General 11 11-06-2003 05:51 PM
mandrake 9.1 login default xsession theasp Linux - General 4 07-25-2003 08:37 AM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration