WhitewaterFoundry / Pengwin

A Linux distro optimized for WSL based on Debian.
Other
1.48k stars 105 forks source link

Cannot open display when opening gedit example #75

Closed ghost closed 6 years ago

ghost commented 6 years ago

I am wanting to use WLinux for running Linux apps on Windows 10 using the X410 software. I am using latest updated versions of WLinux and X410 and am using the Windows 10 October update (build 1809).

At first I updated and upgraded all packages using apt update && apt upgrade. I installed gnome-shell and gedit and am running x410 software.

When I run gedit I get the following message:

Unable to init server: Could not connect: Connection refused

(gedit:7): Gtk-WARNING **: cannot open display:

Am I doing something wrong? Thanks

aborruso commented 6 years ago

It's the same for me!

sirredbeard commented 6 years ago

That is odd.

I am having trouble reproducing: capture

What shell are you running?

aborruso commented 6 years ago

@sirredbeard I'm using zsh

sirredbeard commented 6 years ago

Weird.

capture

bheynemand commented 6 years ago

In this commit https://github.com/WhitewaterFoundry/WLinux/commit/9e8eb9c9253ca9bf7041c81ba95312ad1c611f77, you copy the file "/linux_files/environment" to "/etc/profile".

The problem has been fixed here https://github.com/WhitewaterFoundry/WLinux/commit/71bbed629b09ff0e5e6736b847dde40da404e20d, but not in version 1.1.17 Microsoft Store Release