全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4628|回复: 25

甲骨文ARM远程桌面转发声音

  [复制链接]
发表于 2021-12-8 17:27:35 | 显示全部楼层 |阅读模式
本帖最后由 zutianrun 于 2021-12-15 00:05 编辑

图形化界面演示  龟壳首尔ARM  油管4K丝滑 音视频同步



http://mjjzp.cf/img/2021/12/09/5750cfb41795c.gif

感谢 @shc 大佬的 《一键可浏览器访问的Linux桌面现已支持模拟声卡》
传送门 https://hostloc.com/thread-935204-1-1.html

我没有安装OneClickDesktop,使用大佬的模拟脚本会报错
我用的是 @364064404 大佬的《Ubuntu ARM Gnome》
frp转发一遍会流畅很多,咱也不知道为啥,实在不行找个小鸡拉一下啊!!!
传送门 https://hostloc.com/thread-899918-1-1.html

根据shc大佬的SH手动安装Pulseaudio,用的这段脚本
https://github.com/Har-Kuun/OneClickDesktop/blob/master/plugins/Audio/AudioRedirectionSetup.sh
找到 function AudioRedirectionSetup_Ubuntu 这段 不要照抄



配置完成后,远程桌面这两个勾上,非root账户登陆服务器,可以识别到声卡<伪输出>



但是,我这边测试没有声音,shc大佬说ubuntu系统要登出一次,再登陆一次
然而还是没有声音,最后按debian的方法重启了pulseaudio,声卡变成<xrdp sink>
pulseaudio -k && pulseaudio
pulseaudio &



这样就有声音了!!!!

测试过 甲骨文ARM psychz 5刀 KS-LE

有问题直接问两位大佬

PS 两个问题说一下

1.AudioRedirectionSetup.sh开头function AudioRedirectionSetup_Ubuntu的apt-add-repository这里(32-36行)部分机器加上后apt update报错,所以直接注释掉这块吧

2.源有问题的参考我的sources.list

#deb http://ports.ubuntu.com/ focal main restricted
#deb http://ports.ubuntu.com/ focal-updates main restricted
deb http://ports.ubuntu.com/ focal-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ focal main restricted
# deb-src http://archive.ubuntu.com/ubuntu focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ focal-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ focal universe
# deb-src http://archive.ubuntu.com/ubuntu focal universe
deb http://ports.ubuntu.com/ focal-updates universe
# deb-src http://archive.ubuntu.com/ubuntu focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ focal multiverse
# deb-src http://archive.ubuntu.com/ubuntu focal multiverse
deb http://ports.ubuntu.com/ focal-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu focal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ focal-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports focal-security main universe restricted multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-security universe
# deb-src http://ports.ubuntu.com/ubuntu-ports focal-security universe
deb http://ports.ubuntu.com/ubuntu-ports focal-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports focal-security multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ focal main universe restricted multiversedeb-src http://ports.ubuntu.com/ubuntu-ports/ focal main universe restricted multiverse #Added by software-properties

3.我的history供参考,先配置好源,13.99.1是版本号根据实际情况改,别TM照抄。。。

  106 apt-get install software-properties-common -y
  107  apt-get install git libpulse-dev autoconf m4 intltool dpkg-dev libtool libsndfile-dev libcap-dev libjson-c-dev -y
  108  apt-get build-dep pulseaudio -y
  109  apt update
  110  apt-get build-dep pulseaudio -y
  111  apt source pulseaudio
  112  chmod 777 pulseaudio_13.99.1-1ubuntu3.13.dsc
  113  ls
  114  rm -rf pulseaudio-13.99.1
  115  apt source pulseaudio
  116  cd pulseaudio-13.99.1
  117  ./configure
  118  cd ../
  119  git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
  120  cd pulseaudio-module-xrdp
  121  ./bootstrap
  122  ./configure PULSE_DIR="/root/pulseaudio-13.99.1"
  123  make
  124  cd src/.libs
  125  install -t "/var/lib/xrdp-pulseaudio-installer" -D -m 644 *.so
  126  install -t "/usr/lib/pulse-$pulsever/modules" -D -m 644 *.so
  127  install -t "/usr/lib/pulse-13.99.1/modules" -D -m 644 *.so
  128  ls /var/lib/xrdp-pulseaudio-installer
  129  reboot
发表于 2021-12-8 17:38:06 | 显示全部楼层
不是很懂阿 . 为什么 ARM DD成 linux桌面..  这是有驱动吗?
发表于 2021-12-8 17:29:57 | 显示全部楼层
感谢支持~
发表于 2021-12-8 17:30:38 | 显示全部楼层
谢谢大佬 先插眼
发表于 2021-12-8 17:32:11 | 显示全部楼层
pz5刀小杜甫干嘛不装win
发表于 2021-12-8 17:35:28 | 显示全部楼层
不是很懂 延迟低的话 为啥还要frp本地 原地转发
 楼主| 发表于 2021-12-8 17:45:14 | 显示全部楼层

D525卡的一批
发表于 2021-12-8 17:46:46 | 显示全部楼层

胡说,明明很丝滑
发表于 2021-12-8 17:49:32 | 显示全部楼层
这才是LOC应该有的样子
 楼主| 发表于 2021-12-8 18:05:49 | 显示全部楼层
Geekman 发表于 2021-12-8 17:35
不是很懂 延迟低的话 为啥还要frp本地 原地转发

转发一遍会流畅很多,咱也不知道为啥。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-5-13 16:29 , Processed in 0.068471 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表