🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38238

Re: How do I start scosession without starting mwm ??

#38238
From: Andrew Chan
Date: Mon, 04 Apr 1994 23:13
74 lines
3924 bytes
Eigil Krogh Sorensen (eks@vki68.aar-vki.dk) wrote:
: Please help with this problem:
: 
: We just upgraded from ODT-2.0 to ODT-3.0.
: 
: After this upgrade we have a problem with external Xterminals. These
: Xterminals consists of PC's running PC-Xware.
: 
: Before we upgraded we could use the local (on the PC) Window Manager
: (Either NCD's wm or MS wm). After XDM connect to the SCO ODT computer
: and login via the SCO LOGIN window the normal scosession was run
: and the normal DeskTop would come up. The only special that had to be

: Now with ODT-3.0 this won't work at all. The only thing that happens
: after login via the SCO Login window is the SCO timeglass appears on
: the PC screen for 1/2 seccond and the the scosession is terminated.
: 
: Here is what scosession writes out, if the local WindowManager is
: running on the Xterminal:
: 
: 659 (slam:/usr/eks) eks $ scosession
: scosession: another (window) manager is already running.
: 660 (slam:/usr/eks) eks $
: 
: 
: What can be the reason for that and what can I do to solve it ?
: 
: How can I start my normal DeskTop without starting mwm ?
: 


  To get this to work try doing the following.  Create a shell script which
starts the Window Manager on the X terminal.  Then add the follow to your
~/.Xdefaults file:

    ScoSession*windowManager: ncdwm

  where ncdwm is the name of the shell script.  You might have to merge this
into your resources with the command:

    xrdb -m ~/.Xdefaults

  This will start the window manager for you when you login.  I also start
the ncdlauncher from this script so that I can customize the root window
menus.

  A side effect of not using mwm is that the SCO session manager also saves
the state of running applications and attempts to restart them the next time
you login.  With NCD X terminals I have found that an entry for the window
manager created.  The next time you login an error occurs.

  These entries are placed in the file ~/.odtpref/ScoSession/dynamic.  The
entry for the NCD window manager looks like the following:

    unknown	"wm"
    {
	_geometry		101x28+-526+-436
	_state			normal
    }
  

  To fix this I modified the /usr/lib/X11/sco/ScoSession/shutdown file to
remove the entry for the window manager.  This script is run when scosession
is run with the stop option (ie. when logging out).

Hope this helps

Andrew

--
=============================================================================
Andrew Chan (achan@swm.metrotor.on.ca)                    Phone:    392-9653
Systems/Network Administrator - Metro Works / SWM         Fax:      392-4501
=============================================================================
Technical Details
Message-ID: <1994Apr04.231344.16936@metrotor.on.ca>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!tiger!sutnfs!news-is-noda!donald!nirvana.cs.titech!wnoc-tyo-news!news.u-tokyo.ac.jp!sinetnews!daffy!uwvax!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!cs.utexas.edu!utnut!torn!uunet.ca!uunet.ca!metrotor.on.ca!achan
References: <2ng93l$q3o@belfort.daimi.aau.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103734,be1f6db37b49348
X-Google-Attributes: gid103734,public
X-Google-Thread: 1122ea,be1f6db37b49348
X-Google-Attributes: gid1122ea,public
X-Google-Thread: 10b6ac,be1f6db37b49348
X-Google-Attributes: gid10b6ac,public
X-Google-Thread: 134180,be1f6db37b49348
X-Google-Attributes: gid134180,public
X-Google-ArrivalTime: 1994-04-04 16:13:44 PST
Newsgroups: comp.windows.x,comp.windows.x.motif,biz.sco.opendesktop,biz.sco.general
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!tiger!sutnfs!news-is-noda!donald!nirvana.cs.titech!wnoc-tyo-news!news.u-tokyo.ac.jp!sinetnews!daffy!uwvax!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!cs.utexas.edu!utnut!torn!uunet.ca!uunet.ca!metrotor.on.ca!achan
From: achan@swm.metrotor.on.ca (Andrew Chan)
Subject: Re: How do I start scosession without starting mwm ??
Organization: The Municipality of Metropolitan Toronto
Date: Mon, 04 Apr 94 23:13:44 GMT
Message-ID: <1994Apr04.231344.16936@metrotor.on.ca>
X-Newsreader: Tin 1.1 PL5
References: <2ng93l$q3o@belfort.daimi.aau.dk>
Sender: news@metrotor.on.ca (News Administrator)
Nntp-Posting-Host: hobbes.swm.metrotor.on.ca
Lines: 74