Permanently Enable X11 Forwarding in Root Interactive Mode

General support questions
Post Reply
simon_lefisch
Posts: 92
Joined: 2017/07/12 21:02:02

Permanently Enable X11 Forwarding in Root Interactive Mode

Post by simon_lefisch » 2018/10/26 02:16:44

So I'm trying to run some GUI programs with X11 Forwarding. When signing in as a regular user, X11 is good. However when I switch to root interactive mode, I can't get it to work permanently. I can get it to run for the current session using

Code: Select all

xauth add $(xauth -f ~user_name/.Xauthority list|tail -1)
but I have to run the same command during each session. I also tried adding localuser:root to xhost, but that didn't work either. Is there any way to make it permanent?
Hardware:
Supermicro X10SRi-F mobo
E5-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)

Post Reply