I was hoping to get x11 forwarding to work on Google Colab. I am using a Windows 10 machine and the Google Colab OS information can be found at the bottom of the post. Here's what I did to test it out:
Made a new IPython notebook in Google Colab and installed x11 apps successfully using
!sudo apt-get install x11-apps
Set my display to be my IP address using
!export DISPLAY=<my-ip-address>
Run !xeyes
. I get an error message saying Error: Can't open display:
I'm not sure if this is a problem of using the correct DISPLAY setting, running x11 forwarding through Google Colab or both!Can anyone help me out? Thank you!
The relevant parts of the output of when I run !cat /etc/os-release
on my Google Colab notebook.
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
VERSION_ID="18.04"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic