Making xset stick on a secondary X session

Alan Coopersmith alan.coopersmith at
Tue Oct 13 08:42:21 PDT 2015

On 10/13/15 07:23 AM, Tony Mobily wrote:
> The keyboard repeat rate and delay are adjusted. Great! CTRL-D and exit that
> term. Go back to the "main" X session, and type again:
> |xterm
> |
> The new repeat/delay settings are gone (?!?!?!), keyboard is slow/delay is
> long-ish again!

Due to a long ago design decision that was encoded in the protocol spec,
when the last client disconnects from the X server it resets everything
to default settings.

You could avoid this by:
  - not disconnecting all clients - leave a window manager, xclock, xlogo, etc.
  - starting the X server with the "-noreset" flag to disable this feature

See the Xserver(1) man page for details.

	-Alan Coopersmith-              alan.coopersmith at
	 Oracle Solaris Engineering -

More information about the xorg mailing list