Roger Luedecke said the following on 12/29/2012 05:15 PM:
I need to do the following, but don't want to switch to KDM:
Set this DISPLAYMANAGER_KDM_LOCALARGS="-core" in /etc/sysconfig/displaymanager and also you have to switch to kdm. (Or investigate how to pass arguments to X via gdm or whatever you use.)
When you have everything all right, ps should show Xorg -br :0 vt7 ... -core. Now it generates core files on crashes. You can set locations of those by: sysctl kernel.core_pattern=/core
Is there any /core* after the freeze occurs?
I'm into hacking systemd ... The systemd unit that starts the DM calls "prefdm -daemon" Many systemd units make use of parameters in /etc/sysconfig so I'd alter that to read "prefdm -daemon $OPTIONS" and alter the unit to include EnvironmentFile=/etc/sysconfig/prefdm and in there have the file "/etc/sysconfig/prefdm" contain the line "OPTIONS=" -core " To be honest, I don't know why that's not already in there. Well, yes I do; reading the man pages for xorg and xserver its clear that ... <quote src="man 1 xserver"> Some X servers may have alternative ways of providing the parameters described here, </quote> Aren't they talking about the /etc/X1/xorg.conf file? (Or today, what's under /etc/xorg.conf/d/) In fact the xorg.conf(5) man page says <quote> Option "NoTrapSignals" "boolean" This prevents the Xorg server from trapping a range of unexpected fatal signals and exiting cleanly. Instead, the Xorg server will die and drop core where the fault occurred. The default behaviour is for the Xorg server to exit cleanly, but still drop a core file. In general you never want to use this option unless you are debugging an Xorg server problem and know how to deal with the consequences. </quote> I suspect that's what you want since its focused on the Xserver and doesn't require hacking systemd. Like I said, I'm very into systemd this weekend :-) See http://books.google.ca/books?id=K0iOxlCfPdgC&pg=PA121&lpg=PA121&dq=notrapsignals&source=bl&ots=sFIptKIkj6&sig=plqIjGk7yOBrICSF1pK0OHTL4dc&hl=en&sa=X&ei=govfUNfJBILm2QWAj4D4Cg&ved=0CKcBEOgBMA4#v=onepage&q=notrapsignals&f=false So there you have two ways of going about it :-) -- Auditing security is complex, challenging, and not for the uninformed Avoiding IS Icebergs http://infosecuritymag.techtarget.com/articles/october00/features3.shtml -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org