fix: Restore active desktop name check in Windows daemon#8194
fix: Restore active desktop name check in Windows daemon#8194
Conversation
8ef6f26 to
02507a7
Compare
02507a7 to
3a2c3df
Compare
0e4b5f6 to
bb7acdd
Compare
|
This can no land as is the installer has to be fixed to setup the core properly and we have to make sure that the core does work . I am ok with landing this but i am NOT ok with shipping the core by default yet. There is more work to make that work proper |
As discussed on Matrix, we agreed that we should not ship 3 binaries as this would be confusing for people to see:
If running from CLI or browsing the 'Program Files' dir, they might get confused about which to use. For this reason, I am temporarily moving the |
2391983 to
32b1ccb
Compare
|
@sithlord48 Tested Windows CI package on client, works great for me. How about you? |
|
does not break linux.. |
I can't repro that issue anymore. Did you try the latest CI package? https://github.com/deskflow/deskflow/actions/runs/13414062492/artifacts/2616525149 I wonder if you're seeing IPC errors related to #7804? (progress on which is unfortunately blocked by this PR) |
- Use `PIPE_NOWAIT` to skip empty stderr output on process output reading from Windows daemon watchdog - Use `CreateProcess` result to determine when to call `CloseHandle` in Windows daemon watchdog - Trim output from active desktop process in Windows daemon watchdog - Improve error logging in Windows daemon watchdog
… when Windows daemon kills server/client
32b1ccb to
fec6570
Compare
|
@sithlord48 Figured it out. It was a segfault that only happened on fresh install (when there was no command to run). |
This comment was marked as outdated.
This comment was marked as outdated.
…starts on first fail
fec6570 to
abfe6bb
Compare
|
Package: https://github.com/deskflow/deskflow/actions/runs/13419409704/artifacts/2618354728 Tested and working on fresh Windows 11 VM. |

Fixes: #8183
Blocks:
Restores some of the code deleted in fb686ed (#7827) which is needed to run the core process in secure desktops (UAC prompts, login, lock screen, etc). I thought I tested PR #7827 pretty thoroughly (#7827 (comment)) but it looks like I made a mistake and wasn't thorough enough.
This time we're using
deskflow-core.exedeskflow-server.exe(temporarily until core bin ships) instead ofdeskflow-legacy.exeto find the active desktop name (which is not accessible to processes running in session 0).Testing
Use 'Automatic' elevation:

Right click any app and click 'Run as administrator' to show the UAC dialog.
Expect: Mouse should work on client