You are not logged in.

#1 2014-07-29 10:46:01

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Starting X the old way on 1.16

So after my upgrade to xorg-server 1.16, my startx command required me to be on my default X tty (tty10) to startx. First I chmoded /usr/bin/Xorg.wrap u+s and g+s.
I tried Xorg.wrap, however, when I do an Xorg.wrap :1 from an x terminal, it works fine, but from the console, it takes me to a black tty with a cursor, and the system freezes
How do I:
1) Get the Xwrapper.config to work
2) Get startx to use the Xorg.wrap
3) Fix the freeze
Details:

aditya@aditya-desktop ~                                                              [16:14:17]
> $ uname -a                                                                                   
Linux aditya-desktop 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64 GNU/Linux
                                                                                               
aditya@aditya-desktop ~                                                              [16:14:20]
> $                                                                                           

And using testing repo.
Window manager dwm.

Last edited by aditya3098 (2014-07-29 10:59:08)

Offline

#2 2014-07-29 10:54:54

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

Also, I can recover from the freeze with an Alt-SysRq-E

Offline

#3 2014-07-29 10:57:04

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

Here is the log of the freeze:

[  2986.637] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[  2986.640] X Protocol Version 11, Revision 0
[  2986.641] Build Operating System: Linux 3.15.5-2-ARCH x86_64 
[  2986.642] Current Operating System: Linux aditya-desktop 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
[  2986.642] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda1 rw
[  2986.644] Build Date: 25 July 2014  10:42:31PM
[  2986.645]  
[  2986.646] Current version of pixman: 0.32.6
[  2986.647] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[  2986.647] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2986.651] (==) Log file: "/home/aditya/.local/share/xorg/Xorg.0.log", Time: Tue Jul 29 11:17:17 2014
[  2986.652] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2986.652] (==) No Layout section.  Using the first Screen section.
[  2986.652] (==) No screen section available. Using defaults.
[  2986.652] (**) |-->Screen "Default Screen Section" (0)
[  2986.652] (**) |   |-->Monitor "<default monitor>"
[  2986.652] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2986.652] (==) Automatically adding devices
[  2986.652] (==) Automatically enabling devices
[  2986.652] (==) Automatically adding GPU devices
[  2986.652] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
[  2986.652] 	Entry deleted from font path.
[  2986.652] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF/").
[  2986.652] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2986.652] 	Entry deleted from font path.
[  2986.652] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2986.652] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2986.652] 	Entry deleted from font path.
[  2986.652] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2986.653] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[  2986.653] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2986.653] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2986.653] (II) Loader magic: 0x818d80
[  2986.653] (II) Module ABI versions:
[  2986.653] 	X.Org ANSI C Emulation: 0.4
[  2986.653] 	X.Org Video Driver: 18.0
[  2986.653] 	X.Org XInput driver : 21.0
[  2986.653] 	X.Org Server Extension : 8.0
[  2986.654] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[  2986.654] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2986.654] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  2986.655] (--) PCI:*(0:0:2:0) 8086:0152:8086:2017 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[  2986.655] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2986.655] (II) LoadModule: "glx"
[  2986.655] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2986.656] (II) Module glx: vendor="X.Org Foundation"
[  2986.656] 	compiled for 1.16.0, module version = 1.0.0
[  2986.656] 	ABI class: X.Org Server Extension, version 8.0
[  2986.656] (==) AIGLX enabled
[  2986.656] (==) Matched intel as autoconfigured driver 0
[  2986.656] (==) Matched intel as autoconfigured driver 1
[  2986.656] (==) Matched modesetting as autoconfigured driver 2
[  2986.656] (==) Matched fbdev as autoconfigured driver 3
[  2986.656] (==) Matched vesa as autoconfigured driver 4
[  2986.656] (==) Assigned the driver to the xf86ConfigLayout
[  2986.656] (II) LoadModule: "intel"
[  2986.656] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  2986.656] (II) Module intel: vendor="X.Org Foundation"
[  2986.656] 	compiled for 1.16.0, module version = 2.99.914
[  2986.656] 	Module class: X.Org Video Driver
[  2986.656] 	ABI class: X.Org Video Driver, version 18.0
[  2986.656] (II) LoadModule: "modesetting"
[  2986.656] (WW) Warning, couldn't open module modesetting
[  2986.656] (II) UnloadModule: "modesetting"
[  2986.656] (II) Unloading modesetting
[  2986.656] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  2986.656] (II) LoadModule: "fbdev"
[  2986.656] (WW) Warning, couldn't open module fbdev
[  2986.656] (II) UnloadModule: "fbdev"
[  2986.656] (II) Unloading fbdev
[  2986.656] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2986.656] (II) LoadModule: "vesa"
[  2986.656] (WW) Warning, couldn't open module vesa
[  2986.656] (II) UnloadModule: "vesa"
[  2986.657] (II) Unloading vesa
[  2986.657] (EE) Failed to load module "vesa" (module does not exist, 0)
[  2986.657] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  2986.657] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  2986.657] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  2986.657] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[  2986.657] (++) using VT number 10

[  2986.657] (--) controlling tty is VT number 10, auto-enabling KeepTty
[  2986.657] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  2986.657] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
[  2986.657] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2986.657] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 2500
[  2986.657] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[  2986.657] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  2986.657] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  2986.657] (==) intel(0): RGB weight 888
[  2986.657] (==) intel(0): Default visual is TrueColor
[  2986.657] (II) intel(0): Output VGA1 has no monitor section
[  2986.657] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  2986.657] (II) intel(0): Output VIRTUAL1 has no monitor section
[  2986.657] (--) intel(0): Output VGA1 using initial mode 1440x900 on pipe 0
[  2986.657] (==) intel(0): TearFree disabled
[  2986.657] (==) intel(0): DPI set to (96, 96)
[  2986.657] (II) Loading sub module "dri2"
[  2986.657] (II) LoadModule: "dri2"
[  2986.657] (II) Module "dri2" already built-in
[  2986.657] (II) Loading sub module "present"
[  2986.657] (II) LoadModule: "present"
[  2986.657] (II) Module "present" already built-in
[  2986.657] (==) Depth 24 pixmap format is 32 bpp
[  2986.657] (II) intel(0): SNA initialized with Ivybridge (gen7, gt1) backend
[  2986.657] (==) intel(0): Backing store enabled
[  2986.657] (==) intel(0): Silken mouse enabled
[  2986.657] (II) intel(0): HW Cursor enabled
[  2986.657] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  2986.658] (==) intel(0): DPMS enabled
[  2986.658] (II) intel(0): [DRI2] Setup complete
[  2986.658] (II) intel(0): [DRI2]   DRI driver: i965
[  2986.658] (II) intel(0): [DRI2]   VDPAU driver: i965
[  2986.658] (II) intel(0): direct rendering: DRI2 enabled
[  2986.658] (II) intel(0): hardware support for Present enabled
[  2986.658] (==) intel(0): display hotplug detection enabled
[  2986.658] (--) RandR disabled
[  2986.671] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  2986.671] (II) AIGLX: enabled GLX_ARB_create_context
[  2986.671] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  2986.671] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[  2986.671] (II) AIGLX: enabled GLX_INTEL_swap_event
[  2986.671] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  2986.671] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  2986.671] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  2986.671] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  2986.671] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[  2986.671] (II) AIGLX: Loaded and initialized i965
[  2986.671] (II) GLX: Initialized DRI2 GL provider for screen 0
[  2986.672] (II) intel(0): switch to mode 1440x900@59.9 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[  2986.686] (II) intel(0): Setting screen physical size to 381 x 238
[  2986.708] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  2986.708] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2986.708] (II) LoadModule: "evdev"
[  2986.708] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  2986.708] (II) Module evdev: vendor="X.Org Foundation"
[  2986.708] 	compiled for 1.16.0, module version = 2.9.0
[  2986.708] 	Module class: X.Org XInput Driver
[  2986.708] 	ABI class: X.Org XInput driver, version 21.0
[  2986.709] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 12 paused 0
[  2986.709] (II) Using input driver 'evdev' for 'Power Button'
[  2986.709] (**) Power Button: always reports core events
[  2986.709] (**) evdev: Power Button: Device: "/dev/input/event4"
[  2986.709] (--) evdev: Power Button: Vendor 0 Product 0x1
[  2986.709] (--) evdev: Power Button: Found keys
[  2986.709] (II) evdev: Power Button: Configuring as keyboard
[  2986.709] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event4"
[  2986.709] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2986.709] (**) Option "xkb_rules" "evdev"
[  2986.709] (**) Option "xkb_model" "pc104"
[  2986.709] (**) Option "xkb_layout" "us"
[  2986.724] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[  2986.724] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  2986.724] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 13 paused 0
[  2986.725] (II) Using input driver 'evdev' for 'Video Bus'
[  2986.725] (**) Video Bus: always reports core events
[  2986.725] (**) evdev: Video Bus: Device: "/dev/input/event6"
[  2986.725] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  2986.725] (--) evdev: Video Bus: Found keys
[  2986.725] (II) evdev: Video Bus: Configuring as keyboard
[  2986.725] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/event6"
[  2986.725] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  2986.725] (**) Option "xkb_rules" "evdev"
[  2986.725] (**) Option "xkb_model" "pc104"
[  2986.725] (**) Option "xkb_layout" "us"
[  2986.725] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  2986.725] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2986.725] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 14 paused 0
[  2986.725] (II) Using input driver 'evdev' for 'Power Button'
[  2986.725] (**) Power Button: always reports core events
[  2986.725] (**) evdev: Power Button: Device: "/dev/input/event3"
[  2986.725] (--) evdev: Power Button: Vendor 0 Product 0x1
[  2986.725] (--) evdev: Power Button: Found keys
[  2986.725] (II) evdev: Power Button: Configuring as keyboard
[  2986.725] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5/event3"
[  2986.725] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  2986.725] (**) Option "xkb_rules" "evdev"
[  2986.725] (**) Option "xkb_model" "pc104"
[  2986.725] (**) Option "xkb_layout" "us"
[  2986.726] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event0)
[  2986.726] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[  2986.726] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 15 paused 0
[  2986.726] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[  2986.726] (**) Logitech USB Optical Mouse: always reports core events
[  2986.726] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event0"
[  2986.726] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc05a
[  2986.726] (--) evdev: Logitech USB Optical Mouse: Found 3 mouse buttons
[  2986.726] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[  2986.726] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[  2986.726] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[  2986.726] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[  2986.726] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[  2986.726] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[  2986.726] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  2986.726] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C05A.0004/input/input15/event0"
[  2986.726] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 9)
[  2986.726] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[  2986.726] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[  2986.726] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[  2986.726] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[  2986.726] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[  2986.727] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[  2986.727] (II) No input driver specified, ignoring this device.
[  2986.727] (II) This device may have been added with another device file.
[  2986.727] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event1)
[  2986.727] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"
[  2986.727] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 16 paused 0
[  2986.727] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'
[  2986.727] (**) Logitech USB Keyboard: always reports core events
[  2986.727] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event1"
[  2986.727] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31d
[  2986.727] (--) evdev: Logitech USB Keyboard: Found keys
[  2986.727] (II) evdev: Logitech USB Keyboard: Configuring as keyboard
[  2986.727] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C31D.0002/input/input3/event1"
[  2986.727] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 10)
[  2986.727] (**) Option "xkb_rules" "evdev"
[  2986.727] (**) Option "xkb_model" "pc104"
[  2986.727] (**) Option "xkb_layout" "us"
[  2986.728] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event2)
[  2986.728] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"
[  2986.728] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 17 paused 0
[  2986.728] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'
[  2986.728] (**) Logitech USB Keyboard: always reports core events
[  2986.728] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event2"
[  2986.728] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31d
[  2986.728] (--) evdev: Logitech USB Keyboard: Found absolute axes
[  2986.728] (II) evdev: Logitech USB Keyboard: Forcing absolute x/y axes to exist.
[  2986.728] (--) evdev: Logitech USB Keyboard: Found keys
[  2986.728] (II) evdev: Logitech USB Keyboard: Forcing relative x/y axes to exist.
[  2986.728] (II) evdev: Logitech USB Keyboard: Configuring as mouse
[  2986.728] (II) evdev: Logitech USB Keyboard: Configuring as keyboard
[  2986.728] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C31D.0003/input/input4/event2"
[  2986.728] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 11)
[  2986.728] (**) Option "xkb_rules" "evdev"
[  2986.728] (**) Option "xkb_model" "pc104"
[  2986.728] (**) Option "xkb_layout" "us"
[  2986.728] (II) evdev: Logitech USB Keyboard: initialized for absolute axes.
[  2986.728] (**) Logitech USB Keyboard: (accel) keeping acceleration scheme 1
[  2986.728] (**) Logitech USB Keyboard: (accel) acceleration profile 0
[  2986.728] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000
[  2986.728] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4
[  2986.728] (II) config/udev: Adding input device Webcam C110 (/dev/input/event11)
[  2986.728] (**) Webcam C110: Applying InputClass "evdev keyboard catchall"
[  2986.729] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 18 paused 0
[  2986.729] (II) Using input driver 'evdev' for 'Webcam C110'
[  2986.729] (**) Webcam C110: always reports core events
[  2986.729] (**) evdev: Webcam C110: Device: "/dev/input/event11"
[  2986.729] (--) evdev: Webcam C110: Vendor 0x46d Product 0x829
[  2986.729] (--) evdev: Webcam C110: Found keys
[  2986.729] (II) evdev: Webcam C110: Configuring as keyboard
[  2986.729] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input14/event11"
[  2986.729] (II) XINPUT: Adding extended input device "Webcam C110" (type: KEYBOARD, id 12)
[  2986.729] (**) Option "xkb_rules" "evdev"
[  2986.729] (**) Option "xkb_model" "pc104"
[  2986.729] (**) Option "xkb_layout" "us"
[  2986.729] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[  2986.729] (II) No input driver specified, ignoring this device.
[  2986.729] (II) This device may have been added with another device file.
[  2986.729] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event8)
[  2986.729] (II) No input driver specified, ignoring this device.
[  2986.729] (II) This device may have been added with another device file.
[  2986.729] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event9)
[  2986.729] (II) No input driver specified, ignoring this device.
[  2986.729] (II) This device may have been added with another device file.
[  2986.729] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event10)
[  2986.729] (II) No input driver specified, ignoring this device.
[  2986.729] (II) This device may have been added with another device file.
[  2986.730] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  2986.730] (II) No input driver specified, ignoring this device.
[  2986.730] (II) This device may have been added with another device file.
[  2987.797] (II) intel(0): EDID vendor "VSC", prod id 63519
[  2987.798] (II) intel(0): Using EDID range info for horizontal sync
[  2987.798] (II) intel(0): Using EDID range info for vertical refresh
[  2987.798] (II) intel(0): Printing DDC gathered Modelines:
[  2987.798] (II) intel(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz eP)
[  2987.798] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  2987.798] (II) intel(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  2987.798] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[  2987.798] (II) intel(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[  2987.798] (II) intel(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[  2987.798] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  2987.798] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  2987.798] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[  2987.798] (II) intel(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  2987.798] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  2987.798] (II) intel(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[  2987.798] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  2987.798] (II) intel(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[  2987.798] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[  2987.798] (II) intel(0): Modeline "1440x900"x0.0  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync (70.6 kHz e)
[  2987.798] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  2987.798] (II) intel(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  5321.097] (II) AIGLX: Suspending AIGLX clients for VT switch
[  5321.295] (II) systemd-logind: got pause for 226:0
[  5321.295] (II) systemd-logind: got pause for 13:68
[  5321.295] (II) systemd-logind: got pause for 13:70
[  5321.295] (II) systemd-logind: got pause for 13:67
[  5321.295] (II) systemd-logind: got pause for 13:64
[  5321.295] (II) systemd-logind: got pause for 13:65
[  5321.295] (II) systemd-logind: got pause for 13:66
[  5321.295] (II) systemd-logind: got pause for 13:75
[  5327.414] (II) systemd-logind: got resume for 226:0
[  5327.414] (II) AIGLX: Resuming AIGLX clients after VT switch
[  5327.414] (II) intel(0): switch to mode 1440x900@59.9 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[  5327.566] (II) systemd-logind: got resume for 13:68
[  5327.567] (II) systemd-logind: got resume for 13:70
[  5327.567] (II) systemd-logind: got resume for 13:67
[  5327.588] (II) systemd-logind: got resume for 13:64
[  5327.603] (II) systemd-logind: got resume for 13:65
[  5327.660] (II) systemd-logind: got resume for 13:66
[  5327.669] (II) systemd-logind: got resume for 13:75
[  5338.300] (II) evdev: Webcam C110: Close
[  5338.300] (II) UnloadModule: "evdev"
[  5338.300] (II) systemd-logind: releasing fd for 13:75
[  5338.346] (II) evdev: Logitech USB Keyboard: Close
[  5338.346] (II) UnloadModule: "evdev"
[  5338.346] (II) systemd-logind: releasing fd for 13:66
[  5338.409] (II) evdev: Logitech USB Keyboard: Close
[  5338.409] (II) UnloadModule: "evdev"
[  5338.409] (II) systemd-logind: releasing fd for 13:65
[  5338.476] (II) evdev: Logitech USB Optical Mouse: Close
[  5338.476] (II) UnloadModule: "evdev"
[  5338.476] (II) systemd-logind: releasing fd for 13:64
[  5338.556] (II) evdev: Power Button: Close
[  5338.556] (II) UnloadModule: "evdev"
[  5338.556] (II) systemd-logind: releasing fd for 13:67
[  5338.596] (II) evdev: Video Bus: Close
[  5338.596] (II) UnloadModule: "evdev"
[  5338.596] (II) systemd-logind: releasing fd for 13:70
[  5338.636] (II) evdev: Power Button: Close
[  5338.636] (II) UnloadModule: "evdev"
[  5338.636] (II) systemd-logind: releasing fd for 13:68
[  5338.892] (EE) Server terminated successfully (0). Closing log file.

Last edited by Trilby (2014-07-29 13:38:38)

Offline

#4 2014-07-29 11:06:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Starting X the old way on 1.16

Please edit your post and use code tags for that log output.

Also, note that you should edit posts to add more information instead of adding sequential new posts.

EDIT: I put in the code tags for you - please be sure to use them in the future.

Last edited by Trilby (2014-07-29 13:39:21)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2014-07-29 13:35:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Starting X the old way on 1.16

aditya3098 wrote:

So after my upgrade to xorg-server 1.16, my startx command required me to be on my default X tty (tty10) to startx.

I don't understand this part.
What happens when you run 'startx' the new way from any other tty?

Offline

#6 2014-07-29 18:12:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Starting X the old way on 1.16

I have already asked the OP how they start X (and why the "default" is TTY10) but they wouldn't answer, so I marked that thread for deletion: I sense this one has the same fate...

Also, not a [testing] issue, moving to NC (temporarily)....


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-07-30 13:53:07

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

Okay. First things first: I forgot they were code tags, and not spoiler tags. Sorry.
A few months ago, I changed some config file in /etc/X11 and set the minimum vt 10 vt10. This was so that I could get 9 gettys on the other nine f keys.
When I run startx from some other tty, it switches to the tty fine, but then the mentioned freeze happens.
New to the forum, sorry. I thought I needed some set amount of reputation to edit posts.

Edit: When I REIUB, I can get back control.

Edit 2: Also, I don't use any aliases to startx (like redirecting stdin and stderr to /dev/null) Also, I'm on zsh.

Last edited by aditya3098 (2014-07-30 13:56:26)

Offline

#8 2014-07-30 14:02:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Starting X the old way on 1.16

aditya3098 wrote:

When I run startx from some other tty, it switches to the tty fine...

There's the problem.  Please be sure to keep up with the news from the front page:

X is now rootless with the help of systemd-logind, this also means that it must be launched from the same virtual terminal as was used to log in ...

That same news entry points you to the man page that says how to set up Xorg.wrap - have you followed it?  What did you do?  How did it work?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2014-07-31 11:34:50

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

As you see in my first post, I followed the manpage and also chmodded u+s and g+s the /usr/bin/Xorg.wrap file.
Here is my config file

aditya@aditya-desktop ~                                                              [17:02:35] 
> $ cat /etc/X11/Xwrapper.config                                                               
allowed_users = anybody
needs_root_rights = no

Again, it switches fine, but then freezes

Last edited by aditya3098 (2014-07-31 11:35:17)

Offline

#10 2014-07-31 11:42:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Starting X the old way on 1.16

Two potential issues: 1) shouldn't the "needs_root_rights" variable be yes?  I haven't used Xorg.wrap yet, but that's basically the whole point of it for your case, right?  2) I see in the Xorg log, it doesn't actually show any errors, it exited successfully which usually means there was a problem (or absence of a WM) in the xinitrc.  Can you post the full command used that produced this log as wel as your xinitrc?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2014-07-31 11:57:13

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

I just did a startx.
My xinitrc (again, it works):

#!/bin/sh

#setxkbmap -option terminate:ctrl_alt_bksp
#/usr/lib/gnome-settings-daemon/gnome-settings-daemon &
#xsetroot -solid black
#xrdb -merge ~/.Xdefaults
#unclutter -idle 2 &
numlockx &
#xsetroot -name "$( date + "%F %I:%M %p" )"
#xrdb -merge ~/.Xresources

if [ -x /usr/bin/xfce4-power-manager ] ; then
   sleep 1
   xfce4-power-manager &
fi
conky | while read -r; do xsetroot -name "Aditya Goturu""$REPLY"; done &

/usr/lib/mate-settings-daemon/mate-settings-daemon &
echo $(sleep 10; wmname LG3D) &
feh --bg-scale ~/Pictures/PGRND.png 
/home/aditya/dwm-6.0/dwm
              

Offline

#12 2014-07-31 11:58:14

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

Would it help if I recorded a video of the problem

Offline

#13 2014-08-01 12:26:17

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

I tried setting needs_root_rights to yes and it still has the same results

Offline

#14 2014-08-01 13:19:47

mkoskar
Member
Registered: 2014-07-16
Posts: 64
Website

Re: Starting X the old way on 1.16

I went for "old way" myself just by creating a file:

$ cat /etc/X11/Xwrapper.config 
allowed_users = console
needs_root_rights = yes

Nothing more has to be done, and it works as expected with my old startx script. Allows you to keep stdout/stderr redirects and I can also start multiple X servers (both of these things are not possible with new rootless way, at least I didn't find some obvious way how to do it). I think these are in box "known issues" for now, what I've looked over this forum. For sake of completeness, server itself is now actually "Xorg.bin" which might be of significance (e.g., my startup script checks for that).

I suspect your problem is related with your startup script. Can you confirm the same setup you have is working without modifications with downgraded X server, and it just doesn't with new X server package with "etc/X11/Xwrapper.config" created as noted above?

Offline

#15 2014-08-01 16:40:44

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

I am having some dependency errors downgrading to xorg 1.15 ( something about xorg-input-endev)

Offline

#16 2014-08-01 23:14:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Starting X the old way on 1.16

aditya3098 wrote:

I am having some dependency errors downgrading to xorg 1.15 ( something about xorg-input-endev)

Post the exact errors. Downgrading doesn't fix anything.

Offline

#17 2014-08-02 11:10:23

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

http://youtu.be/uLMXQ7x2FN8

Last edited by aditya3098 (2014-08-02 11:27:31)

Offline

#18 2014-08-02 11:28:05

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

karol wrote:
aditya3098 wrote:

I am having some dependency errors downgrading to xorg 1.15 ( something about xorg-input-endev)

Post the exact errors. Downgrading doesn't fix anything.

Exactly the issue, there are no errors

Offline

#19 2014-08-02 12:37:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Starting X the old way on 1.16

That video isn't helpful - you need to decribe what is happening clearly.  All I see in that video is a variety of things on your desktop (not computer desktop ...) nothing on the screen is legible for the few moments when the camera is actually pointed at it.

Not much in this thread has made sense, though.  For example, startx should not change the tty to tty10.  If you run startx on tty1 it will start x on tty1 unless you have aliased startx to something else, modified the startx script, or are not booting with systemd [1].


[1] or using logind, I'm not sure exactly which process sets the XDG_VTNR variable, but it is part of the systemd family.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#20 2014-08-02 15:06:51

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

No, I changed some config file that made it start from tty10. It worked fine on 1.15.

Offline

#21 2014-08-02 15:06:52

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

I will re-record tommorow. A little clearer.

Last edited by aditya3098 (2014-08-02 15:08:01)

Offline

#22 2014-08-02 16:40:29

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Starting X the old way on 1.16

No, I changed some config file that made it start from tty10. It worked fine on 1.15.

Have you tried to undo these ominous changes, does it work then ?

Maybe you should try to fix point 3) from your list in post #1 ("Fix the freeze") as the first thing. Then, if you still absolutely need it, you can still try to restore your old behaviour. Cause currently you cannot even know if your changes are the problem or maybe something else...

Edit: In reference to below, it's most likely /etc/X11/xinit/xserverrc or ~/.xserverrc. In case you don't remember, show us their content.

Last edited by rebootl (2014-08-02 17:26:54)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#23 2014-08-02 16:54:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: Starting X the old way on 1.16

Which config file did you change?  How did you change it?

Isn't this the same question JWR has now asked you twice?  Isn't this the same question that your refusal to answer lead to your previous thread being deleted?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#24 2014-08-03 03:14:32

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

aditya@aditya-desktop ~                                                               [8:42:55] 
> $ cat /etc/X11/xinit/xserverrc                                                               
#!/bin/sh
if [ -z "$XDG_VTNR" ]; then
  exec /usr/bin/X -nolisten tcp "$@" vt10
else
  exec /usr/bin/X -nolisten tcp "$@" vt10
fi

Offline

#25 2014-08-03 03:22:22

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Starting X the old way on 1.16

After restoring the file to defaults, it works. But I would still like to have X startup on another tty (preferably tty10 and later)

Offline

Board footer

Powered by FluxBB