DBA Hub

📋Steps in this guide1/6

MoTTY X11 proxy: No authorisation provided

$DISPLAY is not correctly set,

oracle configurationintermediate
by OracleDba
22 views
1

Overview

MoTTY X11 proxy: No authorisation provided java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit - is not correctly set, is not correctly set, - is missing or not configured, is missing or not configured, - or is not being used or trusted. or is not being used or trusted. is not correctly set, is missing or not configured, or is not being used or trusted. Step 1: Confirm is installed
2

Section 2

If it returns nothing: Step 2: In session config: - Go to Advanced SSH settings Go to Advanced SSH settings - ✅ Ensure “X11 forwarding” is checked ✅ Ensure “X11 forwarding” is checked Go to Advanced SSH settings

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
which xauth

sudo yum install xauth # RHEL/CentOS
# or
sudo apt install xauth # Debian/Ubuntusudo yum install xauth # RHEL/CentOS
# or
sudo apt install xauth # Debian/Ubuntu
3

Section 3

✅ Ensure “X11 forwarding” is checked Step 3: Verify environment variable After login, run: Expected output:

Code/Command (click line numbers to comment):

1
2
3
echo $DISPLAY

localhost:10.0
4

Section 4

Step 4: Generate entries If it returns nothing or errors: Then re-check:

Code/Command (click line numbers to comment):

1
2
3
4
5
xauth list

xauth generate $DISPLAY . trusted

xauth list
5

Section 5

Step 5: Test with lightweight GUI app If opens a window on your Windows desktop → SUCCESS ✅ Step  6 : Check output of below command

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
xclock

echo $DISPLAY
xauth list

export DISPLAY=localhost:10.0
xclock
6

Section 6

If above one is failed Step 7: Install Re-run the test

Code/Command (click line numbers to comment):

1
2
3
sudo yum install xorg-x11-apps -y

xclock

Comments (0)

Please to add comments

No comments yet. Be the first to comment!