nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

nxagent in undefined state after failing to match depths on reconnect

Open uli42 opened this issue 3 years ago • 0 comments

xdpyinfo_agent_side.txt xdpyinfo_proxy_side.txt

This was a rootless session:

NXAGENT(smtcac2668:7954, pid=42833): nxagentCheckForDepthsCompatibility: WARNING! Tolerance [0] too low and failed to match available depth [15]. NXAGENT(smtcac2668:7954, pid=42833): nxagentCheckForDepthsCompatibility: WARNING! New available depths [7] don't match with old depths [7] at tolerance [0]. Only [4] depth values matched.

If nxdialog ist configured to display messages a requester will come up with "Failed to restore all the required screen depths. Can't resume the session on this display". (note: This dialog comes from the proxy side, not the agent side!) After pressing ok the nxagent will not react to signals anymore and not map any windows. It should fail gracefully here.

Setting tolerancecheck=risky (safe is not sufficient) makes the reconnect work.

uli42 avatar Apr 29 '21 13:04 uli42