Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows is unreachable. Please ensure Windows is assigned an IP address. #400

Open
ZeddyZeke opened this issue Jan 31, 2025 · 1 comment

Comments

@ZeddyZeke
Copy link

ZeddyZeke commented Jan 31, 2025

Hello there, after digging out and facing many problems, I could finally install winapps through setup.sh

At some point when I was stucked, I could connect to VM using this command I got from other Issue thread

  • xfreerdp3 /v:192.168.122.11:3389 (my ip was assigned differently, if it helps to know it anyway)

And VM would open, but I still couldn't install winapps.

Then I tried trial and error and edited the setup.sh WAFLAVOR="" flag(line 92), which was "docker" by default(just left it blank so it could import, in my logic) and clearly didn't import from winapps.conf(or, I changed something in the mean time, and I must be wrong.).
Still, I changed and finally was able to bypass every step of installation.

For a period of like 15 seconds, cmd.exe opened and then disappeared. I reboot VM and host but now when I try to "call" an app this notification appears:

Image

And then:
Image

winapps.log show this:

[sex 31 jan 2025 23:01:44 WET-27755] START
[sex 31 jan 2025 23:01:44 WET-27755] SCRIPT_DIR: /home/zeddy/.local/bin
[sex 31 jan 2025 23:01:44 WET-27755] SCRIPT_ARGS: powershell
[sex 31 jan 2025 23:01:44 WET-27755] HOME_DIR: /home/zeddy
[sex 31 jan 2025 23:01:44 WET-27755] LAST_RUN: 1738364351
[sex 31 jan 2025 23:01:44 WET-27755] THIS_RUN: 1738364504
[sex 31 jan 2025 23:01:44 WET-27755] Using FreeRDP command 'xfreerdp3'.
[sex 31 jan 2025 23:02:14 WET-27755] ERROR: WINDOWS UNREACHABLE. EXITING.

journactl -xe shows this:

jan 31 23:01:44 cachyos polkitd[1054]: Registered Authentication Agent for unix-process:25913:565232 (system bus name :1.203 [/usr/bin/pkttyagent --process 25913 --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/>
jan 31 23:01:44 cachyos polkitd[1054]: Unregistered Authentication Agent for unix-process:25913:565232 (system bus name :1.203, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from b>
jan 31 23:01:44 cachyos polkitd[1054]: Registered Authentication Agent for unix-process:25931:565236 (system bus name :1.204 [/usr/bin/pkttyagent --process 25931 --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/>
jan 31 23:01:44 cachyos polkitd[1054]: Unregistered Authentication Agent for unix-process:25931:565236 (system bus name :1.204, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from b>
jan 31 23:01:44 cachyos polkitd[1054]: Registered Authentication Agent for unix-process:25953:565240 (system bus name :1.205 [/usr/bin/pkttyagent --process 25953 --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/>
jan 31 23:01:44 cachyos polkitd[1054]: Unregistered Authentication Agent for unix-process:25953:565240 (system bus name :1.205, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from b>
jan 31 23:01:44 cachyos polkitd[1054]: Registered Authentication Agent for unix-process:25974:565243 (system bus name :1.206 [/usr/bin/pkttyagent --process 25974 --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/>
jan 31 23:01:44 cachyos polkitd[1054]: Unregistered Authentication Agent for unix-process:25974:565243 (system bus name :1.206, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from b>
jan 31 23:01:44 cachyos polkitd[1054]: Registered Authentication Agent for unix-process:25995:565247 (system bus name :1.207 [/usr/bin/pkttyagent --process 25995 --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/>
jan 31 23:01:44 cachyos polkitd[1054]: Unregistered Authentication Agent for unix-process:25995:565247 (system bus name :1.207, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from b>
jan 31 23:01:55 cachyos kernel: [UFW BLOCK] IN=eno1 OUT= MAC=33:33:00:01:00:03:a0:88:69:dc:aa:19:86:dd SRC=fe80:0000:0000:0000:c08b:b965:e3d7:0eda DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=81 TC=0 HOPLIMIT=1 FLOWLBL=387086 >
jan 31 23:01:55 cachyos kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fc:a0:88:69:dc:aa:19:08:00 SRC=192.168.1.24 DST=224.0.0.252 LEN=61 TOS=0x00 PREC=0x00 TTL=1 ID=38047 PROTO=UDP SPT=59667 DPT=5355 LEN=41 
jan 31 23:01:56 cachyos kernel: [UFW BLOCK] IN=eno1 OUT= MAC=33:33:00:01:00:03:a0:88:69:dc:aa:19:86:dd SRC=fe80:0000:0000:0000:c08b:b965:e3d7:0eda DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=81 TC=0 HOPLIMIT=1 FLOWLBL=508720 >
jan 31 23:01:56 cachyos kernel: [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fc:a0:88:69:dc:aa:19:08:00 SRC=192.168.1.24 DST=224.0.0.252 LEN=61 TOS=0x00 PREC=0x00 TTL=1 ID=38048 PROTO=UDP SPT=50893 DPT=5355 LEN=41 
lines 955-1007/1007 (END)

I guess journalctl is trying to say something about firewall, but since I'm a noob I don't want to mess what I've accomplished already.

Any help figuring this out, I would be very appreciated :)

--
PS: Sorry if the information is disorganized and not very clear. I've been messing up with this for long periods of time and I'm not sure anymore of the steps I made.

@ZeddyZeke
Copy link
Author

Okay, managed to bypass this issue by using static ip and turning off windows firewall after ping testing both machines. It seemed to work. Now I try to open an app, and it never draws on the screen. Doesn't matter if I use true or false at `MULTIMON=""' flag.

journalctl keeps giving me wayland relate stuff when I try to open an app, as shown here:

fev 01 03:31:20 cachyos kwin_wayland[1339]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5c64d7bf0640)
fev 01 03:31:23 cachyos kwin_wayland[1339]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5c64d7bf0640)
fev 01 03:31:25 cachyos kwin_wayland[1339]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5c64d7bf0640)

I've tried on x11 session and I get the same exact result, with different stuff on journalctl related to nvidia.

Still not sure if it's wayland problem or not. What's strange is that I was able to see cmd window once for like 15 seconds in the first try ever, but then disappeared or crashed, can't remember.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant