網頁

2020年11月26日 星期四

xpra in jsetson nano


以下部分步驟,直接跳過避不開的錯誤
$ sudo apt-get install libx11-dev libxtst-dev libxcomposite-dev libxdamage-dev \
    libxkbfile-dev python-all-dev
$ sudo apt-get install libgtk-3-dev python3-dev python3-cairo-dev python-gi-dev cython3
$ sudo apt-get install xauth x11-xkb-utils
$ sudo apt-get install libx264-dev libvpx-dev yasm
$ sudo apt-get install libavformat-dev libavcodec-dev libswscale-dev
$ sudo apt-get install libturbojpeg-dev
$ sudo apt-get install libwebp-dev
$ sudo apt-get install uglifyjs brotli libjs-jquery libjs-jquery-ui gnome-backgrounds
$ sudo apt-get install python3-opengl python3-numpy python3-pil
$ sudo apt-get install python3-rencode python3-lz4 python3-dbus python3-cryptography \
    python3-netifaces python3-yaml
$ sudo apt-get install python3-setproctitle python3-xdg python3-pyinotify python3-opencv
$ sudo apt-get install libpam-dev quilt xserver-xorg-dev xutils-dev \
    xserver-xorg-video-dummy xvfb keyboard-configuration
$ sudo apt-get install python-kerberos python-gssapi
$ sudo apt-get install python-avahi
$ sudo apt-get install gstreamer1.0-pulseaudio gstreamer1.0-alsa \
    gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
    gstreamer1.0-plugins-ugly python-gst-1.0
$ sudo apt-get install cups-filters cups-common cups-pdf python3-cups
$ sudo apt-get install openssh-client sshpass python3-paramiko
$ sudo apt-get install dh-systemd
$ wget https://www.xpra.org/src/xpra-4.0.4.tar.xz
$ tar -xf xpra-4.0.4.tar.xz
$ cd xpra-4.0.4
$ sudo ./setup.py install
$ vi setup.py
將第一行改成 python3
$ sudo ./setup.py install
$ sudo mkdir /usr/local/share/xpra/www/js/lib
$ sudo ./setup.py install

沒有留言:

張貼留言