When you try to access remote system display through ssh you may get below error .
$ xterm
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
CHECKING REMOTE DISPLAY CONFIGURATION
$ echo $DISPLAY
CHANGE BELOW VALUES IN THE FILE
$ VI /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
RESTART THE SSHD SERVICE
#service sshd restart
CONNECT REMOTE SERVER
#ssh -X root@remoteserver.com
TEST X SERVER DISPLAY
#xterm
No comments:
Post a Comment