Line 52:
Line 52:
Then you should create a directory for image files (e.g. <code>imgs</code>) and dump the tree starting from the VNC launching script
Then you should create a directory for image files (e.g. <code>imgs</code>) and dump the tree starting from the VNC launching script
−
# criu dump -t 17854 --images-dir imgs/ --log-file dump.log -v 4 --tcp-established
+
# criu dump -t 17854 --images-dir imgs/ --log-file dump.log -v4 --tcp-established
−
The <code>-v 4</code> option is required to make criu more verbose and the <code>--tcp-established</code> one is needed, to make criu handle active TCP connection -- the one between VNC server and VNC client.
+
The <code>-v4</code> option is required to make criu more verbose and the <code>--tcp-established</code> one is needed, to make criu handle active TCP connection -- the one between VNC server and VNC client.
Check the criu return code to be 0, or the imgs/dump.log file last message to be
Check the criu return code to be 0, or the imgs/dump.log file last message to be