It's UWAweek 16 (1st semester, week 7)

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 the 5 articles in this topic
Showing 5 of 198 articles.
Currently no other people reading this forum.


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

Login to reply

👍?
helpful
12:03pm Tue 12th Mar, Christopher M.

ANONYMOUS wrote:
> Install Windows Terminal from the Microsoft Store and set this as the default terminal. Then open CMD in this and run cnet. It should resolve the problem.
Great if this works. How does WT support/manage setting up the windowing, by setting DISPLAY to a known, required value, or by directing a command's graphical output the a display server before the command is even invoked? Anyone else tried it? If working well, I'll add it to the installation instructions.


SVG not supported

Login to reply

👍?
helpful

I have tried to use the export commands but the issue persists, I have also tried using Windows Terminal and I'm still getting the same issue. When running export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 or when running export DISPLAY=$(hostname):0.0 It still gives me the same error Error: Unable to initialize GTK+, is DISPLAY set properly?


SVG not supported

Login to reply

👍x3
helpful

I managed to get mine working by following this blog: https://nickymeuleman.netlify.app/blog/gui-on-wsl2-cypress The main issue was that I didn't have an xserver running which meant I couldn't run GUI programs from WSL. This blog uses VcXsvr which random stackoverflow people seemed to have a lot of success with, but there are also other programs out there.


SVG not supported

Login to reply

👍?
helpful

Thank you it seems to work now


SVG not supported

Login to reply

👍?
helpful

"Uzziah Smith" <23*6*6*6@s*u*e*t*u*a*e*u*a*> wrote:
> I managed to get mine working by following this blog: > > https://nickymeuleman.netlify.app/blog/gui-on-wsl2-cypress
Thank you - seems a very good solution (I wonder why Windows, or WSL-2, doesn't actually provide an Xserver as part of their distribution?). I have added this information to our installation instructions - [CITS3002]

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