Stale image on X11 server after lost connection
Ilya Anfimov
ilan at tzirechnoy.com
Thu Apr 8 08:49:48 UTC 2021
On Thu, Apr 08, 2021 at 10:37:55AM +0200, Jos?? Tom??s Tocino Garc??a wrote:
> I'm afraid the machine with the X11 server has no mouse or keyboard
> attached to it, so I cannot "right click" it. It's something like a kiosk.
Anyway: usually the server is launched by some display manager,
or sometimes by the xinit command invocation from some script.
In either case it launches something like Xsession script with
clients run from it, and waits until that script finishes, then
stops or restarts the server.
Probably, there are mwm window manager invocation as the last
command of that Xsession script, that runs mwm and the mwm runs
forever.
You can change it to run mwm in background, and make the last
command some kind of a watchdog, that checks the server for your
application and exits when cannot find it -- making the server
to exit when your app exits.
In any case, extensive scripting could solve many problems.
> El jue, 8 abr 2021 a las 9:57, Chris Sorenson (<csoren at cpinternet.com>)
> escribio:
>
> >
> > Re: Stale image on X11 server after lost connection
>
> >
> > Message: 1
> >Date: Tue, 6 Apr 2021 14:05:26 +0200
> > From: Jos? Tom?s Tocino Garc?a
> > To: Ilya Anfimov , xorg at lists.x.org
> > Subject: Re: Stale image on X11 server after lost connection
> > Message-ID:
> >
> > I'm sorry for the late reply. I've realized I made a mistake in the
> initial
> > post, the server is actually running motif windows manager.
> >
> > The output of xlsclients is:
> >
> > # xlsclients -al
> > Window 0x60005b:
> > Machine: localhost.localdomain
> > Name: mwm
> > Icon Name: mwm
> > Command: /usr/bin/mwm
> > Instance/Class: mwm/Mwm
> >
>
> Give this a try: Right click the desktop, the root menu should popup,
> select "Restart..."
>
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
>
> --
> Jose Tomas Tocino
> http://josetomastocino.com
> http://cadizenmoto.com
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
More information about the xorg
mailing list