I am trying to access GUIs from my Ubuntu 22 server. On my Windows 11 cmd with Xming installed (which I don't think I need). I run ssh -X me@myserver. Then in bash I type firefox and get the following result:
Error: no DISPLAY environment variable specified
If I set DISPLAY to localhost 0.0, it says:
Unable to init server: Could not connect: Connection refused Error: cannot open display: :0.0
Do I need an actual display plugged in my server?
Related question:
3 Reset to default