I'm not sure what causes this bug, but when I login using any of the three default themes (Nebulous.eet, default.eet, or taillights.eet), entrance goes through the authentication phase correctly, but it always runs /etc/X11/xdm/Xsession with no arguments. The problem seems to be that the test in entrance/src/client/entrance_session.c, line 353 always returns false. All files involved are availiable at http://members.cox.net/dan.hirsch/entrance-bug.tar.bz2 NOTE: This archive extracts to the current directory, not a subdirectory ad most source does. Reproducible: Always Steps to Reproduce: 1. Add a fluxbox seesion to /etc/X11/Sessions/fluxbox 2. Add the following keys to entrance_config.tar.bz2: /entrance/session/2/icon - fluxbox.png /entrance/session/2/session - /etx/X11/Sessions/fluxbox /entrance/session/2/title - fluxbox /entrance/session/count - 3 3. Startup 'Xvnc -geometry 800x600 -depth 16 :1' (TightVNC version) 4. Run entrance with no arguments Actual Results: This data is printed on the terminal: Debug: ipc_title = /var/lib/entrance_ipc_0 entrance_ipc_init: connect to daemon failed. entrance: main: XAUTHORITY = (null) Failed on: dan(/usr/share/entrance/themes/default.eet) entrance_ipc_shutdown: Success -------------------------------------------------- Entrance runs /etc/X11/xdm/Xsession with no arguments Expected Results: It should have run "/etc/X11/Xsession fluxbox", which, with my patch on Xsession, will run /etc/X11/Sessions/fluxbox Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://127.0.0.1/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bzlib crypt cscope cups curl curlwrappers dga dio doc emacs encode esd evo exif fftw foomaticdb ftp gb gdbm gif ginac gmp gnome gnutils gpm gps gtk gtk2 gtkhtml imagemagick imlib java jpeg junit lcms ldap leim lesstif libg++ libwww lwww mad mbox mikmod mime mmap motif mozilla mpeg mpi mule ncurses nis nls nocardbus nocd offensive oggvorbis opengl oss pam pdflib perl plotutils png posix python quicktime readline sdl session shared sharedmem slang sockets spell sse ssl svg svga sysvipc tcltk tcpd tetex tidy tiff truetype videos wmf wxwindows x86 xml2 xmms xpm xv zlib"
Created attachment 37837 [details] This is an archive that, when extracted to the root directory, gives my versions of all files involved This includes the following files: /etc/entrance_config.db /etc/X11/dm/Sessions/fluxbox /etc/X11/dm/Sessions/fluxbox.desktop /etc/X11/xdm/Xsession /usr/share/entrance/images/sessions/fluxbox.png
Oh... I'm running Gentoo in VMware workstation 4.5.2
works fine for me you should be setting the session key to 'fluxbox' not to '/etx/X11/Sessions/fluxbox' ...
I tried changing the session key to fluxbox; nothing changed.
2 more things... 1) With the old setting, it should have run /etc/X11/Sessions/fluxbox, not /etc/X11/xdm/Xsession 2) I know that it's executing Xsession with no arguments because that's what shows up in the log from the call in entrance/src/client/entrance_session.c:371 . The log messages that are put out are: Aug 20 16:29:24 [entrance(pam_unix)] session opened for user root by root(uid=0) Aug 20 16:47:25 [entrance] PAM: Success. Aug 20 16:47:27 [entrance] Executing /etc/X11/xdm/Xsession Aug 20 16:47:27 [entrance] Starting session for user "root".
best to deal with upstream since this is a cvs-only app