Open 888zxc opened 5 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
/question
I have fixed the issue with KEX seamless mode opening the full screen, now it only opens with the top bar, but when my.wslconfig
configuration is changed back to the following,
[experimental]
autoMemoryReclaim=gradual
sparseVhd=true
useWindowsDnsCache=true
bestEffortDnsParsing=true
hostAddressLoopback=true
[wsl2]
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
Then I run kex --sl --wtstart -s
and I go from running on host: 172.23.112.1
, which can run seamless mode, to running on host: 127.0.0.42
, after which kex seamless mode cannot be opened
VcXsrv is not wrong.when I use xeyes
and xclock
, it is activate
But kex --sl --wtstart -s
is not activate :scream::scream::scream:
I can see why my win-kex seamless mode has such a low resolution, because my windows PC is set to 150% zoom, so the resolution displayed in seamless mode is (2560/1.5)x(1600/1.5). Which is 1706*1066 as shown in the picture, and I'll think about how to solve this problem later
Windows Version
Microsoft Windows [版本 10.0.22631.3447]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1
Distro Version
kali-linux 2024.1
Other Software
VcXsrv
Repro Steps
.wslconfig
I followed the normal steps after installing kali-linux
When I run Win-KeX Window Mode, the password window pops up and disappears, unusable, but I don't care.
Win-KeX Enhanced Session Mode
When I run the Win-KeX Enhanced Session Mode, unlike the official tutorial, the following window pops up first before the connection window. Due to the
.wslConfig
setting, I can only use127.0.0.1
orlocalhost
to connect, and the latency is very highHowever, this problem can be fixed by modifying the
.wslconfig
setting. Clearing the.wslconfig
setting will fix the problem, although there is still a bit of latency, but it is not very high.But what I want is to use wsl2 beyond the proxy I can use for windows, so I don't want to clear the
.wslconfig
configurationWin-KeX Seamless Mode
Win-KeX Seamless Mode is the focus of this discussion and the one I hope to solve the most.
6108 I have tried most of the methods in this issue, but nothing has solved the problem on my computer.
Finally, I tried clearing the
.wslconfig
configuration to solve the problem.After solving it, although
kex --sl
can run, but not in seamless mode, but in full-screen mode, it will cover the entire windows interface, and the resolution is not very high, it looks a little fuzzy, but the delay is very low, so low that I can't feel the delay.I don't want to clear my
.wslconfig
configuration, so I'm wondering if there's another way around itExpected Behavior
Win-Kex
Actual Behavior
This is my feedback from running without clearing
.wslconfig
This is my feedback when I run with
.wslconfig
clearedThis is the resolution I found, and my own computer itself has a resolution of 2560*1600, which is 16:10. And it's a full-screen mode, and I wanted a seamless mode, which I was very bothered about.
Diagnostic Logs
I'll try all the ideas you've come up with in the hope of solving the problem.
One more thing is that I ran
xeyes
without clearing.wslconfig
, because seamless mode is run with VcXsrv,xeyes
can run directly, butkex --sl --wtstart -s
still can't