功能:接入Ubuntu和麒麟云桌面并归档验证记录
This commit is contained in:
1 parent
bb5f554820
commit
b1082f8465
14 files changed
+291
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"desktop": "Ubuntu",
|
||||
"endpoint": "192.168.1.72",
|
||||
"hardware_decode_ready": true,
|
||||
"still_running": true
|
||||
},
|
||||
{
|
||||
"desktop": "Kylin",
|
||||
"endpoint": "192.168.1.71",
|
||||
"hardware_decode_ready": true,
|
||||
"still_running": true
|
||||
},
|
||||
{
|
||||
"desktop": "Windows",
|
||||
"endpoint": "192.168.1.70",
|
||||
"hardware_decode_ready": true,
|
||||
"still_running": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
Server String: /run/user/1000/pulse/native
|
||||
Library Protocol Version: 33
|
||||
Server Protocol Version: 33
|
||||
Is Local: yes
|
||||
Client Index: 60
|
||||
Tile Size: 65472
|
||||
User Name: test1
|
||||
Host Name: test1
|
||||
Server Name: pulseaudio
|
||||
Server Version: 13.99.1
|
||||
Default Sample Specification: s16le 2ch 44100Hz
|
||||
Default Channel Map: front-left,front-right
|
||||
Default Sink: vdi_audio
|
||||
Default Source: vdi_audio.monitor
|
||||
active
|
||||
enabled
|
||||
0 auto_null module-null-sink.c s16le 2ch 44100Hz SUSPENDED
|
||||
4 vdi_audio module-null-sink.c s16le 2ch 44100Hz SUSPENDED
|
||||
0 auto_null.monitor module-null-sink.c s16le 2ch 44100Hz SUSPENDED
|
||||
4 vdi_audio.monitor module-null-sink.c s16le 2ch 44100Hz SUSPENDED
|
||||
3 1000 test1 seat0
|
||||
56 1000 test1
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=VDI Sunshine host
|
||||
Exec=/bin/sh -c "systemctl --user import-environment DISPLAY XAUTHORITY XDG_SESSION_TYPE; systemctl --user start vdi-sunshine.service"
|
||||
X-GNOME-Autostart-enabled=true
|
||||
KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", GROUP="input", MODE="0660", TAG+="uaccess"
|
||||
# file: /dev/uinput
|
||||
# owner: root
|
||||
# group: input
|
||||
user::rw-
|
||||
user:test1:rw-
|
||||
group::---
|
||||
mask::rw-
|
||||
other::---
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
{"event": "key", "keyval": 65477}
|
||||
{"event": "click", "button": 1, "x": 320.34991455078125, "y": 150.28619384765625}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.6 MiB |
@@ -0,0 +1,9 @@
|
||||
sunshine_name = VDI-Kylin
|
||||
capture = x11
|
||||
encoder = software
|
||||
sw_preset = ultrafast
|
||||
sw_tune = zerolatency
|
||||
upnp = disabled
|
||||
origin_web_ui_allowed = pc
|
||||
hevc_mode = 1
|
||||
audio_sink = vdi_audio
|
||||
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=VDI Linux desktop Sunshine host
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Environment=DISPLAY=:0 XAUTHORITY=/home/test1/.Xauthority
|
||||
ExecStartPre=/usr/bin/xrandr --output Virtual-1 --mode 1920x1080
|
||||
ExecStartPre=/bin/sh -c 'pactl list short sinks | grep -qw vdi_audio || pactl load-module module-null-sink sink_name=vdi_audio sink_properties=device.description=VDI-Audio'
|
||||
ExecStartPre=/usr/bin/pactl set-default-sink vdi_audio
|
||||
ExecStart=/opt/vdi-sunshine-0.21.0/usr/bin/sunshine /home/test1/.config/sunshine/sunshine.conf
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
@@ -0,0 +1,34 @@
|
||||
Server String: /run/user/1000/pulse/native
|
||||
Library Protocol Version: 35
|
||||
Server Protocol Version: 35
|
||||
Is Local: yes
|
||||
Client Index: 212
|
||||
Tile Size: 65472
|
||||
User Name: test2
|
||||
Host Name: test2-Standard-PC-Q35-ICH9-2009
|
||||
Server Name: PulseAudio (on PipeWire 1.0.5)
|
||||
Server Version: 15.0.0
|
||||
Default Sample Specification: float32le 2ch 48000Hz
|
||||
Default Channel Map: front-left,front-right
|
||||
Default Sink: vdi_audio
|
||||
Default Source: vdi_audio.monitor
|
||||
active
|
||||
enabled
|
||||
152 vdi_audio PipeWire float32le 2ch 48000Hz SUSPENDED
|
||||
152 vdi_audio.monitor PipeWire float32le 2ch 48000Hz SUSPENDED
|
||||
181 1000 test2 seat0 tty2 active no -
|
||||
204 1000 test2 - - active no -
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=VDI Sunshine host
|
||||
Exec=/bin/sh -c "systemctl --user import-environment DISPLAY XAUTHORITY XDG_SESSION_TYPE; systemctl --user start vdi-sunshine.service"
|
||||
X-GNOME-Autostart-enabled=true
|
||||
# file: /dev/uinput
|
||||
# owner: root
|
||||
# group: input
|
||||
user::rw-
|
||||
user:test2:rw-
|
||||
group::rw-
|
||||
mask::rw-
|
||||
other::---
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{"event": "key", "keyval": 65477}
|
||||
{"event": "click", "button": 1, "x": 286.970703125, "y": 111.9871826171875}
|
||||
{"event": "key", "keyval": 65507}
|
||||
{"event": "key", "keyval": 65513}
|
||||
{"event": "key", "keyval": 65505}
|
||||
{"event": "key", "keyval": 65507}
|
||||
{"event": "key", "keyval": 65513}
|
||||
{"event": "key", "keyval": 65505}
|
||||
@@ -0,0 +1,47 @@
|
||||
# GDM configuration storage
|
||||
#
|
||||
# See /usr/share/gdm/gdm.schemas for a list of available options.
|
||||
|
||||
[daemon]
|
||||
WaylandEnable=false
|
||||
AutomaticLoginEnable=true
|
||||
AutomaticLogin=test2
|
||||
DefaultSession=ubuntu-xorg.desktop
|
||||
# Uncomment the line below to force the login screen to use Xorg
|
||||
#WaylandEnable=false
|
||||
|
||||
# Enabling automatic login
|
||||
# AutomaticLoginEnable = true
|
||||
# AutomaticLogin = user1
|
||||
|
||||
# Enabling timed login
|
||||
# TimedLoginEnable = true
|
||||
# TimedLogin = user1
|
||||
# TimedLoginDelay = 10
|
||||
|
||||
[security]
|
||||
|
||||
[xdmcp]
|
||||
|
||||
[chooser]
|
||||
|
||||
[debug]
|
||||
# Uncomment the line below to turn on debugging
|
||||
# More verbose logs
|
||||
# Additionally lets the X server dump core if it crashes
|
||||
#Enable=true
|
||||
|
||||
[User]
|
||||
Session = ubuntu-xorg
|
||||
Icon = /home/test2/.face
|
||||
SystemAccount = false
|
||||
XSession = ubuntu-xorg
|
||||
|
||||
[InputSource0]
|
||||
xkb = cn
|
||||
|
||||
[InputSource1]
|
||||
ibus = libpinyin
|
||||
|
||||
Backup directory: /var/backups/vdi-linux-20261104-100722/
|
||||
Backed up files: custom.conf, test2
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
@@ -0,0 +1,9 @@
|
||||
sunshine_name = VDI-Ubuntu
|
||||
capture = x11
|
||||
encoder = software
|
||||
sw_preset = ultrafast
|
||||
sw_tune = zerolatency
|
||||
upnp = disabled
|
||||
origin_web_ui_allowed = pc
|
||||
hevc_mode = 1
|
||||
audio_sink = vdi_audio
|
||||
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=VDI Linux desktop Sunshine host
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/xrandr --output Virtual-1 --mode 1920x1080
|
||||
ExecStartPre=/bin/sh -c 'pactl list short sinks | grep -qw vdi_audio || pactl load-module module-null-sink sink_name=vdi_audio sink_properties=device.description=VDI-Audio'
|
||||
ExecStartPre=/usr/bin/pactl set-default-sink vdi_audio
|
||||
ExecStart=/usr/bin/sunshine /home/test2/.config/sunshine/sunshine.conf
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Reference in new issue
Block a user