You are not logged in.

#1 2019-12-02 18:58:44

nfortier
Member
Registered: 2011-09-18
Posts: 35

[SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

I have been running Arch with OpenBox and lxdm on two monitors for years, with one desktop spanning both monitors.

Now I just got a new monitor and I want to run OpenBox on two separate screens, so that I can set color depth separately for the screen (/etc/X11/xorg.conf.d/20-nvidia.conf, see below) where the new monitor is.

After a lot of research this is the closest I've come (see below): OpenBox works normally on screen 0.0, tint2 is there too. On screen 0.1, things work initially, I can open an application (a terminal, leafpad...) and type into it, mouse and keyboard work. But If I close the application, by typing exit into the terminal or clicking the window close button, the window stops responding but it is still displayed. If I open a terminal and ps aux | grep leafpad for instance, the leafpad process is there; if I kill it, the window remains displayed. Opening more terminal windows, dragging the window on the desktop leaves "traces" of the window's position. That is all on screen 0.1; on 0.0 everything seems normal.

I've also tried to start two openbox-session instances, in ~/.xprofile:

DISPLAY=:0.1
exec openbox-session & # instead of exec openbox &

DISPLAY=:0.0
exec openbox-session

The display initially looks right, but the keyboard does not work properly (e.g. arrows, del don't work).

These are the relevant config:

- /etc/X11/xorg.conf.d/20-nvidia.conf (generated with the help of nvidia-settings, according to people on the nvidia forum, this should work):

Section "ServerLayout"
    Identifier     "Layout0"
    Screen         0 "Screen0" 0 0
    Screen         1 "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "NEC"
    ModelName      "pa271q"
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Asus"
    ModelName      "PA248"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nvidia0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro 2000"
    BusID       "PCI:2:0:0"
    Screen              0
EndSection

Section "Device"
    Identifier     "nvidia1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro 2000"
    BusID       "PCI:2:0:0"
    Screen              1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "nvidia0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "nvidia1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "DP-0: nvidia-auto-select +0+0 {rotation=left}"
    Option         "Stereo" "0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

- commented out this line in /etc/lxdm/lxdm.conf:

session=/usr/bin/openbox-session

~/.xprofile:

DISPLAY=:0.1
exec openbox & 
tint2 &

DISPLAY=:0.0
exec openbox-session

- Xorg.0.log:

[    10.141] 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[    10.141] Build Operating System: Linux Arch Linux
[    10.141] Current Operating System: Linux lino 5.3.13-arch1-1 #1 SMP PREEMPT Sun, 24 Nov 2019 10:15:50 +0000 x86_64
[    10.141] Kernel command line: root=UUID=28f4e464-2bad-4098-82a8-c51fe0802cda rootfstype=ext4 rw initrd=/intel-ucode.img initrd=/initramfs-linux.img add_efi_memmap
[    10.141] Build Date: 23 November 2019  06:54:33AM
[    10.141]  
[    10.141] Current version of pixman: 0.38.4
[    10.141] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.141] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.141] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  2 13:23:07 2019
[    10.146] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    10.146] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.147] (==) ServerLayout "Layout0"
[    10.147] (**) |-->Screen "Screen0" (0)
[    10.147] (**) |   |-->Monitor "Monitor0"
[    10.148] (**) |   |-->Device "nvidia0"
[    10.148] (**) |-->Screen "Screen1" (1)
[    10.148] (**) |   |-->Monitor "Monitor1"
[    10.148] (**) |   |-->Device "nvidia1"
[    10.148] (**) |-->Input Device "Keyboard0"
[    10.148] (**) |-->Input Device "Mouse0"
[    10.148] (**) Option "Xinerama" "0"
[    10.148] (==) Automatically adding devices
[    10.148] (==) Automatically enabling devices
[    10.148] (==) Automatically adding GPU devices
[    10.148] (==) Automatically binding GPU devices
[    10.148] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.160] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    10.160] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.160] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    10.160] (WW) Disabling Keyboard0
[    10.160] (WW) Disabling Mouse0
[    10.160] (II) Module ABI versions:
[    10.160] 	X.Org ANSI C Emulation: 0.4
[    10.160] 	X.Org Video Driver: 24.0
[    10.160] 	X.Org XInput driver : 24.1
[    10.160] 	X.Org Server Extension : 10.0
[    10.161] (++) using VT number 1

[    10.161] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.162] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.168] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    10.168] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[    10.174] (--) PCI:*(2@0:0:0) 10de:0dd8:10de:084a rev 161, Mem @ 0xf8000000/33554432, 0xd0000000/134217728, 0xd8000000/67108864, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    10.174] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    10.174] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    10.174] (II) LoadModule: "dbe"
[    10.174] (II) Module "dbe" already built-in
[    10.174] (II) LoadModule: "extmod"
[    10.174] (II) Module "extmod" already built-in
[    10.174] (II) LoadModule: "glx"
[    10.179] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[    10.227] (II) Module glx: vendor="NVIDIA Corporation"
[    10.228] 	compiled for 4.0.2, module version = 1.0.0
[    10.228] 	Module class: X.Org Server Extension
[    10.228] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[    10.229] (II) LoadModule: "nvidia"
[    10.231] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    10.236] (II) Module nvidia: vendor="NVIDIA Corporation"
[    10.236] 	compiled for 4.0.2, module version = 1.0.0
[    10.236] 	Module class: X.Org Video Driver
[    10.237] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[    10.237] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    10.238] (II) Loading sub module "fb"
[    10.238] (II) LoadModule: "fb"
[    10.238] (II) Loading /usr/lib/xorg/modules/libfb.so
[    10.239] (II) Module fb: vendor="X.Org Foundation"
[    10.239] 	compiled for 1.20.6, module version = 1.0.0
[    10.239] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.239] (II) Loading sub module "wfb"
[    10.239] (II) LoadModule: "wfb"
[    10.239] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    10.240] (II) Module wfb: vendor="X.Org Foundation"
[    10.240] 	compiled for 1.20.6, module version = 1.0.0
[    10.240] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.240] (II) Loading sub module "ramdac"
[    10.240] (II) LoadModule: "ramdac"
[    10.240] (II) Module "ramdac" already built-in
[    10.242] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    10.242] (==) NVIDIA(0): RGB weight 888
[    10.242] (==) NVIDIA(0): Default visual is TrueColor
[    10.242] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    10.242] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    10.242] (**) NVIDIA(0): Option "Stereo" "0"
[    10.242] (**) NVIDIA(0): Option "SLI" "Off"
[    10.242] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    10.242] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    10.242] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    10.242] (**) NVIDIA(0): Stereo disabled by request
[    10.242] (**) NVIDIA(0): NVIDIA SLI disabled.
[    10.242] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    10.242] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    10.242] (**) NVIDIA(1): Option "MetaModes" "DP-0: nvidia-auto-select +0+0 {rotation=left}"
[    10.242] (**) NVIDIA(0): Enabling 2D acceleration
[    10.814] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:2:0:0
[    10.814] (--) NVIDIA(0):     CRT-0
[    10.814] (--) NVIDIA(0):     DFP-0
[    10.814] (--) NVIDIA(0):     DFP-1
[    10.814] (--) NVIDIA(0):     DFP-2
[    10.814] (--) NVIDIA(0):     DFP-3
[    10.814] (--) NVIDIA(0):     DFP-4 (boot)
[    10.815] (II) NVIDIA(0): NVIDIA GPU Quadro 2000 (GF106GL) at PCI:2:0:0 (GPU-0)
[    10.815] (--) NVIDIA(0): Memory: 1048576 kBytes
[    10.815] (--) NVIDIA(0): VideoBIOS: 70.06.3f.00.01
[    10.816] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    10.818] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    10.818] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    10.818] (--) NVIDIA(GPU-0): 
[    10.820] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    10.820] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    10.820] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    10.820] (--) NVIDIA(GPU-0): 
[    10.835] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): connected
[    10.835] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): Internal TMDS
[    10.835] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): 165.0 MHz maximum pixel clock
[    10.835] (--) NVIDIA(GPU-0): 
[    10.836] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    10.836] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    10.836] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    10.836] (--) NVIDIA(GPU-0): 
[    10.836] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    10.836] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    10.836] (--) NVIDIA(GPU-0): DFP-3: 480.0 MHz maximum pixel clock
[    10.836] (--) NVIDIA(GPU-0): 
[    10.836] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): connected
[    10.836] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): Internal DisplayPort
[    10.836] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): 480.0 MHz maximum pixel clock
[    10.836] (--) NVIDIA(GPU-0): 
[    10.840] (==) NVIDIA(0): 
[    10.840] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    10.840] (==) NVIDIA(0):     will be used as the requested mode.
[    10.840] (==) NVIDIA(0): 
[    10.840] (II) NVIDIA(0): Validated MetaModes:
[    10.840] (II) NVIDIA(0):     "DFP-4:nvidia-auto-select"
[    10.840] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1440
[    10.846] (--) NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config
[    10.846] (--) NVIDIA(0):     option
[    10.846] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[    10.846] (==) NVIDIA(1): RGB weight 888
[    10.846] (==) NVIDIA(1): Default visual is TrueColor
[    10.846] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[    10.846] (**) NVIDIA(1): Option "Stereo" "0"
[    10.846] (**) NVIDIA(1): Option "SLI" "Off"
[    10.847] (**) NVIDIA(1): Option "MultiGPU" "Off"
[    10.847] (**) NVIDIA(1): Option "BaseMosaic" "off"
[    10.847] (**) NVIDIA(1): Option "AllowEmptyInitialConfiguration"
[    10.847] (**) NVIDIA(1): Stereo disabled by request
[    10.847] (**) NVIDIA(1): NVIDIA SLI disabled.
[    10.847] (**) NVIDIA(1): NVIDIA Multi-GPU disabled.
[    10.847] (II) NVIDIA(1): NVIDIA GPU Quadro 2000 (GF106GL) at PCI:2:0:0 (GPU-0)
[    10.847] (--) NVIDIA(1): Memory: 1048576 kBytes
[    10.847] (--) NVIDIA(1): VideoBIOS: 70.06.3f.00.01
[    10.847] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[    10.850] (II) NVIDIA(1): Validated MetaModes:
[    10.850] (II) NVIDIA(1):     "DP-0:nvidia-auto-select+0+0{rotation=left}"
[    10.850] (II) NVIDIA(1): Virtual screen size determined to be 1200 x 1920
[    10.854] (--) NVIDIA(1): DPI set to (55, 139); computed from "UseEdidDpi" X config
[    10.854] (--) NVIDIA(1):     option
[    10.856] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[    10.856] (II) NVIDIA:     access.
[    10.857] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    10.857] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    10.857] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    10.857] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    10.857] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    10.857] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    10.857] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    10.857] (II) NVIDIA(0):     Config Options in the README.
[    10.875] (II) NVIDIA(0): Setting mode "DFP-4:nvidia-auto-select"
[    10.949] (==) NVIDIA(0): Disabling shared memory pixmaps
[    10.949] (==) NVIDIA(0): Backing store enabled
[    10.949] (==) NVIDIA(0): Silken mouse disabled
[    10.949] (**) NVIDIA(0): DPMS enabled
[    10.949] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[    10.949] (II) Loading sub module "dri2"
[    10.949] (II) LoadModule: "dri2"
[    10.949] (II) Module "dri2" already built-in
[    10.949] (II) NVIDIA(0): [DRI2] Setup complete
[    10.949] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    10.952] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
[    10.952] (II) NVIDIA(1):     may not be running or the "AcpidSocketPath" X
[    10.952] (II) NVIDIA(1):     configuration option may not be set correctly.  When the
[    10.952] (II) NVIDIA(1):     ACPI event daemon is available, the NVIDIA X driver will
[    10.952] (II) NVIDIA(1):     try to use it to receive ACPI event notifications.  For
[    10.952] (II) NVIDIA(1):     details, please see the "ConnectToAcpid" and
[    10.952] (II) NVIDIA(1):     "AcpidSocketPath" X configuration options in Appendix B: X
[    10.952] (II) NVIDIA(1):     Config Options in the README.
[    10.970] (II) NVIDIA(1): Setting mode "DP-0:nvidia-auto-select+0+0{rotation=left}"
[    11.063] (==) NVIDIA(1): Disabling shared memory pixmaps
[    11.063] (==) NVIDIA(1): Backing store enabled
[    11.063] (==) NVIDIA(1): Silken mouse disabled
[    11.063] (**) NVIDIA(1): DPMS enabled
[    11.063] (WW) NVIDIA(1): Option "PrimaryGPU" is not used
[    11.063] (II) Loading sub module "dri2"
[    11.063] (II) LoadModule: "dri2"
[    11.063] (II) Module "dri2" already built-in
[    11.063] (II) NVIDIA(1): [DRI2] Setup complete
[    11.063] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[    11.063] (II) Initializing extension Generic Event Extension
[    11.063] (II) Initializing extension SHAPE
[    11.063] (II) Initializing extension MIT-SHM
[    11.063] (II) Initializing extension XInputExtension
[    11.063] (II) Initializing extension XTEST
[    11.063] (II) Initializing extension BIG-REQUESTS
[    11.063] (II) Initializing extension SYNC
[    11.063] (II) Initializing extension XKEYBOARD
[    11.064] (II) Initializing extension XC-MISC
[    11.064] (II) Initializing extension SECURITY
[    11.064] (II) Initializing extension XFIXES
[    11.064] (II) Initializing extension RENDER
[    11.064] (II) Initializing extension RANDR
[    11.064] (II) Initializing extension COMPOSITE
[    11.064] (II) Initializing extension DAMAGE
[    11.064] (II) Initializing extension MIT-SCREEN-SAVER
[    11.064] (II) Initializing extension DOUBLE-BUFFER
[    11.064] (II) Initializing extension RECORD
[    11.064] (II) Initializing extension DPMS
[    11.064] (II) Initializing extension Present
[    11.064] (II) Initializing extension DRI3
[    11.064] (II) Initializing extension X-Resource
[    11.065] (II) Initializing extension XVideo
[    11.065] (II) Initializing extension XVideo-MotionCompensation
[    11.065] (II) Initializing extension XFree86-VidModeExtension
[    11.065] (II) Initializing extension XFree86-DGA
[    11.065] (II) Initializing extension XFree86-DRI
[    11.065] (II) Initializing extension DRI2
[    11.065] (II) Initializing extension GLX
[    11.065] (II) Initializing extension GLX
[    11.065] (II) Indirect GLX disabled.
[    11.065] (II) Initializing extension NV-GLX
[    11.065] (II) Initializing extension NV-CONTROL
[    11.143] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    11.143] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.143] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    11.143] (**) Power Button: Applying InputClass "system-keyboard"
[    11.143] (II) LoadModule: "libinput"
[    11.143] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    11.147] (II) Module libinput: vendor="X.Org Foundation"
[    11.147] 	compiled for 1.20.5, module version = 0.29.0
[    11.147] 	Module class: X.Org XInput Driver
[    11.147] 	ABI class: X.Org XInput driver, version 24.1
[    11.147] (II) Using input driver 'libinput' for 'Power Button'
[    11.147] (**) Power Button: always reports core events
[    11.147] (**) Option "Device" "/dev/input/event1"
[    11.147] (**) Option "_source" "server/udev"
[    11.152] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    11.152] (II) event1  - Power Button: device is a keyboard
[    11.152] (II) event1  - Power Button: device removed
[    11.182] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[    11.182] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    11.182] (**) Option "xkb_model" "pc105"
[    11.182] (**) Option "xkb_layout" "us"
[    11.182] (**) Option "xkb_variant" "intl"
[    11.182] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.208] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    11.209] (II) event1  - Power Button: device is a keyboard
[    11.210] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    11.210] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.210] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    11.210] (**) Power Button: Applying InputClass "system-keyboard"
[    11.210] (II) Using input driver 'libinput' for 'Power Button'
[    11.210] (**) Power Button: always reports core events
[    11.210] (**) Option "Device" "/dev/input/event0"
[    11.210] (**) Option "_source" "server/udev"
[    11.212] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    11.212] (II) event0  - Power Button: device is a keyboard
[    11.213] (II) event0  - Power Button: device removed
[    11.275] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    11.275] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    11.275] (**) Option "xkb_model" "pc105"
[    11.275] (**) Option "xkb_layout" "us"
[    11.275] (**) Option "xkb_variant" "intl"
[    11.275] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.278] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    11.278] (II) event0  - Power Button: device is a keyboard
[    11.279] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event16)
[    11.280] (II) No input driver specified, ignoring this device.
[    11.280] (II) This device may have been added with another device file.
[    11.280] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event17)
[    11.280] (II) No input driver specified, ignoring this device.
[    11.280] (II) This device may have been added with another device file.
[    11.281] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event18)
[    11.281] (II) No input driver specified, ignoring this device.
[    11.281] (II) This device may have been added with another device file.
[    11.282] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event19)
[    11.282] (II) No input driver specified, ignoring this device.
[    11.282] (II) This device may have been added with another device file.
[    11.283] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event3)
[    11.283] (II) No input driver specified, ignoring this device.
[    11.283] (II) This device may have been added with another device file.
[    11.284] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event4)
[    11.284] (II) No input driver specified, ignoring this device.
[    11.284] (II) This device may have been added with another device file.
[    11.285] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event5)
[    11.285] (II) No input driver specified, ignoring this device.
[    11.285] (II) This device may have been added with another device file.
[    11.286] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event7)
[    11.286] (II) No input driver specified, ignoring this device.
[    11.286] (II) This device may have been added with another device file.
[    11.286] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event11)
[    11.287] (II) No input driver specified, ignoring this device.
[    11.287] (II) This device may have been added with another device file.
[    11.287] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event12)
[    11.287] (II) No input driver specified, ignoring this device.
[    11.287] (II) This device may have been added with another device file.
[    11.288] (II) config/udev: Adding input device HDA Intel PCH Line Out Side (/dev/input/event13)
[    11.288] (II) No input driver specified, ignoring this device.
[    11.288] (II) This device may have been added with another device file.
[    11.289] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)
[    11.289] (II) No input driver specified, ignoring this device.
[    11.289] (II) This device may have been added with another device file.
[    11.291] (II) config/udev: Adding input device Logitech M570 (/dev/input/event15)
[    11.291] (**) Logitech M570: Applying InputClass "evdev pointer catchall"
[    11.291] (**) Logitech M570: Applying InputClass "libinput pointer catchall"
[    11.291] (II) Using input driver 'libinput' for 'Logitech M570'
[    11.291] (**) Logitech M570: always reports core events
[    11.291] (**) Option "Device" "/dev/input/event15"
[    11.291] (**) Option "_source" "server/udev"
[    11.293] (II) event15 - Logitech M570: is tagged by udev as: Mouse Trackball
[    11.293] (II) event15 - Logitech M570: device set to 540 DPI
[    11.293] (II) event15 - Logitech M570: device is a pointer
[    11.293] (II) event15 - Logitech M570: device removed
[    11.395] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.2/0003:046D:C52B.0003/0003:046D:1028.0006/input/input25/event15"
[    11.395] (II) XINPUT: Adding extended input device "Logitech M570" (type: MOUSE, id 8)
[    11.395] (**) Option "AccelerationScheme" "none"
[    11.395] (**) Logitech M570: (accel) selected scheme none/0
[    11.395] (**) Logitech M570: (accel) acceleration factor: 2.000
[    11.395] (**) Logitech M570: (accel) acceleration threshold: 4
[    11.399] (II) event15 - Logitech M570: is tagged by udev as: Mouse Trackball
[    11.400] (II) event15 - Logitech M570: device set to 540 DPI
[    11.400] (II) event15 - Logitech M570: device is a pointer
[    11.402] (II) config/udev: Adding input device Logitech M570 (/dev/input/mouse0)
[    11.402] (II) No input driver specified, ignoring this device.
[    11.402] (II) This device may have been added with another device file.
[    11.404] (II) config/udev: Adding input device Metadot - Das Keyboard Das Keyboard Model S (/dev/input/event8)
[    11.404] (**) Metadot - Das Keyboard Das Keyboard Model S: Applying InputClass "evdev keyboard catchall"
[    11.404] (**) Metadot - Das Keyboard Das Keyboard Model S: Applying InputClass "libinput keyboard catchall"
[    11.404] (**) Metadot - Das Keyboard Das Keyboard Model S: Applying InputClass "system-keyboard"
[    11.404] (II) Using input driver 'libinput' for 'Metadot - Das Keyboard Das Keyboard Model S'
[    11.404] (**) Metadot - Das Keyboard Das Keyboard Model S: always reports core events
[    11.404] (**) Option "Device" "/dev/input/event8"
[    11.404] (**) Option "_source" "server/udev"
[    11.408] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: is tagged by udev as: Keyboard
[    11.408] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: device is a keyboard
[    11.409] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: device removed
[    11.448] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.0/0003:24F0:0137.0004/input/input9/event8"
[    11.448] (II) XINPUT: Adding extended input device "Metadot - Das Keyboard Das Keyboard Model S" (type: KEYBOARD, id 9)
[    11.448] (**) Option "xkb_model" "pc105"
[    11.448] (**) Option "xkb_layout" "us"
[    11.448] (**) Option "xkb_variant" "intl"
[    11.448] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.453] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: is tagged by udev as: Keyboard
[    11.453] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: device is a keyboard
[    11.455] (II) config/udev: Adding input device Metadot - Das Keyboard Das Keyboard Model S System Control (/dev/input/event9)
[    11.455] (**) Metadot - Das Keyboard Das Keyboard Model S System Control: Applying InputClass "evdev keyboard catchall"
[    11.455] (**) Metadot - Das Keyboard Das Keyboard Model S System Control: Applying InputClass "libinput keyboard catchall"
[    11.456] (**) Metadot - Das Keyboard Das Keyboard Model S System Control: Applying InputClass "system-keyboard"
[    11.456] (II) Using input driver 'libinput' for 'Metadot - Das Keyboard Das Keyboard Model S System Control'
[    11.456] (**) Metadot - Das Keyboard Das Keyboard Model S System Control: always reports core events
[    11.456] (**) Option "Device" "/dev/input/event9"
[    11.456] (**) Option "_source" "server/udev"
[    11.460] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: is tagged by udev as: Keyboard
[    11.460] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: device is a keyboard
[    11.460] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: device removed
[    11.515] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.1/0003:24F0:0137.0005/input/input10/event9"
[    11.515] (II) XINPUT: Adding extended input device "Metadot - Das Keyboard Das Keyboard Model S System Control" (type: KEYBOARD, id 10)
[    11.515] (**) Option "xkb_model" "pc105"
[    11.515] (**) Option "xkb_layout" "us"
[    11.515] (**) Option "xkb_variant" "intl"
[    11.515] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.519] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: is tagged by udev as: Keyboard
[    11.520] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: device is a keyboard
[    11.522] (II) config/udev: Adding input device Metadot - Das Keyboard Das Keyboard Model S Consumer Control (/dev/input/event10)
[    11.522] (**) Metadot - Das Keyboard Das Keyboard Model S Consumer Control: Applying InputClass "evdev keyboard catchall"
[    11.522] (**) Metadot - Das Keyboard Das Keyboard Model S Consumer Control: Applying InputClass "libinput keyboard catchall"
[    11.522] (**) Metadot - Das Keyboard Das Keyboard Model S Consumer Control: Applying InputClass "system-keyboard"
[    11.522] (II) Using input driver 'libinput' for 'Metadot - Das Keyboard Das Keyboard Model S Consumer Control'
[    11.522] (**) Metadot - Das Keyboard Das Keyboard Model S Consumer Control: always reports core events
[    11.522] (**) Option "Device" "/dev/input/event10"
[    11.522] (**) Option "_source" "server/udev"
[    11.526] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: is tagged by udev as: Keyboard
[    11.526] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: device is a keyboard
[    11.527] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: device removed
[    11.608] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.6/4-1.6:1.1/0003:24F0:0137.0005/input/input11/event10"
[    11.608] (II) XINPUT: Adding extended input device "Metadot - Das Keyboard Das Keyboard Model S Consumer Control" (type: KEYBOARD, id 11)
[    11.608] (**) Option "xkb_model" "pc105"
[    11.608] (**) Option "xkb_layout" "us"
[    11.608] (**) Option "xkb_variant" "intl"
[    11.608] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.613] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: is tagged by udev as: Keyboard
[    11.613] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: device is a keyboard
[    11.614] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event6)
[    11.614] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    11.614] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    11.614] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
[    11.614] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
[    11.615] (**) Eee PC WMI hotkeys: always reports core events
[    11.615] (**) Option "Device" "/dev/input/event6"
[    11.615] (**) Option "_source" "server/udev"
[    11.617] (II) event6  - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    11.617] (II) event6  - Eee PC WMI hotkeys: device is a keyboard
[    11.617] (II) event6  - Eee PC WMI hotkeys: device removed
[    11.661] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input8/event6"
[    11.662] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 12)
[    11.662] (**) Option "xkb_model" "pc105"
[    11.662] (**) Option "xkb_layout" "us"
[    11.662] (**) Option "xkb_variant" "intl"
[    11.662] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.664] (II) event6  - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    11.664] (II) event6  - Eee PC WMI hotkeys: device is a keyboard
[    11.665] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[    11.666] (II) No input driver specified, ignoring this device.
[    11.666] (II) This device may have been added with another device file.
[    11.677] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): connected
[    11.677] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): Internal DisplayPort
[    11.677] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): 480.0 MHz maximum pixel clock
[    11.677] (--) NVIDIA(GPU-0): 
[    13.800] (II) event1  - Power Button: device removed
[    13.835] (II) event0  - Power Button: device removed
[    13.861] (II) event15 - Logitech M570: device removed
[    13.911] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: device removed
[    13.942] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: device removed
[    13.978] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: device removed
[    14.044] (II) event6  - Eee PC WMI hotkeys: device removed
[    40.187] (--) NVIDIA(GPU-0): CRT-0: disconnected
[    40.187] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[    40.187] (--) NVIDIA(GPU-0): 
[    40.189] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    40.189] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    40.189] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[    40.189] (--) NVIDIA(GPU-0): 
[    40.205] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): connected
[    40.205] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): Internal TMDS
[    40.205] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): 165.0 MHz maximum pixel clock
[    40.205] (--) NVIDIA(GPU-0): 
[    40.206] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    40.206] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    40.206] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    40.206] (--) NVIDIA(GPU-0): 
[    40.206] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    40.206] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    40.206] (--) NVIDIA(GPU-0): DFP-3: 480.0 MHz maximum pixel clock
[    40.206] (--) NVIDIA(GPU-0): 
[    40.206] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): connected
[    40.206] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): Internal DisplayPort
[    40.206] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): 480.0 MHz maximum pixel clock
[    40.206] (--) NVIDIA(GPU-0): 
[    40.229] (II) NVIDIA(0): Setting mode "DFP-4:nvidia-auto-select"
[    40.277] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    40.277] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    40.277] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    40.277] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    40.277] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    40.277] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    40.277] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    40.277] (II) NVIDIA(0):     Config Options in the README.
[    40.295] (II) NVIDIA(1): Setting mode "DP-0:nvidia-auto-select+0+0{rotation=left}"
[    40.393] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
[    40.393] (II) NVIDIA(1):     may not be running or the "AcpidSocketPath" X
[    40.393] (II) NVIDIA(1):     configuration option may not be set correctly.  When the
[    40.393] (II) NVIDIA(1):     ACPI event daemon is available, the NVIDIA X driver will
[    40.393] (II) NVIDIA(1):     try to use it to receive ACPI event notifications.  For
[    40.393] (II) NVIDIA(1):     details, please see the "ConnectToAcpid" and
[    40.393] (II) NVIDIA(1):     "AcpidSocketPath" X configuration options in Appendix B: X
[    40.393] (II) NVIDIA(1):     Config Options in the README.
[    40.432] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    40.432] (II) event1  - Power Button: device is a keyboard
[    40.433] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    40.433] (II) event0  - Power Button: device is a keyboard
[    40.435] (II) event15 - Logitech M570: is tagged by udev as: Mouse Trackball
[    40.435] (II) event15 - Logitech M570: device set to 540 DPI
[    40.435] (II) event15 - Logitech M570: device is a pointer
[    40.436] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: is tagged by udev as: Keyboard
[    40.436] (II) event8  - Metadot - Das Keyboard Das Keyboard Model S: device is a keyboard
[    40.438] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: is tagged by udev as: Keyboard
[    40.438] (II) event9  - Metadot - Das Keyboard Das Keyboard Model S System Control: device is a keyboard
[    40.439] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: is tagged by udev as: Keyboard
[    40.439] (II) event10 - Metadot - Das Keyboard Das Keyboard Model S Consumer Control: device is a keyboard
[    40.440] (II) event6  - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    40.440] (II) event6  - Eee PC WMI hotkeys: device is a keyboard
[   162.128] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   162.128] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   162.128] (--) NVIDIA(GPU-0): 
[   162.130] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   162.130] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   162.130] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   162.130] (--) NVIDIA(GPU-0): 
[   162.145] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): connected
[   162.145] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): Internal TMDS
[   162.145] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): 165.0 MHz maximum pixel clock
[   162.145] (--) NVIDIA(GPU-0): 
[   162.146] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   162.146] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   162.146] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   162.146] (--) NVIDIA(GPU-0): 
[   162.146] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   162.146] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   162.146] (--) NVIDIA(GPU-0): DFP-3: 480.0 MHz maximum pixel clock
[   162.146] (--) NVIDIA(GPU-0): 
[   162.146] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): connected
[   162.146] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): Internal DisplayPort
[   162.146] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): 480.0 MHz maximum pixel clock
[   162.146] (--) NVIDIA(GPU-0): 
[   162.152] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   162.152] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   162.152] (--) NVIDIA(GPU-0): 
[   162.155] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   162.155] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   162.155] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   162.155] (--) NVIDIA(GPU-0): 
[   162.170] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): connected
[   162.170] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): Internal TMDS
[   162.170] (--) NVIDIA(GPU-0): Ancor Communications Inc PA248 (DFP-1): 165.0 MHz maximum pixel clock
[   162.170] (--) NVIDIA(GPU-0): 
[   162.171] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   162.171] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   162.171] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   162.171] (--) NVIDIA(GPU-0): 
[   162.171] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   162.171] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[   162.171] (--) NVIDIA(GPU-0): DFP-3: 480.0 MHz maximum pixel clock
[   162.171] (--) NVIDIA(GPU-0): 
[   162.171] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): connected
[   162.171] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): Internal DisplayPort
[   162.171] (--) NVIDIA(GPU-0): NEC PA271Q (DFP-4): 480.0 MHz maximum pixel clock
[   162.171] (--) NVIDIA(GPU-0): 

Any suggestions?

Normand Fortier

nvidia quadro 2000
openbox 3.6.1-5
tint2 16.7-1
lxdm 0.5.3-6
xorg-server 1.20.6-1
arch 5.3.13-arch1-1 #1 SMP PREEMPT Sun, 24 Nov 2019 10:15:50 +0000 x86_64 GNU/Linux

Last edited by nfortier (2019-12-04 15:56:00)

Offline

#2 2019-12-02 19:42:45

seth
Member
Registered: 2012-09-03
Posts: 13,104

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

It's your ~/.xprofile - the display variable would have to be exported and also don't "exec stuff &" itfp, just fork the openbox call.

(nb, Idk, whether lxdm will execute xprofile at all)

Offline

#3 2019-12-02 20:09:13

nfortier
Member
Registered: 2011-09-18
Posts: 35

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

Thank you for your quick response.

I took the .xprofile content from posts of people who claim to have been successful at this, eg
https://bbs.archlinux.org/viewtopic.php?pid=1386049.
I think the idea is setting the display variable to the second screen, starting programs in that screen, then set it back to the first screen to start the (main) openbox session on that screen. Prepending "export" to the display variable does not change the behaviour.
Replacing exec openbox & with openbox & also does not help.

LXDM is supposed to source ~/.xprofile:
https://wiki.archlinux.org/index.php/LX … figuration

Last edited by nfortier (2019-12-02 20:11:41)

Offline

#4 2019-12-02 20:19:27

seth
Member
Registered: 2012-09-03
Posts: 13,104

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

export DISPLAY=:0.1
openbox & 
tint2 &

export DISPLAY=:0.0
exec openbox-session

Offline

#5 2019-12-02 20:26:22

nfortier
Member
Registered: 2011-09-18
Posts: 35

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

Yes, that is exactly what I tried. It does not make any difference, unfortunately.

Offline

#6 2019-12-02 20:47:06

seth
Member
Registered: 2012-09-03
Posts: 13,104

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

Ok, read the text of your OP now ;-)

Does

DISPLAY=:0.1 xrefresh

"clean up" the second screen?

Also:

I can open an application

How? The openbox menu? tint2?

Can you eg. w/ problems run fluxbox on the second screen (ie. only one openbox process)?

Offline

#7 2019-12-02 22:07:05

nfortier
Member
Registered: 2011-09-18
Posts: 35

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

DISPLAY=:0.1 xrefresh

does not help, does not seem to have any effect on screen1 (whether called from a terminal in screen1 or screen0).

- I can open applications using either the openbox menu or tint2 on screen1

I tried fluxbox using

startfluxbox &

in ~/.xprofile but then X crashes and falls back to lxdm on screen0.

However since I am not familiar with fluxbox I tried icewm instead:

export DISPLAY=:0.1
#startfluxbox &
icewm-session &
#openbox &
#tint2 &

export DISPLAY=:0.0
exec openbox-session

... which actually seems to work: I can open applications from its menu, drag windows around, close them normally.

So your suggestion as to running one openbox process seems spot on. Thank you!
I would rather work with one WM but the openbox/icewm setup seems to work ok.
So unless you have other suggestions regarding making openbox work with the 2 screens I will mark this as solved (sort of...).

Offline

#8 2019-12-03 16:44:26

nfortier
Member
Registered: 2011-09-18
Posts: 35

Re: [SOLVED] Problems with OpenBox on 2 screens: unresponsive windows...

The saga continues...
As I mentioned

export DISPLAY=:0.1
icewm-session &

export DISPLAY=:0.0
exec openbox-session

works, but if I try to log out of the session by pressing "exit" on the openbox menu (in screen0), everything just freezes. I can kill X with ctrl-alt-bksp, which brings me back to the lxdm login, or ctrl-alt-Fx to go to a console to shutdown or reboot.

So I tried all openbox again, but this time opening an openbox session on each screen (instead of just openbox + tint2 on screen1). I also added a delay, even though it seems to work without it:

export DISPLAY=:0.1
openbox-session &
sleep 3

export DISPLAY=:0.0
exec openbox-session

Perhaps the problem was that I used exec for both lines initially, as seth mentioned?
If this keeps on working I will post back.

2019-12-04 everything working fine. Thanks for the help!

Last edited by nfortier (2019-12-04 15:44:56)

Offline

Board footer

Powered by FluxBB