🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.apps
Article #556

xdm woes: Xsession exec fail

#556
From: SANDY BIRCH
Date: Fri, 13 Nov 1992 09:29
63 lines
2131 bytes
      [  
          arch/mach = sun4/sparc
	  os = SunOS Release 4.1.1 (GENERIC)
          X  = X11R4
      ]

Hi,

I have xdm setup with the following configurn on X11R4 (no XDMCP):

  /usr/lib/X11/xdm/xdm-config   (describes session, error, server and resource files)
  /usr/lib/X11/xdm/Xservers     (only local server; no foreign servers; no XDMCP)
  /usr/lib/X11/xdm/Xsession     (merely execs $HOME/.xsession)
  /usr/lib/X11/xdm/Xresources   (describes login box decorations and translations)

Permissions:

   -rw-r--r--  1 root          286 Nov 12 14:16 Xresources
   -rw-r--r--  1 root           24 Nov 12 10:55 Xservers
   -rwxr-xr-x  1 root           72 Nov 12 14:31 Xsession
   -rw-r--r--  1 root          333 Nov 12 13:26 xdm-config
   -rwxr-xr-x  1 root           68 Nov 12 14:54 xdm-errors
   -rw-r--r--  1 root            4 Nov 12 14:54 xdm-pid

When I invoke xdm and login as an ordinary user, Xsession is never execed.

I ran xdm in debug mode:

     # /usr/bin/X11/xdm -debug 9

After xdm is started:

      [...tonnes of stuff...]
      After OpenDisplay (:0)
      ManageSession :0
      Loading resource file
      name now :0
      greet :0
      secureDisplay :0
      Before XGrabServer :0
      XGrabKeyboard succeeded :0
      [...]
      Done with authorization file /usr/lib/X11/xdm/auth-server
      dispatching :0
      (pause)

Messages after I login as a user:

    ...
    new is in place, go for it
    secureDisplay :0
    exec Xsession
    exec failed

That's it. catting xdm-errors shows a similar message:

    error (pid 373): Session execution failed /usr/lib/X11/xdm/Xsession

What's wrong ?

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
Technical Details
Message-ID: <13NOV199204295413@vtcc1.cc.vt.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!vtserf!vtcc1.cc.vt.edu!ramakrish

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vtserf!vtcc1.cc.vt.edu!ramakrish
From: ramakrish@vtcc1.cc.vt.edu (SANDY BIRCH)
Newsgroups: comp.windows.x.apps
Subject: xdm woes: Xsession exec fail
Message-ID: <13NOV199204295413@vtcc1.cc.vt.edu>
Date: 13 Nov 92 09:29:00 GMT
Sender: usenet@vtserf.cc.vt.edu
Organization: Virginia Tech, Blacksburg, Virginia
Lines: 63
News-Software: VAX/VMS VNEWS 1.41