Bug 127516 - .xsession doesn't seem to work
Summary: .xsession doesn't seem to work
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: i586 SUSE Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 10:33 UTC by Frederik Vos
Modified: 2005-10-12 13:14 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
my .xsession (654 bytes, application/octet-stream)
2005-10-11 12:13 UTC, Frederik Vos
Details
my .xsession-errors (5.61 KB, application/octet-stream)
2005-10-11 14:58 UTC, Frederik Vos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Vos 2005-10-11 10:33:01 UTC
In SUSE 9.3 i had a simple .xsession file to do some keymappings for my
multimedia keyboard

#!/bin/bash -l
/usr/X11/bin/xmodmap -e "keycode 223 = XF86Standby"
/usr/X11/bin/xmodmap -e "keycode 130 = XF86WWW"
/usr/X11/bin/xmodmap -e "keycode 236 = XF86Mail"
etc

I created an .xsession file (executable) in my homedir under SUSE 10, and kdm
doesn't start my kde. If I go to init 3, and i do startx, .xsession is ignored.

Is this a bug or is .xsession maybe depricated ?
Comment 1 Stefan Dirsch 2005-10-11 10:44:02 UTC
Could you give me some more details by attaching your .xsession file so I can
try to reproduce this problem? Thanks.
Comment 2 Frederik Vos 2005-10-11 12:13:16 UTC
Created attachment 53621 [details]
my .xsession
Comment 3 Stefan Dirsch 2005-10-11 14:48:57 UTC
Could you attach your .xsession-errrors? Thanks.
Comment 4 Frederik Vos 2005-10-11 14:58:50 UTC
Created attachment 53645 [details]
my .xsession-errors

please notice, trying to login from kdm the .xsession-errors is just empty...
so the content of this file is generated after the startx (login from kde if
.xsession doesn't work like i said in the ticket).
Comment 5 Stefan Dirsch 2005-10-11 14:59:37 UTC
BTW, I can't reproduce this problem when using your .xsession file. The kde
session is started without any problems by KDM.
Comment 6 Stefan Dirsch 2005-10-11 15:03:18 UTC
Can't you simply take the .xinitrc.template file, rename it to .xinitrc and add
the xmodmap commands you need?
Comment 7 Frederik Vos 2005-10-11 15:20:23 UTC
that's ok for me ... but it's still strange why it doesn't work any longer

if you try my .xsession file, login from kdm, did it really load the requested
settings ?
Comment 8 Stefan Dirsch 2005-10-11 15:42:00 UTC
I couldn't find these settings after login, but it might have been overwritten
at a later point.
Comment 9 Stefan Dirsch 2005-10-12 13:14:34 UTC
I just investigated again. You need a complete replacement for xinitrc in your
.xsession file, not only some additional commands like xmodmap. Then it
shouldn't matter if you use .xsession or .xinitrc. startx only reads .xinitrc.
Therefore many users create a .xinitrc and create a symlink .xsession to it.
Settting to
INVALID therefore.