Package: xbase-clients Version: 4.3.0.dfsg.1-12.0.1 Severity: normal I have a client that sets Program to the "name" of the program, not the command used to invoke it. This appears to be an error based on the X Session Management Protocol's documentation (such as it is). However, I think that xsm's handling of this situation is ...... non-optimal. When I try to restore a session in which this client is saved, xsm begins to restore everything and then shuts the session down, dumping me to the login prompt. I get the following text in .xsession-errors:
ester:~> cat /tmp/xsession-xsm-bomb Xsession: X session started for daniel at Sat Feb 26 22:07:17 EST 2005 -> Red 1.070, Green 1.070, Blue 1.070 <- Red 1.070, Green 1.070, Blue 1.070 xsm: Can't execvp() [REDACTED]: No such file or directory QPixmap: Cannot create a QPixmap when no GUI is being used QPixmap: Cannot create a QPixmap when no GUI is being used The application 'gaim' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified The name of the program has been removed to protect the guilty, and also because I wrote it ;-). Obviously the last few lines are just spew from kmail and notes that the X server is going away. It appears that xsm terminates abruptly when execvp() failed; I think it would be much more graceful to just discard the offending client and continue. Incidentally, after this happens I can't restore the session at all because a lock file is still hanging around, but I think that's a separate issue. Daniel -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages xbase-clients depends on: ii cpp 4:3.3.5-1 The GNU C preprocessor (cpp) ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libdps1 4.3.0.dfsg.1-12.0.1 Display PostScript (DPS) client li ii libexpat1 1.95.8-1 XML parsing C library - runtime li ii libfontconfig1 2.2.3-4 generic font configuration library ii libfreetype6 2.1.7-2.3 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-9 GCC support library ii libice6 4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library ii libncurses5 5.4-4 Shared libraries for terminal hand ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libsm6 4.3.0.dfsg.1-12.0.1 X Window System Session Management ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3 ii libxaw7 4.3.0.dfsg.1-12.0.1 X Athena widget set library ii libxcursor1 1.1.3-1 X cursor management library ii libxext6 4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte ii libxft2 2.1.2-6 FreeType-based font drawing librar ii libxi6 4.3.0.dfsg.1-12.0.1 X Window System Input extension li ii libxmu6 4.3.0.dfsg.1-12.0.1 X Window System miscellaneous util ii libxmuu1 4.3.0.dfsg.1-12.0.1 lightweight X Window System miscel ii libxpm4 4.3.0.dfsg.1-12.0.1 X pixmap library ii libxrandr2 4.3.0.dfsg.1-12.0.1 X Window System Resize, Rotate and ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-12.0.1 X Toolkit Intrinsics ii libxtrap6 4.3.0.dfsg.1-12.0.1 X Window System protocol-trapping ii libxtst6 4.3.0.dfsg.1-12.0.1 X Window System event recording an ii libxv1 4.3.0.dfsg.1-12.0.1 X Window System video extension li ii xlibmesa-gl [libgl1] 4.3.0.dfsg.1-12.0.1 Mesa 3D graphics library [XFree86] ii xlibmesa-glu [libglu 4.3.0.dfsg.1-12.0.1 Mesa OpenGL utility library [XFree ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu ii xlibs-data 4.3.0.dfsg.1-12 X Window System client data ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- /----------------- Daniel Burrows <[EMAIL PROTECTED]> -----------------\ | I haven't lost my mind, | | I know exactly where I left it. | \------ (if (not (understand-this)) (go-to http://www.schemers.org)) -------/
pgpz4hfeoYRs8.pgp
Description: PGP signature