--- Begin Message ---
Package: xbase
Version: 3.3-4
When reloading twm from xsm, it core dumps (under startx) or hangs and prevent
xsm from loading anything else (under xdm).
To reproduce:
1. Change your .xsession to:
#! /bin/sh
exec xsm
2. start X (running startx or logging in from xdm)
3. do a Shutdown with checkpoint from xsm
4. start X again.
It will not load twm, if you're from startx you can run it from xterm (twm &).
When I tried from startx, it left a core file; from xdm, it stopped and did not
allow xsm to reload xterm and smproxy.
The configuration file is from menu_1.3-2's
/usr/doc/menu/examples/{system.twmrc-menu,twm}
Configuration file (~/.twmrc -> symlink to ~/.twm/system.twmrc):
#
# $XConsortium: system.twmrc,v 1.8 91/04/23 21:10:58 gildea Exp $
#
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment. For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth
Color
{
BorderColor "slategrey"
DefaultBackground "maroon"
DefaultForeground "gray85"
TitleBackground "maroon"
TitleForeground "gray85"
MenuBackground "maroon"
MenuForeground "gray85"
MenuTitleBackground "gray70"
MenuTitleForeground "maroon"
IconBackground "maroon"
IconForeground "gray85"
IconBorderColor "gray85"
IconManagerBackground "maroon"
IconManagerForeground "gray85"
}
#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }
#
# Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "/Debian"
Button2 = : root : f.menu "defops"
Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
Button3 = m : window|icon : f.function "move-or-raise"
Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower
Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify
Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify
#
# And a menus with the usual things
#
menu "defops"
{
"Twm" f.title
"Iconify" f.iconify
"Resize" f.resize
"Move" f.move
"Raise" f.raise
"Lower" f.lower
"" f.nop
"Focus" f.focus
"Unfocus" f.unfocus
"Show Iconmgr" f.showiconmgr
"Hide Iconmgr" f.hideiconmgr
"" f.nop
"Kill" f.destroy
"Delete" f.delete
"" f.nop
"Restart" f.restart
"Exit" f.quit
}
#Automatically generated file. Do not edit (see /usr/doc/menu/README)
menu "/Debian/Apps/Editors"
{
"Emacs" f.exec "/usr/bin/emacs &"
"Xedit" f.exec "/usr/bin/X11/xedit &"
}
menu "/Debian/Apps/Emulators"
{
"Dos Emulator" f.exec "xterm -title \"Dos Emulator\" -e /usr/bin/dos &"
"The Linux Dos Emulator" f.exec "/usr/bin/xdos &"
}
menu "/Debian/Apps/Math"
{
"Xcalc" f.exec "/usr/bin/X11/xcalc &"
}
menu "/Debian/Apps/Net"
{
"Lynx" f.exec "xterm -title \"Lynx\" -e /usr/bin/lynx &"
"Telnet" f.exec "xterm -title \"Telnet\" -e /usr/bin/telnet &"
"Xbiff" f.exec "/usr/bin/X11/xbiff &"
"Xmh(mail)" f.exec "/usr/bin/X11/xmh &"
"ftp" f.exec "xterm -title \"ftp\" -e /usr/bin/ftp &"
}
menu "/Debian/Apps/Programming"
{
"Gdb" f.exec "xterm -title \"Gdb\" -e /usr/bin/gdb &"
}
menu "/Debian/Apps/Shells"
{
"Bash" f.exec "xterm -title \"Bash\" -e /bin/bash -login &"
"Ksh" f.exec "xterm -title \"Ksh\" -e /usr/bin/ksh -l &"
"Sh" f.exec "xterm -title \"Sh\" -e /bin/sh -login &"
"Tcsh" f.exec "xterm -title \"Tcsh\" -e /usr/bin/tcsh -l &"
}
menu "/Debian/Apps/System/Admin"
{
"Lilo-config" f.exec "xterm -title \"Lilo-config\" -e /usr/sbin/su-to-root -p root -c /usr/sbin/liloconfig &"
"gpm-config" f.exec "xterm -title \"gpm-config\" -e /usr/sbin/su-to-root -p root -c /usr/sbin/liloconfig &"
"paper-config" f.exec "xterm -title \"paper-config\" -e /usr/sbin/su-to-root -p root -c /usr/sbin/paperconfig &"
}
menu "/Debian/Apps/System"
{
"Admin" f.menu "/Debian/Apps/System/Admin"
}
menu "/Debian/Apps/Tools"
{
"Viewres" f.exec "/usr/bin/X11/viewres &"
"Xclock" f.exec "/usr/bin/X11/xclock &"
"Xev" f.exec "/usr/bin/X11/xev &"
"Xgc" f.exec "/usr/bin/X11/xgc &"
"Xmag" f.exec "/usr/bin/X11/xmag &"
"Xman" f.exec "/usr/bin/X11/xman &"
}
menu "/Debian/Apps"
{
"Editors" f.menu "/Debian/Apps/Editors"
"Emulators" f.menu "/Debian/Apps/Emulators"
"Math" f.menu "/Debian/Apps/Math"
"Net" f.menu "/Debian/Apps/Net"
"Programming" f.menu "/Debian/Apps/Programming"
"Shells" f.menu "/Debian/Apps/Shells"
"System" f.menu "/Debian/Apps/System"
"Tools" f.menu "/Debian/Apps/Tools"
}
menu "/Debian/Games/Toys"
{
"Ico" f.exec "/usr/bin/X11/ico &"
"Xeyes" f.exec "/usr/bin/X11/xeyes &"
}
menu "/Debian/Games"
{
"Toys" f.menu "/Debian/Games/Toys"
}
menu "/Debian/System"
{
"Top" f.exec "xterm -title \"Top\" -e /usr/bin/top &"
}
menu "/Debian/XShells"
{
"Xterm" f.exec "/usr/bin/X11/xterm -ls &"
}
menu "/Debian"
{
"Apps" f.menu "/Debian/Apps"
"Games" f.menu "/Debian/Games"
"System" f.menu "/Debian/System"
"XShells" f.menu "/Debian/XShells"
}
##
## menu "/Debian
## {
## "Twm" f.title
## "Xterm" f.exec "/usr/bin/X11/xterm &"
## "SubMenu" f.menu "SubMenu"
## }
##
## menu "SubMenu"
## {
## "Xv" f.exec "/usr/bin/X11/xv /home/joost/mens/joost/plaatje/nu/unknwn15.jpeg &"
## }
System info:
Debian 1.3.1
Linux cesarb1 2.0.33 #1 Sun Jun 14 09:35:34 EST 1998 i386 unknown
/lib/libc.so.5 -> /lib/libc.so.5.4.33
Related packages: xlib6_3.3-4, xfntbase_3.3-4
Xserver: SVGA 640x480 8bit (virtual 800x600)
Hardware: 386SX 25MHz, no FPU (kernel emulation), TVGA9000, MouseSystems mouse
Comments (no relevant info after this point):
My workaround is to say 'twm: restart never' to xsm and add it to the 'restart
non-session-aware clients' list; but that leaves junk (.twm{a,b}*) I have to
delete manually, and does not save window positions (of course).
Sorry about any mistake: I'm using the text console, and cannot see the right
text on X (slow computer :-) ).
Sorry about the grammar: I'm not a native English speaker.
Sorry about any typos: My keyboard is 7-year-old and sometimes fail (the whole
computer is from 91, except HD, modem and mouse).
--
Cesar Eduardo Barros
Cesar.Barros@web4u.com.br
http://cesarb.home.ml.org/
--- End Message ---