I have a Ubuntu VM on VirtualBox running in headless mode. Host is a Windows 10 machine. I want to be able to render Ubuntu's applications on Windows using XServer.
Currently, I tried this:
- Installed X410 XServer on Windows.
- ssh into Virtual Machine with a
-X
option so that X forwarding is enabled. - If I run a graphical application from command line now, it complains that cannot connect XServer. My DISPLAY env variable is
localhost:10.0
.
Below is error I get on launching the graphical application:
connect /tmp/.X11-unix/X0: No such file or directory Unable to init
server: Could not connect: Connection refused Failed to parse
arguments: Cannot open display: