Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
V2EX
›
Linux
能不能实现在终端登录远程服务器执行脚本,将远程服务器的声音通过本地的扬声器播放出来
Chuizi997
·
Apr 24, 2023
· 1731 views
This topic created in 1107 days ago, the information mentioned may be changed or developed.
如果我的服务器(非本机)有个 XX.mp3 的文件, 在脚本中有这句 play XX.mp3 能不能在本机通过终端软件连上服务器后,在执行脚本时,可以让 XX.mp3 的声音在本机的杨士奇播放呢 能做到吗?
不能的话 CTRL+G 的这个声音是终端软件发出来的吗?
脚本
服务器
终端
非本机
2 replies
•
2023-04-24 11:11:31 +08:00
1
zed1018
Apr 24, 2023
https://superuser.com/questions/231920/forwarding-audio-like-x-in-ssh
2
jackyzy823
Apr 24, 2023
可以,
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#xforwarding
CTRL+G 是终端软件发出来的。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4756 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 38ms ·
UTC 01:08
·
PVG 09:08
·
LAX 18:08
·
JFK 21:08
♥ Do have faith in what you're doing.
❯