You are not logged in.

#1 2017-10-22 12:14:42

navi_se
Member
Registered: 2015-07-06
Posts: 139

[SOLVED] Starting 2 X servers: one running xmonad and one running xfce

As the title says I'm trying to start up to X servers one running Xmonad and one running xfce. I am trying to have xfce accessibile by switching tty so that I can use software that have many floating windows (such as photoshop running under wine).

Right now I use XDM and my xinitrc contains the line

exec xmonad


after starting such session I have tried to

0. Start a second X server with xmonad alone, just by switching tty and using startx and those work perfectly fine. Also, if I start xfce only by changing xinitrc that also works flawlessly.
1. change the xinitrc file to include exec startxfce4, switch tty, login as my user and use startx -- :3
This crashes the previous X server with running Xmonad and starts an xfce one.
2. leave the xinitrc file as is, switch tty, login as my user and do startxfce4 -- :3 which fails to start with the following log (but I don't know where to look further. I tried to read it but it doesn't seem very informative to me)

[228202.314] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[228202.321] X Protocol Version 11, Revision 0
[228202.322] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
[228202.323] Current Operating System: Linux navi 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64
[228202.323] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=fcb6d957-f3a2-4c66-9e3c-6fe8e7a9cc7d rw
[228202.326] Build Date: 13 August 2017  09:37:50PM
[228202.327]  
[228202.328] Current version of pixman: 0.34.0
[228202.332] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[228202.332] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[228202.337] (==) Log file: "/home/gls/.local/share/xorg/Xorg.3.log", Time: Sun Oct 22 13:10:14 2017
[228202.339] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[228202.339] (==) No Layout section.  Using the first Screen section.
[228202.339] (==) No screen section available. Using defaults.
[228202.339] (**) |-->Screen "Default Screen Section" (0)
[228202.339] (**) |   |-->Monitor "<default monitor>"
[228202.339] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[228202.339] (==) Automatically adding devices
[228202.339] (==) Automatically enabling devices
[228202.339] (==) Automatically adding GPU devices
[228202.339] (==) Automatically binding GPU devices
[228202.339] (==) Max clients allowed: 256, resource mask: 0x1fffff
[228202.339] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[228202.339] 	Entry deleted from font path.
[228202.339] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[228202.339] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[228202.339] 	Entry deleted from font path.
[228202.339] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[228202.339] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[228202.339] (==) ModulePath set to "/usr/lib/xorg/modules"
[228202.339] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[228202.339] (II) Loader magic: 0x5638b0ba1d40
[228202.339] (II) Module ABI versions:
[228202.339] 	X.Org ANSI C Emulation: 0.4
[228202.339] 	X.Org Video Driver: 23.0
[228202.339] 	X.Org XInput driver : 24.1
[228202.339] 	X.Org Server Extension : 10.0
[228202.340] (++) using VT number 8

[228202.340] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[228202.341] (II) xfree86: Adding drm device (/dev/dri/card1)
[228202.341] (II) xfree86: Adding drm device (/dev/dri/card0)
[228202.344] (--) PCI:*(0:0:2:0) 8086:0166:144d:c0e6 rev 9, Mem @ 0xf7800000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[228202.344] (--) PCI: (0:1:0:0) 1002:6600:144d:c0e6 rev 0, Mem @ 0xe0000000/268435456, 0xf7d00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[228202.344] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[228202.345] (II) LoadModule: "glx"
[228202.345] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[228202.346] (II) Module glx: vendor="X.Org Foundation"
[228202.346] 	compiled for 1.19.3, module version = 1.0.0
[228202.346] 	ABI class: X.Org Server Extension, version 10.0
[228202.346] (==) Matched intel as autoconfigured driver 0
[228202.346] (==) Matched ati as autoconfigured driver 1
[228202.346] (==) Matched intel as autoconfigured driver 2
[228202.346] (==) Matched modesetting as autoconfigured driver 3
[228202.346] (==) Matched fbdev as autoconfigured driver 4
[228202.346] (==) Matched vesa as autoconfigured driver 5
[228202.347] (==) Assigned the driver to the xf86ConfigLayout
[228202.347] (II) LoadModule: "intel"
[228202.347] (WW) Warning, couldn't open module intel
[228202.347] (II) UnloadModule: "intel"
[228202.347] (II) Unloading intel
[228202.347] (EE) Failed to load module "intel" (module does not exist, 0)
[228202.347] (II) LoadModule: "ati"
[228202.347] (WW) Warning, couldn't open module ati
[228202.347] (II) UnloadModule: "ati"
[228202.347] (II) Unloading ati
[228202.347] (EE) Failed to load module "ati" (module does not exist, 0)
[228202.347] (II) LoadModule: "modesetting"
[228202.347] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[228202.347] (II) Module modesetting: vendor="X.Org Foundation"
[228202.347] 	compiled for 1.19.3, module version = 1.19.3
[228202.347] 	Module class: X.Org Video Driver
[228202.347] 	ABI class: X.Org Video Driver, version 23.0
[228202.347] (II) LoadModule: "fbdev"
[228202.348] (WW) Warning, couldn't open module fbdev
[228202.348] (II) UnloadModule: "fbdev"
[228202.348] (II) Unloading fbdev
[228202.348] (EE) Failed to load module "fbdev" (module does not exist, 0)
[228202.348] (II) LoadModule: "vesa"
[228202.348] (WW) Warning, couldn't open module vesa
[228202.348] (II) UnloadModule: "vesa"
[228202.348] (II) Unloading vesa
[228202.348] (EE) Failed to load module "vesa" (module does not exist, 0)
[228202.348] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[228202.348] (EE) 
Fatal server error:
[228202.355] (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
[228202.356] (EE) 
[228202.358] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[228202.363] (EE) Please also check the log file at "/home/gls/.local/share/xorg/Xorg.3.log" for additional information.
[228202.364] (EE) 
[228202.365] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[228202.365] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[228202.365] (EE) Server terminated with error (1). Closing log file.

Last edited by navi_se (2017-10-22 12:23:43)

Offline

#2 2017-10-22 12:22:29

navi_se
Member
Registered: 2015-07-06
Posts: 139

Re: [SOLVED] Starting 2 X servers: one running xmonad and one running xfce

Ok...sooo changing the xinitrc file appropriately and doing

startx

after switching tty without specifying a display seems to work just fine. XD

Offline

Board footer

Powered by FluxBB