It's UWAweek 17 (1st semester, week 8)

help3002

This forum is provided to promote discussion amongst students enrolled in CITS3002 Computer Networks.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message. How do I ask a good question?

Displaying selected article
Showing 1 of 277 articles.
Currently 3 other people reading this forum.


 UWA week 11 (1st semester, week 3) ↓
SVG not supported

Login to reply

👍?
helpful

ANONYMOUS wrote:
> Error: Unable to initialize GTK+, is DISPLAY set properly?
I remember this as a problem that *some* students had last year but, again, not all students are having it this year. Clearly your DISPLAY variable is set, to :0.0, but that's not the correct value. Reading stackoverflow, again..., there were many suggestions, but some are now 2 years old and don't always work. One frequent suggestion is to set:
 export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 # in WSL 2
 export LIBGL_ALWAYS_INDIRECT=1
Another says set it with export DISPLAY=$(hostname):0.0 Others now say that DISPLAY should not be set at all - https://superuser.com/questions/1580610/how-to-run-gui-apps-with-windows-subsystem-for-linux No definitive answer.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy