/remote-viewer-macos11

Remote Viewer for Proxmox on macOS Big Sur (11.0)

Primary LanguageDockerfileMIT LicenseMIT

Remote-viewer on macOS 11

In macOS 11 (Big Sur) the traditional solution that has always been used to use remote-viewer has stopped working, so I have decided to look for an alternative. This is based on installing remote-viewer inside a Docker container.

Requirements

How to use?

You can use it by executing the following command in the terminal, changing ((((spice_proxy_file)))) for the file provided by Proxmox.

xhost + $(hostname)
docker run \
    --rm \
    -v ((((spice_proxy_file)))):/home/remoteviewer/download \
    -e DISPLAY=$(hostname):0 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    domingoruiz/remote-viewer-macos11

If you use this regularly, it is best to create a function in the .zshrc file with the following code.

remote-viewer(){
        xhost + $(hostname)
        docker run \
            --rm \
            -v $1:/home/remoteviewer/download \
            -e DISPLAY=$(hostname):0 \
            -v /tmp/.X11-unix:/tmp/.X11-unix \
            domingoruiz/remote-viewer-macos11
        rm $1
}

After that to open a virtual machine we have to simply execute this command. At first glance it is the same as the traditional command.

remote-viewer /Users/domingo/Downloads/download

Development

Application developed by Domingo Ruiz Arroyo in 2021

License

This project is published under the MIT license. See the file LICENSE for more details.