[Bug 661946] New: twm called with incorrect options from gdm
https://bugzilla.novell.com/show_bug.cgi?id=661946 https://bugzilla.novell.com/show_bug.cgi?id=661946#c0 Summary: twm called with incorrect options from gdm Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 5 of 6 Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: ohering@novell.com QAContact: qa@suse.de Found By: Outsourced Testing Blocker: --- Created an attachment (id=406659) --> (http://bugzilla.novell.com/attachment.cgi?id=406659) twm.env.txt 11.4 milestone 5 on x86_64 For some reason the default gnome session does not display anything but a black screen and the default mouse pointer on my HP Probook 6555b. So I changed runlevel to 3, changed /etc/sysconfig/windowmanager:DEFAULT_WM from gnome to twm and changed runlevel back to 5. But twm did not start because the options passed to twm were wrong. twm is called like this: /usr/bin/twm de_DE.UTF-8 A locale string is not a valid option for twm. Attached is the output from this helper script: /usr/bin/twm #!/bin/bash ( echo "$0 $*" echo "$#" env ) &> /dev/shm/twm.$PPID.$$.txt exec /usr/bin/twm.bin -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c1
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c2
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c4
Stefan Dirsch
If that's wrong, or if gdm should set LANG itself instead of relying on /etc/X11/xdm/Xsession, please move back to GNOME.
Also an option. ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c7
--- Comment #7 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c8
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c10
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c11
Olaf Hering
Olaf, can you?
I have tested the patch from comment #6 on an uptodate 11.4 installation. I changed /etc/sysconfig/windowmanager:DEFAULT_WM from gnome to twm. After that change no login is possible. Then I applied the patch, after reboot twm starts fine. Also logout and relogin works now if DEFAULT_WM is twm. But for some reasom gdm remembers that twm was there, even if I change DEFAULT_WM back to gnome and remove ~user/.dmrc. No idea if thats caused by this change, likely not. ... After some poking, the file /var/cache/gdm/olaf/dmrc must be removed... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c12
--- Comment #12 from Dr. Werner Fink
After some poking, the file /var/cache/gdm/olaf/dmrc must be removed...
this is gdm and not the Xsession script -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c13
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=661946
https://bugzilla.novell.com/show_bug.cgi?id=661946#c14
--- Comment #14 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com