1 Feb
2014
1 Feb
'14
3:55 a.m.
I want to run root X application in a terminal. [root@archbox ~]# smplayer smplayer: cannot connect to X server [root@archbox ~]# I followed the wiki https://wiki.archlinux.org/index.php/Running_X_apps_as_root added export XAUTHORITY=/home/archie/.Xauthority to /etc/profile. After this I am not able to login with my user account archie through gdm. Deleting the added line to /etc/profile let me log back in. How can I get this thing working as I wish? I definitely don't prefer the method given under temporarily allow root access as per the wiki page, since in other distribution I can start the X applications in a root terminal without a hitch. I would like to start root X applications in a terminal.