Saturday, May 16, 2020

How to enable X11 forwarding for Linux in Oracle Cloud (OCI)

Make sure following parameters are set correctly in "/etc/ssh/sshd_config":
X11Forwarding yes
X11UseLocalhost no

Restart sshd

[root@fmw12c ~]# systemctl restart sshd


Software like "MobaXterm" can set the Display automatically once above settings are correct.


[oracle@fmw12c ~]$ xdpyinfo
name of display:    10.0.1.3:10.0
version number:    11.0
vendor string:    Moba/X
vendor release number:    12004000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
....

No comments:

Post a Comment