xvfb backround info
X Virtual Framebuffer
http://de.wikipedia.org/wiki/Xvfb
e.g. use it to create screenshots.
For a basic implementation, see this:https://github.com/leonid-shevtsov/headless/blob/master/lib/headless.rb
RTFM: Howto make emacs use the X clipboard
(setq x--select-enable-clipboard 't)I struggled with this problem for a long time, occasionally using
cat and copy&paste from a terminal window to get text out of emacs - while I should simply have read the manual.