I am locally on a machine without root rights. X forwarding is disabled.
Remotely I am running a process on a machine without a screen, using the Xvfb
virtual framebuffer which simulates an X server but discards any image displayed. This works reasonably well.
Now, some things are not working, and I need to debug by looking at the X screen. I did take a screenshot in Xvfb
with xwd -display :99 -root -out /tmp/screenshot.xwdump
but it is quite complicated to look at many of them in a sequence.
Is there a way to connect with from my client to the server, and then connect to the framebuffer in order to display the remote X window locally?
This could be a second ssh
channel. The X program should ideally keep on running after disconnecting and I would like to be able to start it before the second connection if possible (think spice
).
I only have outgoing connections to the server, and only to port 22. On neither machine root rights are available.
PS: This question is similar to Running programs over ssh but my requirement is that no program can be installed as root
on client or server which seems to rule out xpra
(the answer given there) unless I find an easy way to use it.
xpra
seems very difficult to install as non-root from src (which needs libraries that are not installed).DISPLAY
or using--display
? If so, what happens when you do so?DISPLAY
so they connect to some X server on your local machine (which you can simply install with root rights).