Linux Virtual Display for iPad Pro

From Chorke Wiki
Jump to navigation Jump to search

Gnome Remote

sudo ufw allow 5900/tcp
sudo ufw status verbose
systemctl --user restart gnome-remote-desktop.service
systemctl --user status  gnome-remote-desktop.service

gsettings set org.gnome.desktop.remote-desktop.rdp screen-share-mode extend

Linux Display Driver

if [[ ! -e /usr/share/X11/xorg.conf.d/10-amdgpu.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-amdgpu.conf >>/dev/null
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
EndSection
EOF
fi

Knowledge

lsblk
lscpu
lsusb
free -h
sudo lshw

ufw status
ufw status verbose
systemctl status ufw
apt list --installed
sudo ufw allow http
sudo ufw allow OpenSSH
sudo ufw allow 5900/tcp

sudo ss -tulpn | grep LISTEN
sudo ss -tulwn | grep LISTEN
sudo ss -tulpn | grep LISTEN | grep sshd
sudo ss -tulpn | grep LISTEN | grep redis
sudo ss -tulpn | grep LISTEN | grep gnome
sudo ss -tulpn | grep LISTEN | grep apache

sudo dmidecode -t
sudo dmidecode -t 1
sudo dmidecode -t 3
sudo dmidecode | grep 'SKU Number'
sudo dmidecode -s system-product-name
sudo dmidecode -s system-serial-number

display server is wayland|xorg(x11)
echo ${XDG_SESSION_TYPE}

References