You are not logged in.

#1 2013-06-29 02:39:32

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

[Solved]Autologin@tty and startx at boot hangs/delays?

Diagosis: wrong permissions/ownership/attributes on .Xauthority due either to improper shutdown or login/out.
Solution: Simply remove .Xauthoity in the users home directory. It gets recreated on the next startx/xinit session.
Note: See my last post for how I found/suspected .Xauthority.

After an update I suddenly noticed at first that ALL GUI applications wouldn't open and in console they crashed with lots segfault/glade errors(this part I can't reproduce and hasn't shown in any of my logs. Right after which I rebooted to find my tty stuck right after autologin. i've been using both configurations found here https://wiki.archlinux.org/index.php/Start_X_at_Login and here https://wiki.archlinux.org/index.php/Au … al_console for nearly a year now without many issues.
SHELL= zsh
DE=openbox (with redirected output to ~/obox.log) as a standalone wm w/tint2 and a few other minimal tools/applets
.xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

#exec startxfce4
exec openbox-session &> obox.log

#exec fusion-icon &
#tint2

# ...or the Window Manager of your choice

here's my autologin@.service

[Unit]
Description=Getty on %I
Documentation=man:agetty(8) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html
After=systemd-user-sessions.service plymouth-quit-wait.service

# If additional gettys are spawned during boot then we should make
# sure that this is synchronized before getty.target, even though
# getty.target didn't actually pull it in.
Before=getty.target
IgnoreOnIsolate=yes

# On systems without virtual consoles, don't start any getty. (Note
# that serial gettys are covered by serial-getty@.service, not this
# unit
ConditionPathExists=/dev/tty0

[Service]
# the VT is cleared by TTYVTDisallocate
ExecStart=-/sbin/agetty --noclear -a maat %I 38400 linux
Type=simple
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillMode=process
IgnoreSIGPIPE=no

# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=

# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP

[Install]
Alias=getty.target.wants/getty@tty1.service

here's my ~/.zprofile

emulate sh -c 'source /etc/profile'
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx &> ~/.xlog

And now for the "lack" of related log entries... (oh boy..)
Yes I mean exactly that. I've piped the following logs and commands through too many "greps" to mention/post and got nothing. No related errors,warnings,failures and so on from:
   journalctl -b | grep [put any keyword here I've likely already done so]
  dmesg
  cat /var/log/Xorg.0.log
  cat ~/obox.log (custom for my openbox session started through .xintrc)
  cat ~/.xlog (custom as shown in my .zprofile)
So far I've rebooted around 10 times and in most cases I found I could wait about 10-30 sec then press Ctrl-C multipple times then everything starts right up as if nothing was wrong(my last two test gave mixed results 1st failed to do anything and hung on xorg as soon as the screen went blank the 2nd started up as I stated. Not sure exactly what caused this yet but I suspect xorg. My chipset is a GMA3150 intel (atom n450 eeepc 1018p netbook).

Last edited by Thme (2013-06-29 16:45:27)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#2 2013-06-29 02:48:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

So can you try to determine if it is the autostart@.service or xorg?  That is, try disabling each, and then see if the stall occurs on one or the other.  I suspect that it is going to be X, but I don't know...

Offline

#3 2013-06-29 02:56:35

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

WonderWoofy wrote:

So can you try to determine if it is the autostart@.service or xorg?  That is, try disabling each, and then see if the stall occurs on one or the other.  I suspect that it is going to be X, but I don't know...

I've disabled everything before in my first attempt with startx(should've mentioned that) and manually login + startx and it still happens. I just now found that I can retry startx by killing xorg if it hangs with ctrl+alt+bksp(in my xorg config as it comes handy occasionally). this has worked but still can't find any related. I also downgrades xorg-server and xorg-server-common to the previous versions... And the issue is still persisting. I have rsync snapshots but would prefer not to resort to that unless absolutely necessary(besides I like the challenge sometimes).

Last edited by Thme (2013-06-29 02:58:24)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#4 2013-06-29 02:58:29

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

So really it is X and/or your window manager that is stalling like this, correct?  If that is the case, maybe it might help to have a second set of eyes on your xorg.0.log.

Offline

#5 2013-06-29 03:00:55

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

WonderWoofy wrote:

So really it is X and/or your window manager that is stalling like this, correct?  If that is the case, maybe it might help to have a second set of eyes on your xorg.0.log.

Here:

[    67.766] 
X.Org X Server 1.14.1
Release Date: 2013-04-17
[    67.766] X Protocol Version 11, Revision 0
[    67.766] Build Operating System: Linux 3.8.7-1-ARCH x86_64 
[    67.766] Current Operating System: Linux Asus-1018p 3.9.8-1-ck #1 SMP PREEMPT Thu Jun 27 16:09:10 EDT 2013 x86_64
[    67.766] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=c59fe4f0-11b2-43c3-97ae-378a9f39da4a ro clocksource=acpi resume=/dev/sda5 elevator=bfq init=/usr/bin/e4rat-collect
[    67.766] Build Date: 17 April 2013  02:37:06PM
[    67.767]  
[    67.767] Current version of pixman: 0.30.0
[    67.767] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    67.767] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    67.767] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 28 22:35:19 2013
[    67.767] (==) Using config file: "/etc/X11/xorg.conf"
[    67.768] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    67.768] (==) No Layout section.  Using the first Screen section.
[    67.768] (==) No screen section available. Using defaults.
[    67.768] (**) |-->Screen "Default Screen Section" (0)
[    67.768] (**) |   |-->Monitor "<default monitor>"
[    67.769] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    67.769] (**) Option "DontZap" "false"
[    67.769] (==) Automatically adding devices
[    67.769] (==) Automatically enabling devices
[    67.769] (==) Automatically adding GPU devices
[    67.769] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    67.769] 	Entry deleted from font path.
[    67.769] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    67.769] (==) ModulePath set to "/usr/lib/xorg/modules"
[    67.769] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    67.769] (II) Loader magic: 0x7fcc20
[    67.769] (II) Module ABI versions:
[    67.769] 	X.Org ANSI C Emulation: 0.4
[    67.770] 	X.Org Video Driver: 14.1
[    67.770] 	X.Org XInput driver : 19.1
[    67.770] 	X.Org Server Extension : 7.0
[    67.770] (II) config/udev: Adding drm device (/dev/dri/card0)
[    67.774] (--) PCI:*(0:0:2:0) 8086:a011:1043:83ac rev 0, Mem @ 0xf9d00000/524288, 0xd0000000/268435456, 0xf9c00000/1048576, I/O @ 0x0000dc00/8
[    67.774] (--) PCI: (0:0:2:1) 8086:a012:1043:83ac rev 0, Mem @ 0xf9d80000/524288
[    67.775] Initializing built-in extension Generic Event Extension
[    67.775] Initializing built-in extension SHAPE
[    67.775] Initializing built-in extension MIT-SHM
[    67.775] Initializing built-in extension XInputExtension
[    67.775] Initializing built-in extension XTEST
[    67.775] Initializing built-in extension BIG-REQUESTS
[    67.775] Initializing built-in extension SYNC
[    67.775] Initializing built-in extension XKEYBOARD
[    67.775] Initializing built-in extension XC-MISC
[    67.775] Initializing built-in extension SECURITY
[    67.775] Initializing built-in extension XINERAMA
[    67.775] Initializing built-in extension XFIXES
[    67.775] Initializing built-in extension RENDER
[    67.775] Initializing built-in extension RANDR
[    67.775] Initializing built-in extension COMPOSITE
[    67.775] Initializing built-in extension DAMAGE
[    67.775] Initializing built-in extension MIT-SCREEN-SAVER
[    67.775] Initializing built-in extension DOUBLE-BUFFER
[    67.775] Initializing built-in extension RECORD
[    67.776] Initializing built-in extension DPMS
[    67.776] Initializing built-in extension X-Resource
[    67.776] Initializing built-in extension XVideo
[    67.776] Initializing built-in extension XVideo-MotionCompensation
[    67.776] Initializing built-in extension XFree86-VidModeExtension
[    67.776] Initializing built-in extension XFree86-DGA
[    67.776] Initializing built-in extension XFree86-DRI
[    67.776] Initializing built-in extension DRI2
[    67.776] (II) LoadModule: "glx"
[    67.777] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    67.777] (II) Module glx: vendor="X.Org Foundation"
[    67.777] 	compiled for 1.14.1, module version = 1.0.0
[    67.777] 	ABI class: X.Org Server Extension, version 7.0
[    67.777] (==) AIGLX enabled
[    67.777] Loading extension GLX
[    67.777] (==) Matched intel as autoconfigured driver 0
[    67.777] (==) Matched intel as autoconfigured driver 1
[    67.777] (==) Matched vesa as autoconfigured driver 2
[    67.777] (==) Matched modesetting as autoconfigured driver 3
[    67.777] (==) Matched fbdev as autoconfigured driver 4
[    67.778] (==) Assigned the driver to the xf86ConfigLayout
[    67.778] (II) LoadModule: "intel"
[    67.778] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    67.779] (II) Module intel: vendor="X.Org Foundation"
[    67.779] 	compiled for 1.14.2, module version = 2.21.10
[    67.779] 	Module class: X.Org Video Driver
[    67.779] 	ABI class: X.Org Video Driver, version 14.1
[    67.779] (II) LoadModule: "vesa"
[    67.780] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    67.780] (II) Module vesa: vendor="X.Org Foundation"
[    67.780] 	compiled for 1.14.0, module version = 2.3.2
[    67.780] 	Module class: X.Org Video Driver
[    67.780] 	ABI class: X.Org Video Driver, version 14.1
[    67.780] (II) LoadModule: "modesetting"
[    67.781] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    67.781] (II) Module modesetting: vendor="X.Org Foundation"
[    67.781] 	compiled for 1.14.1, module version = 0.8.0
[    67.781] 	Module class: X.Org Video Driver
[    67.781] 	ABI class: X.Org Video Driver, version 14.1
[    67.781] (II) LoadModule: "fbdev"
[    67.782] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    67.782] (II) Module fbdev: vendor="X.Org Foundation"
[    67.782] 	compiled for 1.14.0, module version = 0.4.3
[    67.782] 	Module class: X.Org Video Driver
[    67.782] 	ABI class: X.Org Video Driver, version 14.1
[    67.782] (II) intel: Driver for Intel 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, B43, Clarkdale, Arrandale,
	Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
	Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
	Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
	Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
	Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
	Ivybridge Server (GT2), HD Graphics, HD Graphics 4600,
	Haswell Desktop (GT3), HD Graphics, HD Graphics 4600,
	Haswell Mobile (GT3), HD Graphics, HD Graphics P4600/P4700,
	Haswell Server (GT3), Haswell (GT1), Haswell (GT2), Haswell (GT3),
	HD Graphics, Haswell (GT2), Haswell (GT3), Haswell SDV Desktop (GT1),
	Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT3),
	Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
	Haswell SDV Mobile (GT3), Haswell SDV Server (GT1),
	Haswell SDV Server (GT2), Haswell SDV Server (GT3),
	Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
	Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
	Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
	Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4400,
	HD Graphics 5000, Haswell ULT Server (GT1), Haswell ULT Server (GT2),
	Iris(TM) Graphics 5100, Haswell ULT (GT1), Haswell ULT (GT2),
	Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4200,
	Iris(TM) Graphics 5100, Haswell CRW Desktop (GT1), HD Graphics 4600,
	Iris(TM) Pro Graphics 5200, Haswell CRW Mobile (GT1),
	HD Graphics 4600, Iris(TM) Pro Graphics 5200,
	Haswell CRW Server (GT1), Haswell CRW Server (GT2),
	Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
	Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
	Iris(TM) Pro Graphics 5200, ValleyView PO board
[    67.787] (II) VESA: driver for VESA chipsets: vesa
[    67.787] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    67.787] (II) FBDEV: driver for framebuffer: fbdev
[    67.787] (++) using VT number 1

[    67.787] (WW) Falling back to old probe method for vesa
[    67.788] (WW) Falling back to old probe method for modesetting
[    67.788] (WW) Falling back to old probe method for fbdev
[    67.788] (II) Loading sub module "fbdevhw"
[    67.788] (II) LoadModule: "fbdevhw"
[    67.788] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    67.789] (II) Module fbdevhw: vendor="X.Org Foundation"
[    67.789] 	compiled for 1.14.1, module version = 0.0.2
[    67.789] 	ABI class: X.Org Video Driver, version 14.1
[    67.789] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    67.789] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    67.789] (==) intel(0): RGB weight 888
[    67.789] (==) intel(0): Default visual is TrueColor
[    67.790] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview GM
[    67.790] (**) intel(0): Relaxed fencing enabled
[    67.790] (**) intel(0): Wait on SwapBuffers? enabled
[    67.790] (**) intel(0): Triple buffering? enabled
[    67.790] (**) intel(0): Framebuffer tiled
[    67.790] (**) intel(0): Pixmaps tiled
[    67.790] (**) intel(0): 3D buffers tiled
[    67.790] (**) intel(0): SwapBuffers wait enabled
[    67.790] (==) intel(0): video overlay key set to 0x101fe
[    67.790] (II) intel(0): Output LVDS1 has no monitor section
[    67.791] (--) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
[    67.821] (II) intel(0): Output VGA1 has no monitor section
[    67.821] (II) intel(0): EDID for output LVDS1
[    67.821] (II) intel(0): Manufacturer: AUO  Model: 20d2  Serial#: 0
[    67.821] (II) intel(0): Year: 2008  Week: 1
[    67.821] (II) intel(0): EDID Version: 1.3
[    67.821] (II) intel(0): Digital Display Input
[    67.822] (II) intel(0): Max Image Size [cm]: horiz.: 22  vert.: 13
[    67.822] (II) intel(0): Gamma: 2.20
[    67.822] (II) intel(0): No DPMS capabilities specified
[    67.822] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    67.822] (II) intel(0): First detailed timing is preferred mode
[    67.822] (II) intel(0): redX: 0.590 redY: 0.342   greenX: 0.334 greenY: 0.589
[    67.822] (II) intel(0): blueX: 0.161 blueY: 0.131   whiteX: 0.311 whiteY: 0.329
[    67.822] (II) intel(0): Manufacturer's mask: 0
[    67.822] (II) intel(0): Supported detailed timing:
[    67.822] (II) intel(0): clock: 50.4 MHz   Image Size:  223 x 125 mm
[    67.822] (II) intel(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
[    67.822] (II) intel(0): v_active: 600  v_sync: 603  v_sync_end 604 v_blanking: 625 v_border: 0
[    67.823] (II) intel(0): Unknown vendor-specific block f
[    67.823] (II) intel(0):  AUO
[    67.823] (II) intel(0):  B101AW02 V0
[    67.823] (II) intel(0): EDID (in hex):
[    67.823] (II) intel(0): 	00ffffffffffff0006afd22000000000
[    67.823] (II) intel(0): 	0112010380160d780a2b699757559629
[    67.823] (II) intel(0): 	214f5400000001010101010101010101
[    67.823] (II) intel(0): 	010101010101b0130040415819201888
[    67.823] (II) intel(0): 	3100df7d000000180000000f00000000
[    67.823] (II) intel(0): 	00000000000000000020000000fe0041
[    67.823] (II) intel(0): 	554f0a202020202020202020000000fe
[    67.823] (II) intel(0): 	004231303141573032205630200a00c7
[    67.824] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[    67.824] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[    67.824] (II) intel(0): Printing probed modes for output LVDS1
[    67.824] (II) intel(0): Modeline "1024x600"x60.0   50.40  1024 1048 1184 1344  600 603 604 625 -hsync -vsync (37.5 kHz eP)
[    67.825] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[    67.825] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    67.825] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[    67.855] (II) intel(0): EDID for output VGA1
[    67.855] (II) intel(0): Output LVDS1 connected
[    67.855] (II) intel(0): Output VGA1 disconnected
[    67.855] (II) intel(0): Using exact sizes for initial modes
[    67.855] (II) intel(0): Output LVDS1 using initial mode 1024x600
[    67.855] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    67.855] (II) intel(0): Kernel page flipping support detected, enabling
[    67.855] (==) intel(0): DPI set to (96, 96)
[    67.855] (II) Loading sub module "fb"
[    67.856] (II) LoadModule: "fb"
[    67.857] (II) Loading /usr/lib/xorg/modules/libfb.so
[    67.858] (II) Module fb: vendor="X.Org Foundation"
[    67.858] 	compiled for 1.14.1, module version = 1.0.0
[    67.858] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    67.858] (II) Loading sub module "dri2"
[    67.858] (II) LoadModule: "dri2"
[    67.858] (II) Module "dri2" already built-in
[    67.858] (II) UnloadModule: "vesa"
[    67.859] (II) Unloading vesa
[    67.859] (II) UnloadModule: "modesetting"
[    67.859] (II) Unloading modesetting
[    67.859] (II) UnloadModule: "fbdev"
[    67.859] (II) Unloading fbdev
[    67.859] (II) UnloadSubModule: "fbdevhw"
[    67.859] (II) Unloading fbdevhw
[    67.860] (==) Depth 24 pixmap format is 32 bpp
[    67.860] (II) intel(0): [DRI2] Setup complete
[    67.860] (II) intel(0): [DRI2]   DRI driver: i915
[    67.860] (II) intel(0): Allocated new frame buffer 1024x600 stride 4096, tiled
[    67.860] (II) UXA(0): Driver registered support for the following operations:
[    67.861] (II)         solid
[    67.861] (II)         copy
[    67.861] (II)         composite (RENDER acceleration)
[    67.861] (II)         put_image
[    67.861] (II)         get_image
[    67.861] (==) intel(0): Backing store disabled
[    67.861] (==) intel(0): Silken mouse enabled
[    67.861] (II) intel(0): Initializing HW Cursor
[    67.861] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    67.868] (==) intel(0): DPMS enabled
[    67.868] (==) intel(0): Intel XvMC decoder disabled
[    67.869] (II) intel(0): Set up textured video
[    67.869] (II) intel(0): Set up overlay video
[    67.869] (II) intel(0): direct rendering: DRI2 Enabled
[    67.869] (==) intel(0): hotplug detection: "enabled"
[    67.886] (--) RandR disabled
[    67.929] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    67.929] (II) AIGLX: enabled GLX_INTEL_swap_event
[    67.929] (II) AIGLX: enabled GLX_ARB_create_context
[    67.929] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    67.929] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    67.929] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    67.929] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    67.929] (II) AIGLX: Loaded and initialized i915
[    67.929] (II) GLX: Initialized DRI2 GL provider for screen 0
[    67.931] (II) intel(0): Setting screen physical size to 270 x 158
[    68.068] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[    68.068] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    68.068] (**) Power Button: Applying InputClass "Keyboard Defaults"
[    68.069] (II) LoadModule: "evdev"
[    68.069] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    68.070] (II) Module evdev: vendor="X.Org Foundation"
[    68.070] 	compiled for 1.14.0, module version = 2.8.0
[    68.070] 	Module class: X.Org XInput Driver
[    68.070] 	ABI class: X.Org XInput driver, version 19.1
[    68.070] (II) Using input driver 'evdev' for 'Power Button'
[    68.070] (**) Power Button: always reports core events
[    68.070] (**) evdev: Power Button: Device: "/dev/input/event4"
[    68.070] (--) evdev: Power Button: Vendor 0 Product 0x1
[    68.070] (--) evdev: Power Button: Found keys
[    68.070] (II) evdev: Power Button: Configuring as keyboard
[    68.070] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[    68.070] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    68.070] (**) Option "xkb_rules" "evdev"
[    68.070] (**) Option "xkb_model" "evdev"
[    68.070] (**) Option "xkb_layout" "us"
[    68.070] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.166] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    68.166] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    68.166] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[    68.166] (II) Using input driver 'evdev' for 'Video Bus'
[    68.166] (**) Video Bus: always reports core events
[    68.167] (**) evdev: Video Bus: Device: "/dev/input/event5"
[    68.167] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    68.167] (--) evdev: Video Bus: Found keys
[    68.167] (II) evdev: Video Bus: Configuring as keyboard
[    68.167] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input5/event5"
[    68.167] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    68.167] (**) Option "xkb_rules" "evdev"
[    68.167] (**) Option "xkb_model" "evdev"
[    68.167] (**) Option "xkb_layout" "us"
[    68.167] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.169] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    68.169] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    68.169] (**) Power Button: Applying InputClass "Keyboard Defaults"
[    68.169] (II) Using input driver 'evdev' for 'Power Button'
[    68.169] (**) Power Button: always reports core events
[    68.169] (**) evdev: Power Button: Device: "/dev/input/event3"
[    68.169] (--) evdev: Power Button: Vendor 0 Product 0x1
[    68.169] (--) evdev: Power Button: Found keys
[    68.169] (II) evdev: Power Button: Configuring as keyboard
[    68.169] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event3"
[    68.169] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    68.169] (**) Option "xkb_rules" "evdev"
[    68.169] (**) Option "xkb_model" "evdev"
[    68.169] (**) Option "xkb_layout" "us"
[    68.169] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.171] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    68.171] (II) No input driver specified, ignoring this device.
[    68.171] (II) This device may have been added with another device file.
[    68.172] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    68.172] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    68.172] (**) Sleep Button: Applying InputClass "Keyboard Defaults"
[    68.172] (II) Using input driver 'evdev' for 'Sleep Button'
[    68.172] (**) Sleep Button: always reports core events
[    68.172] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    68.172] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    68.172] (--) evdev: Sleep Button: Found keys
[    68.172] (II) evdev: Sleep Button: Configuring as keyboard
[    68.172] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    68.172] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    68.173] (**) Option "xkb_rules" "evdev"
[    68.173] (**) Option "xkb_model" "evdev"
[    68.173] (**) Option "xkb_layout" "us"
[    68.173] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.174] (II) config/udev: Adding drm device (/dev/dri/card0)
[    68.175] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event6)
[    68.175] (II) No input driver specified, ignoring this device.
[    68.175] (II) This device may have been added with another device file.
[    68.176] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event7)
[    68.176] (II) No input driver specified, ignoring this device.
[    68.176] (II) This device may have been added with another device file.
[    68.177] (II) config/udev: Adding input device HID Wireless Mouse HID Wireless Mouse (/dev/input/event12)
[    68.177] (**) HID Wireless Mouse HID Wireless Mouse: Applying InputClass "evdev pointer catchall"
[    68.177] (II) Using input driver 'evdev' for 'HID Wireless Mouse HID Wireless Mouse'
[    68.177] (**) HID Wireless Mouse HID Wireless Mouse: always reports core events
[    68.177] (**) evdev: HID Wireless Mouse HID Wireless Mouse: Device: "/dev/input/event12"
[    68.177] (--) evdev: HID Wireless Mouse HID Wireless Mouse: Vendor 0x1d57 Product 0x16
[    68.177] (--) evdev: HID Wireless Mouse HID Wireless Mouse: Found 9 mouse buttons
[    68.177] (--) evdev: HID Wireless Mouse HID Wireless Mouse: Found scroll wheel(s)
[    68.177] (--) evdev: HID Wireless Mouse HID Wireless Mouse: Found relative axes
[    68.177] (--) evdev: HID Wireless Mouse HID Wireless Mouse: Found x and y relative axes
[    68.178] (II) evdev: HID Wireless Mouse HID Wireless Mouse: Configuring as mouse
[    68.178] (II) evdev: HID Wireless Mouse HID Wireless Mouse: Adding scrollwheel support
[    68.178] (**) evdev: HID Wireless Mouse HID Wireless Mouse: YAxisMapping: buttons 4 and 5
[    68.178] (**) evdev: HID Wireless Mouse HID Wireless Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    68.178] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input12/event12"
[    68.178] (II) XINPUT: Adding extended input device "HID Wireless Mouse HID Wireless Mouse" (type: MOUSE, id 10)
[    68.178] (II) evdev: HID Wireless Mouse HID Wireless Mouse: initialized for relative axes.
[    68.179] (**) HID Wireless Mouse HID Wireless Mouse: (accel) keeping acceleration scheme 1
[    68.179] (**) HID Wireless Mouse HID Wireless Mouse: (accel) acceleration profile 0
[    68.179] (**) HID Wireless Mouse HID Wireless Mouse: (accel) acceleration factor: 2.000
[    68.179] (**) HID Wireless Mouse HID Wireless Mouse: (accel) acceleration threshold: 4
[    68.180] (II) config/udev: Adding input device HID Wireless Mouse HID Wireless Mouse (/dev/input/mouse1)
[    68.180] (II) No input driver specified, ignoring this device.
[    68.180] (II) This device may have been added with another device file.
[    68.181] (II) config/udev: Adding input device USB2.0 UVC VGA WebCam (/dev/input/event11)
[    68.181] (**) USB2.0 UVC VGA WebCam: Applying InputClass "evdev keyboard catchall"
[    68.181] (**) USB2.0 UVC VGA WebCam: Applying InputClass "Keyboard Defaults"
[    68.181] (II) Using input driver 'evdev' for 'USB2.0 UVC VGA WebCam'
[    68.181] (**) USB2.0 UVC VGA WebCam: always reports core events
[    68.181] (**) evdev: USB2.0 UVC VGA WebCam: Device: "/dev/input/event11"
[    68.181] (--) evdev: USB2.0 UVC VGA WebCam: Vendor 0x13d3 Product 0x5702
[    68.181] (--) evdev: USB2.0 UVC VGA WebCam: Found keys
[    68.181] (II) evdev: USB2.0 UVC VGA WebCam: Configuring as keyboard
[    68.182] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/input/input11/event11"
[    68.182] (II) XINPUT: Adding extended input device "USB2.0 UVC VGA WebCam" (type: KEYBOARD, id 11)
[    68.182] (**) Option "xkb_rules" "evdev"
[    68.182] (**) Option "xkb_model" "evdev"
[    68.182] (**) Option "xkb_layout" "us"
[    68.182] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.183] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event9)
[    68.184] (**) Eee PC WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    68.184] (**) Eee PC WMI hotkeys: Applying InputClass "Keyboard Defaults"
[    68.184] (II) Using input driver 'evdev' for 'Eee PC WMI hotkeys'
[    68.184] (**) Eee PC WMI hotkeys: always reports core events
[    68.184] (**) evdev: Eee PC WMI hotkeys: Device: "/dev/input/event9"
[    68.184] (--) evdev: Eee PC WMI hotkeys: Vendor 0 Product 0
[    68.184] (--) evdev: Eee PC WMI hotkeys: Found keys
[    68.184] (II) evdev: Eee PC WMI hotkeys: Configuring as keyboard
[    68.184] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input9/event9"
[    68.184] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 12)
[    68.184] (**) Option "xkb_rules" "evdev"
[    68.184] (**) Option "xkb_model" "evdev"
[    68.184] (**) Option "xkb_layout" "us"
[    68.184] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.186] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    68.186] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    68.186] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard Defaults"
[    68.186] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    68.186] (**) AT Translated Set 2 keyboard: always reports core events
[    68.186] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    68.186] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    68.186] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    68.186] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    68.187] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    68.187] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[    68.187] (**) Option "xkb_rules" "evdev"
[    68.187] (**) Option "xkb_model" "evdev"
[    68.187] (**) Option "xkb_layout" "us"
[    68.187] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    68.189] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[    68.189] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    68.189] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    68.189] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    68.189] (II) LoadModule: "synaptics"
[    68.189] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    68.190] (II) Module synaptics: vendor="X.Org Foundation"
[    68.190] 	compiled for 1.14.1, module version = 1.7.1
[    68.190] 	Module class: X.Org XInput Driver
[    68.190] 	ABI class: X.Org XInput driver, version 19.1
[    68.190] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    68.190] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    68.190] (**) Option "Device" "/dev/input/event10"
[    68.193] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5722 (res 65)
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4706 (res 97)
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    68.193] (**) Option "TapButton1" "1"
[    68.193] (**) Option "TapButton2" "2"
[    68.193] (**) Option "TapButton3" "3"
[    68.193] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    68.194] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    68.195] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input10/event10"
[    68.195] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 14)
[    68.195] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    68.195] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    68.195] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.037
[    68.196] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    68.196] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    68.196] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    68.196] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    68.196] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    68.197] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    68.197] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    68.198] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[    68.198] (II) No input driver specified, ignoring this device.
[    68.198] (II) This device may have been added with another device file.

"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#6 2013-06-29 04:03:12

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

Correction:This hasn't repeated after a second try on another reboot...
UPDATE: systemctl rescue drops to root login but that doen't work either and I recently got stuck in rescue mode with a mouse cursor?
http://tinypic.com/r/2r7y39h/5
http://tinypic.com/r/5o8toz/5
http://tinypic.com/r/5tleg/5
So i can't get a rescue shell either... Perhaps systemd related too?

Last edited by Thme (2013-06-29 04:16:44)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#7 2013-06-29 04:26:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

Is that ascii graphic normal?  So I guess you need to fiure out why you are being propped into rescue mode.  Those pictures don't really help since you didn't seem to actually log into the rescue mode.  Try logging in and see what "journalctl -xn" tells you (like the message tells you to).

Offline

#8 2013-06-29 04:45:10

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

WonderWoofy wrote:

Is that ascii graphic normal?  So I guess you need to fiure out why you are being propped into rescue mode.  Those pictures don't really help since you didn't seem to actually log into the rescue mode.  Try logging in and see what "journalctl -xn" tells you (like the message tells you to).

The ascii is something I made and added to /etc/issue as a kinda boot graphic when the tty starts... I have similar art in my .zshrc for root and my username for any new interactive shells. So here's the output:

root@Asus-1018p /home/maat # journalctl -xn
-- Logs begin at Mon 2013-04-08 20:25:02 UTC, end at Sat 2013-06-29 00:40:30 UTC. --
Jun 29 00:15:28 Asus-1018p sudo[1462]: pam_unix(sudo:session): session opened for user root by maat(uid=0)
Jun 29 00:15:28 Asus-1018p su[1463]: (to root) maat on none
Jun 29 00:15:28 Asus-1018p su[1463]: pam_unix(su:session): session opened for user root by maat(uid=0)
Jun 29 00:28:06 Asus-1018p systemd[1]: Starting Cleanup of Temporary Directories...
-- Subject: Unit systemd-tmpfiles-clean.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-tmpfiles-clean.service has begun starting up.
Jun 29 00:28:06 Asus-1018p systemd-tmpfiles[6260]: stat(/run/user/1001/gvfs) failed: Permission denied
Jun 29 00:28:06 Asus-1018p systemd[1]: Started Cleanup of Temporary Directories.
-- Subject: Unit systemd-tmpfiles-clean.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-tmpfiles-clean.service has finished starting up.
-- 
-- The start-up result is done.
Jun 29 00:40:30 Asus-1018p sudo[10850]: maat : TTY=pts/1 ; PWD=/home/maat ; USER=root ; COMMAND=/usr/bin/su
Jun 29 00:40:30 Asus-1018p sudo[10850]: pam_unix(sudo:session): session opened for user root by maat(uid=0)
Jun 29 00:40:30 Asus-1018p su[10851]: (to root) maat on none
Jun 29 00:40:30 Asus-1018p su[10851]: pam_unix(su:session): session opened for user root by maat(uid=0)

Last edited by Thme (2013-06-29 04:46:45)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#9 2013-06-29 16:40:34

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

Ok so I solved it. Apparently somewhere along the way the permissions or ownership to ~/.Xauthority had changed or It hadn't been cleaned up properly on shutdown. Either way I discovered something was wrong with ~/.Xauthority when I let "xinit" hang and switched to another tty to login mannually. I ran pstree and  saw a tree like so referiing to the other tty/login session:

|---------login-----startx-----sed
|                             |__xauth

which made me suspicious of Xauthority.... So removing it cleared up this issue.....

$sudo rm /home/username/.Xauthority

Anyhow this is fixed now.

Last edited by Thme (2013-06-29 16:45:59)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#10 2013-06-29 18:17:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved]Autologin@tty and startx at boot hangs/delays?

Interesting... I ran into a similar issue maybe a year ago or so.  Glad you got it fixed.

Offline

Board footer

Powered by FluxBB