Subject: Re: One keyboard problem solved, one new one
To: port-hpcsh list <port-hpcsh@netbsd.org>
From: Michael Wileman <jwileman@panix.com>
List: port-hpcsh
Date: 03/15/2006 15:29:14
On Wed, 15 Mar 2006, Valeriy E. Ushakov wrote:

> On Wed, Mar 15, 2006 at 13:26:45 -0500, Michael Wileman wrote:
>
>>> A workaround is to arrange for the server to start with either
>>> -terminate or -noreset flag to avoid the race.  E.g.
>>>
>>>    $ startx -- -terminate
>>
>> Is there a way I can put that -terminate option into a config file
>> somewhere, so that I can still use the standard startx without
>> typing in the rest and without aliasing it to a command I'm going to
>> forget about later?
>
> man startx
> /xserverrc

Thanks for the tip. Also need to check out the man page for xinit.

Turns out that for my default install, I had to create .xserverrc in 
my home dir, with the single line

X :0 -terminate

Now I can shut down X using the fvwm menu. Excellent!

Mike