linux - Cannot display xclock program on xserver client - Mobaxterm -


i using mobaxterm(free version) on windows 7 desktop connect suse 11 enterprise server on aws. trying display xclock program on xtrem client error saying 'error: can't open display:'. have used following syntax set display on server:

export display=<ip_addr>:0.0 

suse 11 not come xclock default had download , install it. hosts file on pc has localhost entry commented out, not sure if make difference. ideas on how debug this? thanks.

fixed!

earlier looking @ xclock program's error msg. when scanned mobaxterms client terminal's output, found following msg:

x11 forwarding request failed on channel 0 

after google hunting, found 1 of reasons happens when xauth package not installed on remote server. so, checked , found case. command ran:

zypper in -name xorg* 

this command tells if package installed , if dependencies exist. package comes bundled xclock program. zypper uninstalled other xclock had installed source , replaced right version.

link package info: https://www.suse.com/linuxpackages/packagerouter.jsp?product=server&version=11&service_pack=&architecture=i386&package_name=xorg-x11-xauth

i modified file called /etc/ssh/sshd_config root. following lines need uncommented:

x11forwarding yes x11displayoffset 10 x11uselocalhost yes 

and x11uselocalhost changed 'no'. changed security group on aws let inbound traffic on port 6000. not sure if matters.

after mobaxterm automatically set display parameter localhost , able run xclock on remote server , see on local pc desktop.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -