I have successfully deployed an exhibit system running the chromium snap under ubuntu-frame in a remote community and will be flying home soon. I have set things up to be able to access the system remotely via ssh. In order to help me troubleshoot any problems being reported in the future, I’m wondering if it is currently possible to generate a screenshot from the command line of what ubuntu-frame is displaying. Then I could copy the file off and look at it. This would save me having to ask people to send me photos of the problem and each of my attempts to fix it.
Relevant System Information:
Dell Optiplex Micro installed in a Dell C6522QT touch display.
Screenshots or Error Messages: If applicable, add screenshots or error messages. *
** We prefer copy-pasted text and screenshots instead of photos of screens, if possible.
Ha! Someone will appreciate my request then!
What I’ve Tried:
I read about the tool called scrot but when running apt install scrot to try it out, there was a long list of dependencies including X11 stuff that looked like they might screw with my working ubuntu-frame setup so I did not proceed.
Is there an example of ubuntu-frame.screenshot usage somewhere? I am clearly missing some piece of how this all works.
root@nattilikscreen:/home/ahayes# ubuntu-frame.screenshot
failed to create display
root@nattilikscreen:/home/ahayes# ubuntu-frame.screenshot help
failed to create display
root@nattilikscreen:/home/ahayes# man ubuntu-frame.screenshot
No manual entry for ubuntu-frame.screenshot
root@nattilikscreen:/home/ahayes# ubuntu-frame.screenshot --help
failed to create display
root@nattilikscreen:/home/ahayes# cd
root@nattilikscreen:~# exit
exit
ahayes@nattilikscreen:~$ sudo ubuntu-frame.screenshot
failed to create display
ahayes@nattilikscreen:~$
Reading the vnc doc you also linked gave me a clue that perhaps I need to be explicitly setting WAYLAND_DISPLAY before running ubuntu-frame and then again before running anything that needs to connect to an existing ubuntu-frame. I didn’t try that because I don’t want to blindly experiment with the system just before flying out so I’ll wait for a bit more guidance first.