Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 79e3f91

Browse files
authored
Fixed "could not connect to display" error (#771)
This is a pertaining issue in Linux systems where the DISPLAY variable isn't forwarded. The error which is fixed is; "QXcbConnection: Could not connect to display". Users before have raised issues on this [here](https://github.com/lifting-bits/mcsema/issues?q=QXcbConnection%3A+Could+not+connect+to+display)
1 parent 08fa693 commit 79e3f91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/mcsema_disass/ida7/disass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def execute(args, command_args):
4242
env["HOME"] = os.path.expanduser('~')
4343
env["IDA_PATH"] = os.path.dirname(args.disassembler)
4444
env["PYTHONPATH"] = os.path.dirname(ida_dir)
45+
env["DISPLAY"] = ":0"
4546
if "SystemRoot" in os.environ:
4647
env["SystemRoot"] = os.environ["SystemRoot"]
4748

0 commit comments

Comments
 (0)