Cursor agent can't run commands in Chat tab, Linux Wayland AppImage

When executing command in Chat tab, Cursor seems to fail spawn a terminal process; I’m on KDE 6 Wayland, using AppImage on Arch Linux.

xauth: (argv):1:  bad display name ":/dev/pts/1" in "remove" command

This bug complicates main fix-check loop I used to enjoy.

It seems a regression from previous versions of Cursor AppImage.

Version info as reported by Help: About

Version: 0.49.6
VSCode Version: 1.96.2
Commit: 0781e811de386a0c5bcb07ceb259df8ff8246a50
Date: 2025-04-25T04:44:33.500Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.4-2-cachyos