Changes

Jump to: navigation, search

VNC

32 bytes added, 7 April
m
Start VNC server and application
* First, X software uses SystemV IPC shared memory to exchange data between server and application, thus you'll have to run the whole stuff in IPC namespace;
* Second, in order to be restored reliably, it's recommended to run [https://tigervnc.org/ VNC server], window manager and application in a PID namespace;
* Third, when started from shell they will inherit session ID and terminal from that shell, which might block dump.
#!/bin/bash
set -m
Xvnc :25 -v -geometry 800x600 -i interface 0.0.0.0 -SecurityTypes none &
pid=$!
trap "kill $pid; wait" EXIT
124
edits

Navigation menu