Skip to content

Instantly share code, notes, and snippets.

@0xAungkon
Last active May 21, 2025 10:12
Show Gist options
  • Select an option

  • Save 0xAungkon/3d4adc038be95b8834bc8c60f688a618 to your computer and use it in GitHub Desktop.

Select an option

Save 0xAungkon/3d4adc038be95b8834bc8c60f688a618 to your computer and use it in GitHub Desktop.
X11 Forwaring Troubleshooting
// Everything Above..................
#X11 connection rejected because of wrong authentication. FIX
xauth extract - $DISPLAY > /tmp/xauth.$USER
sudo -u $USER XAUTHORITY=/tmp/xauth.$USER DISPLAY=$DISPLAY bash
#Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
sudo sysctl -w kernel.unprivileged_userns_clone=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment