You are not logged in.
I want to try multiseat with xdm.
Failed.
So, I try start from use xdm.
Read xdm wiki multiple times, but failed.
I often enter my GUI environment just by 'xinit' on my shell.
Is there any method to detect what's wrong?
Last edited by dlin (2012-06-05 23:31:32)
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I can detect what's wrong. You didn't tell us anything about how it "failed".
Error messages are helpful. In their absence, at least a vague description of what you observed at various stages can be useful.
Also you could check logs. But if you don't give us anything, we really can't give you anything.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks ,
I remove all xdm packages and re-install.
The problem is:
I should put a windows manager in $USER/.xsession file.
I just touch an empty file.
I used .xinitrc and I just assume xdm will use it.
I'll try multiseat config after office time.
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
Try what I wrote in this thread:
https://bbs.archlinux.org/viewtopic.php … 0#p1107640
And yes, xdm uses .xsession not .xinit
Offline
I have once successful on one machine.
Now I move on my another server.
pacman -Sy xdm-archlinux
I can see the login screen, enter my normal user account & password will soon quit.
If login as root, it workable with default three xterm terminal opened.
my ~/.xsession
export LC_CTYPE=zh_TW.UTF-8
export XMODIFIERS=@im=gcin
export XIM_PROGRAM="gcin"
export GTK_IM_MODULE="gcin"
export QT_IM_MODULE="gcin"
mkdir -p ~/tmp/{log,screenshot}
gcin &
awesome &~/.xsession-errors
(gcin:697): Gdk-WARNING **: gcin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
W: awesome: a_dbus_connect:608: D-Bus session bus session failed: /usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.
E: awesome: signal_fatal:259: dumping backtrace
awesome(backtrace_get+0x41) [0x424e31]
awesome() [0x40d57c]
/lib/libpthread.so.0(+0xf140) [0x7f9e2347e140]
awesome(main+0x8b2) [0x40cde2]
/lib/libc.so.6(__libc_start_main+0xf5) [0x7f9e230ef455]
awesome() [0x40d191]/etc/rc.conf
DAEMONS=(!hwclock @syslog-ng @network @crond @ntpd @acpid @alsa dbus @cpufreq)/etc/inittab
id:5:initdefault:
...
x:5:respawn:/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-configRunning 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
The last line in your .xsession is wrong. It should be 'exec awesome', without an '&'.
Offline
And from the errors it looks like you should use dbus-launch
exec dbus-launch --exit-with-session awesome"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Trilby, Thanks,
The major problem is the typo '&'. If I let dbus don't run in background, it works.
I don't understood dbus. (I just read wiki about that).
Could I use '@dbus' in /etc/rc.conf to speedup boot time?
And then use dbus-launch in .xsession?
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
I've setup multiseat. But I found there are something strange.
1. Sometimes, vim will show 'No protocol' after exit vim.
2. Sometimes, some key stroke will generate 'Beep' on seat0.
3. When I press seat1 keyboard's 'CapsLock', the seat0's 'CapsLock' will enable too.
4. Login two seat without typing the two users' username and password.
5. I'm using usb-VGA, I wish I could unplug all seat1 devices when I just want one seat available.
Here are my settings.
/etc/X11/xorg.multiseat.conf
Section "InputDevice"
Identifier "keyboard0"
Driver "evdev"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
Option "XkbModel" "evdev"
EndSection
Section "InputDevice"
Identifier "mouse0"
Driver "evdev"
Option "device" "/dev/input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event-mouse"
EndSection
Section "Device"
Identifier "device0"
Driver "intel"
EndSection
Section "Monitor"
Identifier "monitor0"
VendorName "ViewSonic"
ModelName "VA702b"
EndSection
Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultDepth 24
Option "DPI" "100x100"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
Section "InputDevice"
Identifier "keyboard1"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-Tangtop_Generic_USBPS2-event-kbd"
Option "XkbModel" "evdev"
EndSection
Section "InputDevice"
Identifier "mouse1"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-1267_PS_2+USB_Mouse-event-mouse"
EndSection
Section "Device"
Identifier "device1"
VendorName "SiS" # Value does not matter
BoardName "SiS" # Value does not matter
Driver "sisusb"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Acer" # value does not matter
ModelName "AL1706" # value does not matter
HorizSync 30-83
VertRefresh 56-75
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 16
Option "DPI" "100x100"
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "Xinerama" "0"
Option "DontVTSwitch" "yes"
Option "DontZap" "yes"
EndSection
Section "ServerLayout"
Identifier "seat0"
Screen "screen0" 0 0
InputDevice "mouse0" "CorePointer"
InputDevice "keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "off"
EndSection
Section "ServerLayout"
Identifier "seat1"
Screen "screen1" 0 0
InputDevice "mouse1" "CorePointer"
InputDevice "keyboard1" "CoreKeyboard"
Option "AutoAddDevices" "off"
EndSection
Section "ServerLayout"
Identifier "two"
Screen 0 "screen0"
Screen 1 "screen1" RightOf "Screen0"
InputDevice "mouse0" "CorePointer"
InputDevice "keyboard0" "CoreKeyboard"
Option "AutoAddDevices" "off"
EndSection/etc/X11/xdm/Xservers
:0 local /usr/bin/X :0 vt07 -layout seat0 -nolisten tcp -sharevts -novtswitch -config xorg.multiseat.conf
:1 local /usr/bin/X :1 vt08 -layout seat1 -nolisten tcp -sharevts -novtswitch -config xorg.multiseat.conf/etc/X11/xdm/archlinux/xdm-config
... original settings from default package
DisplayManager._1.setup: /etc/X11/xdm/archlinux/Xsetup
DisplayManager._1.startup: /etc/X11/xdm/archlinux/Xstartup
DisplayManager._1.reset: /etc/X11/xdm/TakeConsoleLast edited by dlin (2012-06-06 00:42:25)
Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline