我一整天都在阅读(旧)指南,但我仍然对 Ubuntu 18.04 上的 multiseat 一无所知。更糟糕的是,我只有一张带有多个输出的显卡。
唯一给我希望的是loginctl list-seats我的 Ubuntu 知道座位。
如何在多座中设置我的机器?
编辑: loginctl 命令的输出。
请注意,并非所有东西都相互关联。我想首先弄清楚如何解决这个问题,而不是一头扎进去。我想每个座位都有自己的 USB 集线器(HID 设备 + 任何其他需要的东西)+ 一个显示器。
loginctl list-seats
SEAT
seat0
1 seats listed.
loginctl seat-status seat0
seat0
Sessions: *c1
Devices:
??/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
? input:input1 "Power Button"
??/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
? input:input0 "Power Button"
??/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1
? usb:usb1
? ??/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-12/1-12:1.0/input/input11
? ? input:input11 "iMON USB Touchscreen (15c2:0034)"
? ??/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-12/1-12:1.0/input/input2
? ? input:input2 "iMON Panel, Knob and Mouse(15c2:0034)"
? ??/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-12/1-12:1.0/rc/rc0/input3
? input:input3 "iMON Remote (15c2:0034)"
??/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb2
? usb:usb2
??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0
? [MASTER] drm:card0
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DP-1
? ? [MASTER] drm:card0-DP-1
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DP-2
? ? [MASTER] drm:card0-DP-2
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DP-3
? ? [MASTER] drm:card0-DP-3
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-DVI-D-1
? ? [MASTER] drm:card0-DVI-D-1
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/card0/card0-HDMI-A-1
? [MASTER] drm:card0-HDMI-A-1
??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.0/drm/renderD128
? drm:renderD128
??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0
? sound:card0 "NVidia"
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input12
? ? input:input12 "HDA NVidia HDMI/DP,pcm=3"
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input13
? ? input:input13 "HDA NVidia HDMI/DP,pcm=7"
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input14
? ? input:input14 "HDA NVidia HDMI/DP,pcm=8"
? ??/sys/devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input15
? input:input15 "HDA NVidia HDMI/DP,pcm=9"
??/sys/devices/pci0000:00/0000:00:07.1/0000:27:00.3/usb3
? usb:usb3
??/sys/devices/pci0000:00/0000:00:07.1/0000:27:00.3/usb4
? usb:usb4
??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1
? sound:card1 "Generic"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input10
? ? input:input10 "HD-Audio Generic Front Headphone"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input4
? ? input:input4 "HD-Audio Generic Front Mic"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input5
? ? input:input5 "HD-Audio Generic Rear Mic"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input6
? ? input:input6 "HD-Audio Generic Line"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input7
? ? input:input7 "HD-Audio Generic Line Out Front"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input8
? ? input:input8 "HD-Audio Generic Line Out Surround"
? ??/sys/devices/pci0000:00/0000:00:08.1/0000:28:00.3/sound/card1/input9
? input:input9 "HD-Audio Generic Line Out CLFE"
??/sys/devices/virtual/misc/rfkill
misc:rfkill
Run Code Online (Sandbox Code Playgroud)
小智 7
到目前为止,多个视频卡是设置多座位的简单方法。它允许您避免 Xephyr 和任何其他附加配置的混乱。
设置第二个座位(假设您有第二个视频卡)并不比发出命令更简单:
“loginctl 附加座位 1 __________________”
重新启动后,您应该有两个登录屏幕。在此之后,所有其他配置通常是附带的。
您的主板是否支持第二个全长 PCI-E 图形插槽?如果没有,那不是自动取消资格。您还可以使用比特币人群喜欢使用的 PCI-E 1x 竖板之一为您的机器添加 16x 插槽。不是说你应该,我只是说你可以。
| 归档时间: |
|
| 查看次数: |
6833 次 |
| 最近记录: |