Interlisp / medley

The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
https://Interlisp.org
MIT License
376 stars 19 forks source link

Permission denied when running vncviewer64-1.12.0.exe #1866

Open kotenok2000 opened 3 weeks ago

kotenok2000 commented 3 weeks ago

Describe the bug Medley doesn't correctly set execution rights when running vnc viewer on WSL To Reproduce Steps to reproduce the behavior:

  1. Checkout Medeley
  2. Checkout Maiko
  3. Compile Maiko
  4. run ./scripts/loadup-all.sh -apps from medeley dir
  5. get /home/user/medley/medley/scripts/medley/medley.command: 1634: /c/Users/frolo/AppData/Local/Interlisp/vncviewer64-1.12.0.exe: Permission denied

Expected behavior Medeley automatically sets execution flag. Screenshots If applicable, add screenshots to help explain your problem.

Context (please complete the following information):

Additional context

Console output
>>>>> START loadup-init
TigerVnc viewer is required by the -vnc option but is not installed.
Ok to download from SourceForge? [y, Y, n or N, default n]
y
--2024-10-28 06:48:17--  https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe
Resolving sourceforge.net (sourceforge.net)... 104.18.37.111, 172.64.150.145, 2606:4700:4400::ac40:9691, ...
Connecting to sourceforge.net (sourceforge.net)|104.18.37.111|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe/ [following]
--2024-10-28 06:48:18--  https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe/
Reusing existing connection to sourceforge.net:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe/download [following]
--2024-10-28 06:48:19--  https://sourceforge.net/projects/tigervnc/files/stable/1.12.0/vncviewer64-1.12.0.exe/download
Reusing existing connection to sourceforge.net:443.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/tigervnc/stable/1.12.0/vncviewer64-1.12.0.exe?ts=gAAAAABnHwmHYIYYy6pNXy6j42fjAtUn0WOeES3oaFCfHFEHYQPFFfAdWXCD7LCLZYNTmISBqLMkT6JuDHHxTRNaKco6JFEG-A%3D%3D&use_mirror=deac-riga&r= [following]
--2024-10-28 06:48:19--  https://downloads.sourceforge.net/project/tigervnc/stable/1.12.0/vncviewer64-1.12.0.exe?ts=gAAAAABnHwmHYIYYy6pNXy6j42fjAtUn0WOeES3oaFCfHFEHYQPFFfAdWXCD7LCLZYNTmISBqLMkT6JuDHHxTRNaKco6JFEG-A%3D%3D&use_mirror=deac-riga&r=
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://deac-riga.dl.sourceforge.net/project/tigervnc/stable/1.12.0/vncviewer64-1.12.0.exe?viasf=1 [following]
--2024-10-28 06:48:20--  https://deac-riga.dl.sourceforge.net/project/tigervnc/stable/1.12.0/vncviewer64-1.12.0.exe?viasf=1
Resolving deac-riga.dl.sourceforge.net (deac-riga.dl.sourceforge.net)... 89.111.52.100
Connecting to deac-riga.dl.sourceforge.net (deac-riga.dl.sourceforge.net)|89.111.52.100|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25644440 (24M) [application/octet-stream]
Saving to: ‘/c/Users/frolo/AppData/Local/Interlisp/vncviewer64-1.12.0.exe’

vncviewer64-1.12.0.exe                                      100%[========================================================================================================================================>]  24.46M  6.91MB/s    in 3.7s

2024-10-28 06:48:24 (6.60 MB/s) - ‘/c/Users/frolo/AppData/Local/Interlisp/vncviewer64-1.12.0.exe’ saved [25644440/25644440]

Using DISPLAY=:1
Using VNC_PORT=5900
"/home/user/medley/medley/../maiko/linux.x86_64/lde" "/home/user/medley/medley/internal/loadups/starter.sysout" -id "loadup_1" -title "Medley Interlisp :: loadup_1" -g 1024x768 -sc 1024x768 -noscroll
MEDLEYDIR: "/home/user/medley/medley"
LOGINDIR: "/tmp/loadups-3545/logindir"
GREET FILE: "/tmp/loadups-3545/loadup-init.cm"
VMEM FILE: "/tmp/loadups-3545/logindir/vmem/lisp_loadup_1.virtualmem"
Xvnc server failed to start.
See log file at /tmp/loadups-3545/logindir/logs/medley_loadup_1.log
Exiting
----- FAILURE -----
..... files created .....
<<<<< END loadup-init

cat /tmp/loadups-3545/logindir/logs/medley_loadup_1.log
START
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc TigerVNC 1.12.0 - built 2024-01-23 19:20
Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12101004, X.Org

Mon Oct 28 06:48:25 2024
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5900
 vncext:      created VNC server for screen 0
/home/user/medley/medley/scripts/medley/medley.command: 1634: /c/Users/frolo/AppData/Local/Interlisp/vncviewer64-1.12.0.exe: Permission denied
[mi] mieq: warning: overriding existing handler (nil) with 0x7f03666c0b90 for event 2
[mi] mieq: warning: overriding existing handler (nil) with 0x7f03666c0b90 for event 3
pamoroso commented 3 weeks ago

Thanks for reporting this. @fghalasz, who works on VNC in Medley, may not be able to review the report for at least a few more days.