I'm running CentOS 6.4 in a virtual machine. In gnome-terminal,
$ echo DISPLAY
:0.0
With the above, all my graphical apps run with out issue. Been this way for years.
Recently I've begun working with a new technical application that sends this string to another application:
DISPLAY=myHostN ame:0.0
and the receiving application complains,
cannot connect to X server myHostName:0.0
This technical app is hardwired to send DISPLAY=myHostN ame:0.0 and this works fine on my company's corporate compute infrastructure.
Further little experiments confirm I've got some fundamental setup problem (?):
$ export DISPLAY=myHostN ame:0.0
$ xterm
xterm Xt error: Can't open display: myHostName:0.0
My /etc/hosts contains, among other strings,
127.0.0.1 myHostName.comp anyname.com myHostName
Question is how should I administer my CentOS 6.4 machine so that when DISPLAY is set to myHostName:0.0, all graphical apps will be happy?
Thanks in advance
$ echo DISPLAY
:0.0
With the above, all my graphical apps run with out issue. Been this way for years.
Recently I've begun working with a new technical application that sends this string to another application:
DISPLAY=myHostN ame:0.0
and the receiving application complains,
cannot connect to X server myHostName:0.0
This technical app is hardwired to send DISPLAY=myHostN ame:0.0 and this works fine on my company's corporate compute infrastructure.
Further little experiments confirm I've got some fundamental setup problem (?):
$ export DISPLAY=myHostN ame:0.0
$ xterm
xterm Xt error: Can't open display: myHostName:0.0
My /etc/hosts contains, among other strings,
127.0.0.1 myHostName.comp anyname.com myHostName
Question is how should I administer my CentOS 6.4 machine so that when DISPLAY is set to myHostName:0.0, all graphical apps will be happy?
Thanks in advance