Skip to content

vmrc

circle_vmware.svg

inherite from

abcdesktopio/oc.template.ubuntu.gtk

Licence

** This application is NO FREE. ** You need to build it manually.

Displayname

VMRC

Path

/usr/bin/vmrc

Mimetype

x-scheme-handler/vmrc;

ACL

{
    "permit": [
        "all"
    ]
}

WM_CLASS

vmrc.Vmrc

The WM_CLASS property (of type STRING without control characters) contains two consecutive null-terminated strings. These specify the Instance and Class names to be used by both the client and the window manager for looking up resources for the application or as identifying information. to get the WM_CLASS property of an application, use the command line wmctrl -lx

Desktopfile

/usr/share/applications/vmware-vmrc.desktop

A .desktop file is a simple text file that holds information about a program. It is usually placed in “/usr/share/applications/”.

PRE run command

PRE run command are run before the package install command

RUN apt-get update && apt-get install  --no-install-recommends --yes libaio1 && apt-get clean
COPY VMware-Remote-Console-12.0.1-18113358.x86_64.bundle /tmp
RUN chmod o+x /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle
RUN /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle --eulas-agreed --console --required --ignore-errors

JSON dump

json source file vmrc.d.3.0.json

{
    "acl": {
        "permit": [
            "all"
        ]
    },
    "cat": "utilities",
    "licence": "non-free",
    "debpackage": "",
    "icon": "circle_vmware.svg",
    "keyword": "vmrc,vmware,remote,console",
    "launch": "vmrc.Vmrc",
    "name": "vmrc",
    "displayname": "VMRC",
    "path": "/usr/bin/vmrc",
    "template": "abcdesktopio/oc.template.ubuntu.gtk",
    "mimetype": "x-scheme-handler/vmrc;",
    "desktopfile": "/usr/share/applications/vmware-vmrc.desktop",
    "preruncommands": [
        "RUN apt-get update && apt-get install  --no-install-recommends --yes libaio1 && apt-get clean",
        "COPY VMware-Remote-Console-12.0.1-18113358.x86_64.bundle /tmp",
        "RUN chmod o+x /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle",
        "RUN /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle --eulas-agreed --console --required --ignore-errors"
    ]
}

Install the builded image

Replace the ABCHOST var set to localhost by default to your own server ip address

ABCHOST=localhost
curl --output vmrc.d.3.0.json https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/vmrc.d.3.0.json
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @vmrc.d.3.0.json

Generated DockerFile source code

# Dynamic DockerFile application file for abcdesktopio generated by abcdesktopio/oc.apps/make.js
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
ARG TAG=dev
FROM abcdesktopio/oc.template.ubuntu.gtk:$TAG
USER root
RUN apt-get update && apt-get install  --no-install-recommends --yes libaio1 && apt-get clean
COPY VMware-Remote-Console-12.0.1-18113358.x86_64.bundle /tmp
RUN chmod o+x /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle
RUN /tmp/VMware-Remote-Console-12.0.1-18113358.x86_64.bundle --eulas-agreed --console --required --ignore-errors
LABEL oc.icon="circle_vmware.svg"
LABEL oc.icondata="PHN2ZyBpZD0iQXBwLVN0b3JlIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMjQgMTAyNCIgaW1hZ2UtcmVuZGVyaW5nPSJvcHRpbWl6ZVNwZWVkIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiA8ZGVmcz4KICA8ZmlsdGVyIGlkPSJnIiB4PSItLjAzNiIgeT0iLS4wMzYiIHdpZHRoPSIxLjA3MiIgaGVpZ2h0PSIxLjA3MiIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KICAgPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMTQuMTYiLz4KICA8L2ZpbHRlcj4KICA8bGluZWFyR3JhZGllbn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8L3N2Zz4K"
LABEL oc.keyword="vmrc,vmrc,vmware,remote,console"
LABEL oc.cat="utilities"
LABEL oc.desktopfile="vmware-vmrc.desktop"
LABEL oc.launch="vmrc.Vmrc"
LABEL oc.template="abcdesktopio/oc.template.ubuntu.gtk"
LABEL oc.name="vmrc"
LABEL oc.displayname="VMRC"
LABEL oc.path="/usr/bin/vmrc"
LABEL oc.type=app
LABEL oc.licence="non-free"
LABEL oc.mimetype="x-scheme-handler/vmrc;"
LABEL oc.acl="{\"permit\":[\"all\"]}"
RUN for d in /usr/share/icons /usr/share/pixmaps ; do echo "testing link in $d"; if [ -d $d ] && [ -x /composer/safelinks.sh ] ; then echo "fixing link in $d"; cd $d ; /composer/safelinks.sh ; fi; done
ENV APPNAME "vmrc"
ENV APPBIN "/usr/bin/vmrc"
ENV APP "/usr/bin/vmrc"
USER root
RUN mkdir -p /var/secrets/abcdesktop/localaccount
RUN for f in passwd shadow group gshadow ; do if [ -f /etc/$f ] ; then  cp /etc/$f /var/secrets/abcdesktop/localaccount; rm -f /etc/$f; ln -s /var/secrets/abcdesktop/localaccount/$f /etc/$f; fi; done
USER balloon
CMD [ "/composer/appli-docker-entrypoint.sh" ]

Rebuild the image manually

Download the Dockerfile manually

Dockerfile for application vmrc

wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/vmrc.d

build the Dockerfile to create a container image

docker build --build-arg TAG=3.0 -f vmrc.d -t vmrc .

Install the new image

If you are using containerd as container runtime, use the ctr command line

If you are not running this bash command on your abcdesktop node Replace the ABCHOST variable set to localhost by default to your own server ip address

ABCHOST=localhost
docker inspect vmrc > vmrc.json
docker image save vmrc -o vmrc.tar
ctr -n k8s.io images import vmrc.tar
curl -X PUT -H 'Content-Type: text/javascript' http://$ABCHOST:30443/API/manager/image -d @vmrc.json