1 Feb
2014
1 Feb
'14
8:52 a.m.
Am 01.02.2014 04:55, schrieb piruthiviraj natarajan:
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
Again, the most convenient method of doing this is not included in the wiki. Add the line session optional pam_xauth.so to /etc/pam.d/su and /etc/pam.d/su-l. Then switch to your root user using 'su' or 'su -'.