DMTCP doesn't support checkpointing of GUI-based applications by default.
Please see http://dmtcp.sourceforge.net/FAQ.html#xwindowsSupport for
a workaround.

You can also try starting your application under XPRA server, which is 
supported.
Example:

  # Run the xpra server and an instance of the dbus server under DMTCP
  $ dmtcp_launch /usr/bin/dbus-launch /usr/bin/xpra --no-daemon --no-mdns 
--no-pulseaudio start :100 --start-child=xclock

  # Run the following command from a separate terminal to connect with your 
application
  $ xpra attach :100

  # Detach from xpra server before checkpointing; re-attach after checkpointing 
if needed
  $ dmtcp_command --checkpoint

  # Try restarting after killing the xpra session
  $ ./dmtcp_restart_script.sh
  

On Fri, Apr 22, 2016 at 10:11:06PM +0000, Ashutosh Varma wrote:
> If an application needs DISPLAY to launch some GUI, it seems that DISPLAY env 
> from the shell from which dmtcp_launch is invoked is not passed to the 
> application.
> 
> For e.g.:
> 
> dmtcp_launch xclock
> 
> fails with error:
> 
> Error: Can't open display:
> 
> While xclock directly works on the shell using DISPLAY env set.
> 
> Am I missing something here? Docs don't say anything special needs to be done.
> 
> -Ash
> 

> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

> _______________________________________________
> Dmtcp-forum mailing list
> Dmtcp-forum@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dmtcp-forum


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to