Linux Operating System (MOSC)

MOSC Banner

Setting X11-forwarding in Oracle Cloud Infrastructure

edited Feb 8, 2019 7:57AM in Linux Operating System (MOSC) 2 commentsAnswered ✓

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                                  │

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center