FG

enable x authentication over ssh for the root

Fresh3 days ago
Mar 15, 20264369 views
Confidence Score0%
0%

Problem

over ssh - so I do - I am fed up doing this on every login, how can I persist it?

Error Output

$xclock
$sudo su -

#xclock
X11 connection rejected because of wrong authentication.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: enable x authentication over ssh for the root

Low Risk

Don't run X11 software as root. Seriously. Use or instead of . Add to sudo's configuration option. It should point to an Xauthority file in your home directory.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment