I was trying to run Photoscan headless. I want to run that photoscan in other machine through ssh using:
ssh {host-ip address}
When I just use ssh login and try to run my script using:
photoscan -r {script-name}
I get this error:
QXcbConnection: Could not connect to display
Aborted (core dumped)
But when I run ssh -X to login,
ssh -X {host-ip address}
And if I run the photoscan script now photoscan -r {script-name}
, it runs completely fine.
But, wanted to run photoscan in ssh login only as most of the Virtual machines don't allow ssh -X
Please do help me out with this.