mp_session: Always use global displayname
authorFrederic Koehler <f.koehler427@gmail.com>
Wed, 15 Aug 2012 01:49:14 +0000 (21:49 -0400)
committerJon Trulson <jon@radscan.com>
Wed, 15 Aug 2012 02:37:59 +0000 (20:37 -0600)
commit66e428596b5053045be14b93f130df15ee240392
tree6493f2a892c696188cd22303224b6f6c758fb0f2
parente8ff159737354c4b69c47b71fdc69a5717819f7e
mp_session: Always use global displayname

This code tried to automatically generate the X DISPLAY
from the combination of the hostname and display number;
however 127.0.0.1:0 is normally rejected by X11, so this
technique is no good. Fixes dticon hang on startup, caused by
XOpenDisplay failure leading to this message from tttrace:
tt_default_session_set(0x0x875190=="X 127.0.0.1 0") = 1032 (TT_ERR_ACCESS)
cde/lib/tt/lib/mp/mp_session.C