Enable X11Forwarding Display on Linux

Setup X11 Forwarding XDisplay
==============================
Edit /etc/ssh/sshd_config

#vi /etc/ssh/sshd_config
X11Forwarding yes
X11UseLocalhost no

#echo DISPLAY=ip_address:10.0
#export $DISPLAY

Untuk Pengujian install xclock dan xterm

#yum install xclock xterm -yes
#xclock

Setup di User biasa / Sudo

#ssh -X user@ip_address
$sudo --preserve-env=DISPLAY -s
#xauth merge /home/user/.Xauthority
#exit

Login user biasa / sudo

$xclock
$ sudo su
#xclock