Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 09:43:48 -0800
From:      "Anthony Discolo" <avdiscolo@hotmail.com>
To:        freebsd-questions-local@be-well.ilk.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5.2: How do I automatically restart twm with the Default session?
Message-ID:  <Sea2-F7BADxEfPyo1z300004710@hotmail.com>

next in thread | raw e-mail | index | archive | help
Yes, this is the default twm that comes with 5.2.  I was not using a 
~/.twmrc or a ~/.xsession.

I figured out that twm dumps core when it is restarted by xsm.  I also 
learned that it's xsm that puts up the session dialog, and that "xsm 
-session Default" automatically starts the Default session eliminating the 
dialog.  After twm dumped core, sometimes the Default session would remain 
locked, preventing me from logging in (since xsm couldn't open the Default 
session).  Using the Fail Safe session always worked fine, but I hated 
having to select it everytime I logged in.

Anyway, I couldn't get xsm to automatically reload my Default session 
without having twm dump core, so I stopped using xsm all together.  I simply 
have twm started by my ~/.xsession now (along with my favorite x commands) 
and things work fine.

If you have any advice on how to get xsm and twm to peacefully coexist, I'd 
appreciate it.

----Original Message Follows----
From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Reply-To: freebsd-questions@freebsd.org
To: "Anthony Discolo" <avdiscolo@hotmail.com>
CC: freebsd-questions@freebsd.org
Subject: Re: FreeBSD 5.2: How do I automatically restart twm with the 
Default session?
Date: 31 Jan 2004 12:28:47 -0500

"Anthony Discolo" <avdiscolo@hotmail.com> writes:

 > Everytime I log in twm asks me to load the Default session.  Is there
 > any way I can have it automatically load it (maybe something in the
 > ~/.twmrc)?
 >
 > I've also run into problems with reloading the Default session.
 > Sometimes twm dumps core.  If I load the Fail Safe session, it seems
 > to work fine.

Is this actually twm as installed from the base X packages?
Are you starting it from xdm(1) or startx(1)?
What does your .xsession or .xinitrc look like?
Does removing your personal .twmrc have any effect?

_________________________________________________________________
Learn how to choose, serve, and enjoy wine at Wine @ MSN. 
http://wine.msn.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Sea2-F7BADxEfPyo1z300004710>