Setting X11-forwarding in Oracle Cloud Infrastructure
Hi
I have setup my first Oracle Linux VM in OC.
I now want to use X11 (I'm using MobaXTerm).
sudo yum install xclock links unzip libXtst xorg-x11-xauth.x86_64
The X11 server is running with my localhost IP:0.0.
I have then connected to my VM over ssh and changed the sshd_config file with:
AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
I then ran:
sudo service sshd restart
I then ran:
sudo xclock --> result Error: Can't Open Display
When I start a new session I get the following message:
➤ SSH session to opc@OCI VM IP │