Problem with Xsession
Ben Scott
dragonhawk at gmail.com
Tue Oct 30 16:50:22 EDT 2007
On 10/30/07, Steven W. Orr <steveo at syslang.net> wrote:
> * We do not seem to be going through the /etc/profile, $HOME/.bash_profile
> sequence.
From what I understand, that is typical behavior . Remember that
not everybody uses bash, so cshr/tcsh/etc users will be wanting
something different.
FWIW, on my own systems (Red Hat-ish), ~/.Xclients, ~/.xinitrc, and
~/.xsession are all the same file (symlinked). They each source my
~/.bash_profile explicitly, then explicitly call "xrdb -merge
~/.Xresources", and then start the window manager. I dunno if there
are more elegant ways or not, but this always seems to work. :)
Of course, I've also got an over-complicated bash login process that
involves multiple files under a ~/.shell.d/ directory that I created,
so the above may just be me over-engineering things again....
> .... why the xmodmap call has to be made twice.
No idea there. But I don't use xmodmap.
> /etc/X11/Xsession.d/30xfree86-common_xresources
> already exists. In fact it is doing the right thing and after it executes
> the xrdb, a subsequent xrdb -query tells me that it did in fact succeed
> and that my personal resources were correctly loaded. But after the login
> process completes, nada.
Not sure on this. It may be by design. Guessing:
Define "logging in". Are you using [XKG]DM? Or from a command
prompt and then {startx, xinit}? Or something else? When you finally
get to a working X session/desktop, what's the user environment like?
GNOME/KDE, something else? How are you starting your terminal
program? Is it a login shell?
For the "subsequent xrdb -query", is that being done in the same
"30xfree86-common_xresources" file, or somewhere else?
-- Ben
More information about the gnhlug-discuss
mailing list