#!/bin/bash chmod 666 /dev/dri/renderD128 chmod 666 /dev/dri/card0 # For a persistent way to give the permissions (this worked for me the first time but later on stopped working) cat > /etc/udev/rules.d/99-intel-chmod666.rules << 'EOF' KERNEL=="renderD128", MODE="0666" KERNEL=="card0", MODE="0666" EOF