robert-ancell / x11.dart

Mozilla Public License 2.0
26 stars 2 forks source link

Connect using TCP #2

Closed robert-ancell closed 11 months ago

robert-ancell commented 11 months ago

TCP is required for using X11 on Windows.

robert-ancell commented 11 months ago

Implemented now, @hanskokx can you check if this now works in Windows?

hanskokx commented 11 months ago

I get "Unable to determine HOME" - could this be an unset environment variable?

EDIT: It was looking for $HOME.Xauthority. Perhaps if it can't find this file, it doesn't die completely?

robert-ancell commented 11 months ago

Ah. right. I'll check what the other X11 libraries do on Windows for the default authority file.

robert-ancell commented 11 months ago

@hanskokx try again, I've updated it to do the right thing on Windows.

hanskokx commented 11 months ago

@robert-ancell It's still looking for .Xauthority

robert-ancell commented 11 months ago

@hanskokx ah, it should still try the default but ignore it if it doesn't load. Try x11 0.1.3!

hanskokx commented 11 months ago

@robert-ancell The debug log still complained about the file not being found, but it did not prevent the window from opening and the connection being established.