Linux Virtual Display for iPad Pro: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
==Linux Display Driver== | ==Linux Display Driver== | ||
===10-amdgpu.conf=== | |||
---- | |||
<source lang='bash'> | <source lang='bash'> | ||
if [[ ! -e /usr/share/X11/xorg.conf.d/10-amdgpu.conf ]];then | if [[ ! -e /usr/share/X11/xorg.conf.d/10-amdgpu.conf ]];then | ||
Line 16: | Line 18: | ||
Driver "amdgpu" | Driver "amdgpu" | ||
EndSection | EndSection | ||
EOF | |||
fi | |||
</source> | |||
===10-quirks.conf=== | |||
---- | |||
<source lang='bash'> | |||
if [[ ! -e /usr/share/X11/xorg.conf.d/10-quirks.conf ]];then | |||
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-quirks.conf >>/dev/null | |||
# Collection of quirks and blacklist/whitelists for specific devices. | |||
# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable | |||
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 | |||
Section "InputClass" | |||
Identifier "ThinkPad HDAPS accelerometer blacklist" | |||
MatchProduct "ThinkPad HDAPS accelerometer data" | |||
Option "Ignore" "on" | |||
EndSection | |||
# https://bugzilla.redhat.com/show_bug.cgi?id=523914 | |||
# Mouse does not move in PV Xen guest | |||
# Explicitly tell evdev to not ignore the absolute axes. | |||
Section "InputClass" | |||
Identifier "Xen Virtual Pointer axis blacklist" | |||
MatchProduct "Xen Virtual Pointer" | |||
Option "IgnoreAbsoluteAxes" "off" | |||
Option "IgnoreRelativeAxes" "off" | |||
EndSection | |||
# https://bugs.freedesktop.org/show_bug.cgi?id=55867 | |||
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL | |||
Section "InputClass" | |||
Identifier "Tag trackballs as XI_TRACKBALL" | |||
MatchProduct "trackball" | |||
MatchDriver "evdev" | |||
Option "TypeName" "TRACKBALL" | |||
EndSection | |||
# https://bugs.freedesktop.org/show_bug.cgi?id=62831 | |||
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly | |||
Section "InputClass" | |||
Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE" | |||
MatchProduct "La-VIEW Technology Naos 5000 Mouse" | |||
MatchDriver "evdev" | |||
Option "TypeName" "MOUSE" | |||
EndSection | |||
EOF | |||
fi | |||
</source> | |||
===10-radeon.conf=== | |||
---- | |||
<source lang='bash'> | |||
if [[ ! -e /usr/share/X11/xorg.conf.d/10-radeon.conf ]];then | |||
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-radeon.conf >>/dev/null | |||
Section "OutputClass" | |||
Identifier "Radeon" | |||
MatchDriver "radeon" | |||
Driver "radeon" | |||
EndSection | |||
EOF | EOF | ||
fi | fi |
Revision as of 11:12, 28 January 2023
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
10-amdgpu.conf
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
10-quirks.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/10-quirks.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-quirks.conf >>/dev/null
# Collection of quirks and blacklist/whitelists for specific devices.
# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
Identifier "ThinkPad HDAPS accelerometer blacklist"
MatchProduct "ThinkPad HDAPS accelerometer data"
Option "Ignore" "on"
EndSection
# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
Identifier "Xen Virtual Pointer axis blacklist"
MatchProduct "Xen Virtual Pointer"
Option "IgnoreAbsoluteAxes" "off"
Option "IgnoreRelativeAxes" "off"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
Identifier "Tag trackballs as XI_TRACKBALL"
MatchProduct "trackball"
MatchDriver "evdev"
Option "TypeName" "TRACKBALL"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
MatchProduct "La-VIEW Technology Naos 5000 Mouse"
MatchDriver "evdev"
Option "TypeName" "MOUSE"
EndSection
EOF
fi
10-radeon.conf
if [[ ! -e /usr/share/X11/xorg.conf.d/10-radeon.conf ]];then
cat << EOF | sudo tee /usr/share/X11/xorg.conf.d/10-radeon.conf >>/dev/null
Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
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
| ||