Mic*_*nzl 7 xorg multiseat 11.10 lightdm
我的目标是为我的 Ubuntu 机器提供两个座位。其中一台显示器是 Mimo 的 USB 触摸屏,带有显示链接芯片。我已经通过重新配置 xorg.conf 让它作为主显示器工作。即使是触摸界面也能工作。
但是对于多席位,仅更改 xorg.conf 是不够的,因为还必须启动其他登录屏幕。这必须进入 lightdm 配置。
通过为 multiseats (lightdm.conf) 配置 lightdm,我设法启动了两个 X 实例,一个用于每个 ServerLayout (xorg.conf)。一个在虚拟终端 7 (VT7) 上运行,一个在 VT8 上运行。众所周知,您可以使用快捷键 Ctrl + Alt + Fx(其中 x 是终端编号)在虚拟终端之间切换。
现在的问题是:默认情况下,VT7 是启用的,而 VT8 是禁用的。但是当我切换到 VT8 时,它被启用但 VT7 被禁用。
如何让两个 X Server 终端/服务器并行运行?
谢谢你。
这是我的 lightdm.conf
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
[Seat:0]
xserver-layout=default
[Seat:1]
xserver-layout=displaylink
Run Code Online (Sandbox Code Playgroud)
这里只是我的 xorg.conf 的相关部分:
# Two Server Layouts
Section "ServerLayout"
Identifier "default"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "displaylink"
Screen "DisplayLinkScreen"
InputDevice "Mouse1"
EndSection
# Two Screens
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
SubSection "Display"
Depth 24
Modes "800x480"
EndSubSection
EndSection
# Two Monitors
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection
# Two Graphics Cards/Interfaces
Section "Device"
Identifier "Card0"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
Option "fbdev" "/dev/fb1"
EndSection
# Three Input Devices (the last is touchscreen of the USB monitor)
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/by-path/pci-0000:00:1d.7-usb-0:1.3:1.0-event"
EndSection
Run Code Online (Sandbox Code Playgroud)
重读https://help.ubuntu.com/community/MultiseatX下的 wiki 条目,我想你应该看看 X 是如何调用的;例如-sharevts,-novtswitch命令行选项应该以某种方式传递给lightdm.conf.
如果您有工作状态,请考虑将 wiki 条目更新到 11.10。
| 归档时间: |
|
| 查看次数: |
12133 次 |
| 最近记录: |