kasmtech / workspaces-images

Other
730 stars 241 forks source link

Shared library libjpeg.so.62 missing? #19

Open sunagui opened 2 years ago

sunagui commented 2 years ago

Hello,

When trying to run several different Kasmweb images, the container stops and shows the following error in the container logs: /usr/bin/Xvnc: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

So far, the only image that works is: kasmweb/centos-7-desktop:1.10.0

How do I resolve this issue?

Thank you

j-travis commented 2 years ago

Hi, Can you give us more information to go off of?

sunagui commented 2 years ago

So far, the only images I can get to work are the CentOS images. All of the others that I have tried give me the same error found in the attached log.

Thank you for your assistance.

### OS Version: DISTRIB_ID="VMware Photon OS" DISTRIB_RELEASE="4.0" DISTRIB_CODENAME=Photon DISTRIB_DESCRIPTION="VMware Photon OS 4.0"

### Architecture: DellR720_HW

### Docker: Client: Docker Engine - Community Version: 20.10.11 API version: 1.41 Go version: go1.17.2 Git commit: dea9396 Built: Sun Mar 6 14:10:07 2022 OS/Arch: linux/amd64 Context: default Experimental: true

Server: Docker Engine - Community Engine: Version: 20.10.11 API version: 1.41 (minimum version 1.12) Go version: go1.17.2 Git commit: 847da18 Built: Sun Mar 6 14:11:01 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.4.12 GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d runc: Version: 1.0.3 GitCommit: v1.0.3-0-gf46b6ba docker-init: Version: 0.19.0 GitCommit: de40ad0

### Docker Compose: Docker Compose version v2.2.3

### Are you running the images from witin Workspaces or standalone? I am initiating and running from within 'portainer.io' webui

### Are you running the images straight from dockerhub or are you building them yourself? The command within portainer.io to pull the images: portainer io_container_create-kasmweb-desktop

### logs/screenshots:

------------------ EXECUTE COMMAND ------------------ Executing command: '/dockerstartup/vnc_startup.sh /dockerstartup/kasm_startup.sh --tail-log' Can't load /home/kasm-user/.rnd into RNG 139913723483968:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/home/kasm-user/.rnd Generating a RSA private key ......................+++++ ..............+++++ writing new private key to '/home/kasm-user/.vnc/self.pem'

xauth: file /home/kasm-user/.Xauthority does not exist Could not start Xvnc.

/usr/bin/Xvnc: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

sunagui commented 2 years ago

Hello,

Are there any ideas on how to resolve this issue?

Thank you

j-travis commented 2 years ago

@sunagui , Try taking portainer out of the equation.

I installed ProtonOS 4.0 Rev2 x86_64 (https://github.com/vmware/photon/wiki/Downloading-Photon-OS#downloading-photon-os-40-rev2) on a fresh VirtualBox VM.

I started docker and was able to run the image directly from the Proton Console and connect via the browser following the instructions from the dockerhub readme "Manual Deployment" Section : https://hub.docker.com/r/kasmweb/desktop-deluxe

sudo docker run --rm  -it --shm-size=512m -p 6901:6901 -e VNC_PW=password  kasmweb/desktop-deluxe:1.10.0

It may be worth just double checking that you arent out of diskspace or something similar

sunagui commented 2 years ago

Well, look at that... works great at the CLI. Ok, so I'll start troubleshooting the portainer side of things. But until I get that resolved I'll use the CLI.

Thank you very much! Have a great day.