rtd: revert patches for printing, currently does not work when not using X11 shared memory

the problem is in the offset handling - somewhere