The project is split into several parts:
- The kernel driver, with simple 3D command forwarding and 3D resource allocation
- The userland driver, in fact the OpenGL backend
- The reference, explaining virtio-gpu commands
| #!/bin/bash | |
| # Removes old revisions of snaps | |
| # CLOSE ALL SNAPS BEFORE RUNNING THIS | |
| set -eu | |
| LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' | | |
| while read snapname revision; do | |
| snap remove "$snapname" --revision="$revision" | |
| done |
| #!/bin/bash | |
| ##################################################################################################### | |
| # Script_Name : xrdp-installer-1.5.sh | |
| # Description : Perform xRDP installation on Ubuntu 20.04,22.04,23.xx and perform | |
| # additional post configuration to improve end user experience | |
| # Date : April 2024 | |
| # written by : Griffon | |
| # WebSite :http://www.c-nergy.be - http://www.c-nergy.be/blog | |
| # Version : 1.5 | |
| # History : 1.5 - Add Support for Ubuntu 24.04 |
| #!/usr/bin/env bash | |
| set -e | |
| sudo -v | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get autoremove -y |
| #!/usr/bin/env bash | |
| set -e | |
| cd ~ | |
| sudo -v | |
| sudo apt-get -y install nvidia-prime vim git mesa-utils net-tools \ | |
| gnupg2 software-properties-common apt-transport-https gpg wget \ |
| #!/usr/bin/env bash | |
| set -e | |
| cd ~ | |
| sudo -v | |
| # Make sure system is in a good, updated, clean, state. | |
| sudo apt-get -y update |
| #!/usr/bin/env bash | |
| set -e | |
| sudo -v | |
| sudo apt install -y make git g++ nasm | |
| git clone https://github.com/cisco/openh264.git ~/openh264 | |
| cd ~/openh264 |
| #!/usr/bin/env bash | |
| set -e | |
| sudo -v | |
| sudo apt-get update | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get autoremove -y |
| #!/bin/bash | |
| # Install Latest XRDP with XORGXRDP and GFX | |
| BUILD_DIR=/tmp/xrdpbuild | |
| # Prepare Build Directory | |
| rm -f -r $BUILD_DIR | |
| mkdir -p $BUILD_DIR | |
| # Install Dependencies - Dev |
| #!/bin/bash | |
| # Details: https://www.bleepingcomputer.com/news/security/rce-bug-in-widely-used-ghostscript-library-now-exploited-in-attacks/ | |
| if [ ! -f CVE-2024-29510_testkit.ps ]; then | |
| cat > CVE-2024-29510_testkit.ps << EOF | |
| %!PS | |
| % Run like this: | |
| % ghostscript -q -dBATCH -dNODISPLAY CVE-2024-29510_testkit.ps |
The project is split into several parts: