Mailinglist Archive: opensuse (1479 mails)

< Previous Next >
Re: [opensuse] emacs woes
On Thu, Mar 01, 2012 at 09:31:34AM -0800, Marc Chamberlin wrote:
Btw: using standard login should use dbus-launch ... for my personal
~/.xsession I'm using

killall -u werner -q dbus-daemon
exec -a dbus-launch dbus-launch --sh-syntax --exit-with-session fvwm2

as very last line.
Hmmmm I investigated both my own home dir and root's home dir and
there is no such file called .xsession! Googling around tells me that
there can be either a ~/.xsession or a ~/.xinitrc which are startup
scripts for X. I have neither of these in my home dir or in root's
But there is an xinitrc file in /etc/X11/xinit/ which I sort of grok
as being probably the same thing?

If no personal ~/.xinitrc nor ~/.xsession exists then with the normal
DM like kdm and gdm the system wide startup files are used and with
kdm and gdm a dbus daemon should be launched otherwise the owner and
permission handlings for e.g. devices will not work.

I am NOT a Linux/openSuSE/X11 expert by any means, so am struggling
to understand... Sorry if this is a newbie question... I did find a
HUGE .xsession-errors file in my home dir which suggests there might
be something very wrong with the configuration of X11 on my system?
Googling also lead me to a bug submission about this file being so
big, in the openSuSE bugs database, so perhaps there is a problem in
my installation of openSuSE11.4?

The ~/.xsession-errors will be created in /etc/X11/xdm/Xsession which
then uses /etc/X11/xdm/sys.xsession. The messages in ~/.xsession-errors
I guess are from a very verbose kde or gnome session.

Anywise, since I don't have either of these files in my home dir, I
am not sure what to do at this point. I will mention that my /home
dir is located in a separate partition and I leave it alone and
simply mount it as I migrate/upgrade from one version of openSuSE to
the next. My understanding has been that this is an OK practice which
allows me to easily migrate my personal settings/files from one
version of openSuSE to the next. Is this perhaps too much to expect?
or a broken model that no longer works?

If do not know about ~/.xsession nor ~/.xinitrc you should not create
them. Such files are for hard core wizards able to understand that
for such personal files e.g. the kdm/gdm API will not work as the
settings for e.g. the window manager will be overwritten ;)


Werner

--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >