[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Stale image on X11 server after lost connection
From:       Ilya Anfimov <ilan () tzirechnoy ! com>
Date:       2021-04-08 8:49:48
Message-ID: 20210408084948.GA4070361 () azor ! tzirechnoy ! ru
[Download RAW message or body]

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@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@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@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@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

_______________________________________________
xorg@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic