Show pageOld revisionsBacklinksNew pageNew folderBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Running GUI apps as root over XRDP under Xorg ====== Some of you might have noticed that running apps as root/sudo under XRDP doesn't work out of the box. \\ While it is best to avoid it if possible, sometimes it is necessary, for apps like GParted. \\ So how to fix it? - Create a .xsessionrc file in your home directory <code> touch ~/.xsessionrc </code> - Add this string into it <code> echo "export XAUTHORITY=${HOME}/.Xauthority" > ~/.xsessionrc </code> - Reboot - Now it should work Confirmed to be working on: * XFCE 4.16 * Ubuntu 22.04.1 LTS * xrdp 0.9.17-2ubuntu2 CKG Edit laptopwiki/guides/os/linux/xorgxrdproot.txt Last modified: 11/01/2023 13:28by dustojnikhummer