File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# runx: Provide an X server in Cygwin, MSYS2 or WSL.
3
3
4
- Version=" v0.4.8 "
4
+ Version=" v0.4.9 "
5
5
6
6
usage () { # Usage information (--help)
7
7
echo " runx - Run Linux GUI applications on MS Windows.
@@ -494,8 +494,8 @@ setup_cookie() { # Generate X authentication cookie
494
494
local Cookie
495
495
496
496
verbose " Cookies:
497
- $Xservercookie
498
- $Xclientcookie "
497
+ server: $Xservercookie
498
+ client: $Xclientcookie "
499
499
500
500
# remove old cookies if no VcXsrv is running yet
501
501
command -v tasklist.exe > /dev/null && {
@@ -522,6 +522,11 @@ $(xauth -v -f "$Xclientcookie" list)"
522
522
verbose " Server cookie:
523
523
$( xauth -v -f " $Xservercookie " list) "
524
524
} || {
525
+ note " Command xauth not found.
526
+ runx will try experimental code to bake an X cookie itself.
527
+ Feedback on success or failure is appreciated at:
528
+ https://github.com/mviereck/runx/issues/7
529
+ If it fails, you can use option --no-auth as a workaround."
525
530
cookiebaker $Hostip :$Newdisplaynumber > $Xclientcookie .tmp
526
531
cat $Xclientcookie .tmp >> $Xclientcookie
527
532
cat $Xclientcookie .tmp >> $Xservercookie
You can’t perform that action at this time.
0 commit comments