cheriff wrote: Maybe an strace would be helpful - sometimes missing file opens or something can be an indicator as to why things failed?
Thanks for the strace hint. This looks like a really useful tool.
Code: Select all
// 32 bit lib + XOpenDisplay( NULL )
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"...}, 19) = 0
// 32 bit lib + XOpenDisplay( 'localhost.localdomain:0.0" )
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(6000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 ECONNREFUSED (Connection refused)
// 64 bit lib + XOpenDisplay with any param
socket(PF_UNSPEC, 0 /* SOCK_??? */, 0) = 3
connect(0, NULL, 0) = -1 ECONNREFUSED (Connection refused)
Calls for the 64bit version look very strange too me. For example manuals don't mention that you can pass NULL as addr to connect.
Also it looks like that I may have some problems with network. I tried to disable firewall, but I can't force 32 bit version to connect to "localhost.localdomain".
cheriff wrote:
You do have the 64bin xlib library installed right? Although i'd expect some other failure mode if this is the case, but one never knows ...
I have reinstalled x11-devel rpms with dependencies and there are some files like libX11.so in lib64 folder. If I remove them I get missing lib errors, so I think I have this lib installed :).