I've been using boot to desktop autologin for ages on PI3, and it's been fine since recent upgrade to stretch
To explore the possibility of throttling the pi down when not in much use I did the following:
sudo apt-get update && sudo apt-get install cpufrequtils
Updated /boot/config.txt to include:
force_turbo=0
arm_freq=700
arm_freq_min=100
cpufreq-set -g ondemand
sudo reboot
When I rebooted it asked for password when booting to desktop. When I enter the right password it blanks the screen, and then comes back to login prompt. If I put in an invalid password it tells me so in a red error message.
I can ctrl-alt F2 and log in to cli OK,
I've backed out the changes and uninstalled the package....but still get the same symptom.
I've used raspi-config to boot to cli, rebooted and then run startx...but it doesn't start and I can't see why.
Code: Select all
$ startx
X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.35-v7+ armv7l Raspbian
Current Operating System: Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l
Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 20 July 2017 09:07:00AM
xorg-server 2:1.19.2-1+deb9u1+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 21 23:22:15 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Code: Select all
$ cat /var/log/Xorg.0.log
[ 990.234]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 990.248] X Protocol Version 11, Revision 0
[ 990.253] Build Operating System: Linux 4.9.35-v7+ armv7l Raspbian
[ 990.258] Current Operating System: Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l
[ 990.258] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 990.276] Build Date: 20 July 2017 09:07:00AM
[ 990.282] xorg-server 2:1.19.2-1+deb9u1+rpi1 (https://www.debian.org/support)
[ 990.288] Current version of pixman: 0.34.0
[ 990.298] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 990.298] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 990.319] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 21 23:11:12 2017
[ 990.325] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 990.326] (==) No Layout section. Using the first Screen section.
[ 990.326] (==) No screen section available. Using defaults.
[ 990.326] (**) |-->Screen "Default Screen Section" (0)
[ 990.326] (**) | |-->Monitor "<default monitor>"
[ 990.327] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 990.327] (==) Automatically adding devices
[ 990.327] (==) Automatically enabling devices
[ 990.327] (==) Automatically adding GPU devices
[ 990.327] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 990.327] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 990.328] Entry deleted from font path.
[ 990.328] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 990.328] Entry deleted from font path.
[ 990.328] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 990.328] Entry deleted from font path.
[ 990.328] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 990.328] Entry deleted from font path.
[ 990.328] (==) FontPath set to:
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins
[ 990.328] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 990.328] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 990.328] (II) Loader magic: 0x1fbf40
[ 990.328] (II) Module ABI versions:
[ 990.328] X.Org ANSI C Emulation: 0.4
[ 990.328] X.Org Video Driver: 23.0
[ 990.328] X.Org XInput driver : 24.1
[ 990.328] X.Org Server Extension : 10.0
[ 990.330] (++) using VT number 2
[ 990.339] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 990.340] (II) no primary bus or device found
[ 990.340] (II) LoadModule: "glx"
[ 990.341] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 990.346] (II) Module glx: vendor="X.Org Foundation"
[ 990.347] compiled for 1.19.2, module version = 1.0.0
[ 990.347] ABI class: X.Org Server Extension, version 10.0
[ 990.347] (==) Matched modesetting as autoconfigured driver 0
[ 990.347] (==) Matched fbdev as autoconfigured driver 1
[ 990.347] (==) Assigned the driver to the xf86ConfigLayout
[ 990.347] (II) LoadModule: "modesetting"
[ 990.347] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 990.348] (II) Module modesetting: vendor="X.Org Foundation"
[ 990.348] compiled for 1.19.2, module version = 1.19.2
[ 990.348] Module class: X.Org Video Driver
[ 990.348] ABI class: X.Org Video Driver, version 23.0
[ 990.348] (II) LoadModule: "fbdev"
[ 990.348] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 990.349] (II) Module fbdev: vendor="X.Org Foundation"
[ 990.349] compiled for 1.19.0, module version = 0.4.4
[ 990.349] Module class: X.Org Video Driver
[ 990.349] ABI class: X.Org Video Driver, version 23.0
[ 990.349] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 990.349] (II) FBDEV: driver for framebuffer: fbdev
[ 990.349] (WW) Falling back to old probe method for modesetting
[ 990.349] (EE) open /dev/dri/card0: No such file or directory
[ 990.349] (WW) Falling back to old probe method for fbdev
[ 990.349] (II) Loading sub module "fbdevhw"
[ 990.349] (II) LoadModule: "fbdevhw"
[ 990.360] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 990.360] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 990.360] compiled for 1.19.2, module version = 0.0.2
[ 990.360] ABI class: X.Org Video Driver, version 23.0
[ 990.361] (II) FBDEV(0): using default device
[ 990.361] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 990.361] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 990.361] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[ 990.361] (==) FBDEV(0): RGB weight 888
[ 990.361] (==) FBDEV(0): Default visual is TrueColor
[ 990.361] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 990.361] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 7011kB)
[ 990.361] (II) FBDEV(0): checking modes against framebuffer device...
[ 990.361] (II) FBDEV(0): checking modes against monitor...
[ 990.361] (--) FBDEV(0): Virtual size is 1824x984 (pitch 1824)
[ 990.361] (**) FBDEV(0): Built-in mode "current"
[ 990.361] (==) FBDEV(0): DPI set to (96, 96)
[ 990.361] (II) Loading sub module "fb"
[ 990.361] (II) LoadModule: "fb"
[ 990.361] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 990.362] (II) Module fb: vendor="X.Org Foundation"
[ 990.362] compiled for 1.19.2, module version = 1.0.0
[ 990.362] ABI class: X.Org ANSI C Emulation, version 0.4
[ 990.362] (**) FBDEV(0): using shadow framebuffer
[ 990.362] (II) Loading sub module "shadow"
[ 990.362] (II) LoadModule: "shadow"
[ 990.362] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 990.363] (II) Module shadow: vendor="X.Org Foundation"
[ 990.363] compiled for 1.19.2, module version = 1.1.0
[ 990.363] ABI class: X.Org ANSI C Emulation, version 0.4
[ 990.363] (II) UnloadModule: "modesetting"
[ 990.363] (II) Unloading modesetting
[ 990.363] (==) Depth 24 pixmap format is 32 bpp
[ 990.369] (==) FBDEV(0): Backing store enabled
[ 990.370] (==) FBDEV(0): DPMS enabled
[ 990.370] (==) RandR enabled
[ 990.411] (II) SELinux: Disabled on system
[ 990.415] (II) AIGLX: Screen 0 is not DRI2 capable
[ 990.415] (EE) AIGLX: reverting to software rendering
[ 990.416] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[ 990.416] (EE) GLX: could not load software renderer
[ 990.416] (II) GLX: no usable GL providers found for screen 0
[ 990.617] (II) config/udev: Adding input device DELL DELL USB Keyboard (/dev/input/event0)
[ 990.617] (**) DELL DELL USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 990.617] (**) DELL DELL USB Keyboard: Applying InputClass "libinput keyboard catchall"
[ 990.617] (II) LoadModule: "libinput"
[ 990.618] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 990.625] (II) Module libinput: vendor="X.Org Foundation"
[ 990.625] compiled for 1.19.0, module version = 0.23.0
[ 990.625] Module class: X.Org XInput Driver
[ 990.626] ABI class: X.Org XInput driver, version 24.1
[ 990.626] (II) Using input driver 'libinput' for 'DELL DELL USB Keyboard'
[ 990.628] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 18 paused 0
[ 990.628] (**) DELL DELL USB Keyboard: always reports core events
[ 990.628] (**) Option "Device" "/dev/input/event0"
[ 990.628] (**) Option "_source" "server/udev"
[ 990.631] (II) input device 'DELL DELL USB Keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[ 990.631] (II) input device 'DELL DELL USB Keyboard', /dev/input/event0 is a keyboard
[ 990.632] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:413C:2005.0001/input/input0/event0"
[ 990.632] (II) XINPUT: Adding extended input device "DELL DELL USB Keyboard" (type: KEYBOARD, id 6)
[ 990.632] (**) Option "xkb_model" "pc105"
[ 990.632] (**) Option "xkb_layout" "gb"
[ 990.632] (**) Option "xkb_options" "lv3:ralt_switch"
[ 990.731] (II) input device 'DELL DELL USB Keyboard', /dev/input/event0 is tagged by udev as: Keyboard
[ 990.731] (II) input device 'DELL DELL USB Keyboard', /dev/input/event0 is a keyboard
[ 990.735] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/event1)
[ 990.735] (**) PIXART USB OPTICAL MOUSE: Applying InputClass "evdev pointer catchall"
[ 990.735] (**) PIXART USB OPTICAL MOUSE: Applying InputClass "libinput pointer catchall"
[ 990.735] (II) Using input driver 'libinput' for 'PIXART USB OPTICAL MOUSE'
[ 990.737] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 21 paused 0
[ 990.737] (**) PIXART USB OPTICAL MOUSE: always reports core events
[ 990.737] (**) Option "Device" "/dev/input/event1"
[ 990.737] (**) Option "_source" "server/udev"
[ 990.740] (II) input device 'PIXART USB OPTICAL MOUSE', /dev/input/event1 is tagged by udev as: Mouse
[ 990.740] (II) Device 'PIXART USB OPTICAL MOUSE' set to 1000 DPI
[ 990.740] (II) input device 'PIXART USB OPTICAL MOUSE', /dev/input/event1 is a pointer caps
[ 990.741] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:093A:2510.0002/input/input1/event1"
[ 990.741] (II) XINPUT: Adding extended input device "PIXART USB OPTICAL MOUSE" (type: MOUSE, id 7)
[ 990.742] (**) Option "AccelerationScheme" "none"
[ 990.742] (**) PIXART USB OPTICAL MOUSE: (accel) selected scheme none/0
[ 990.742] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration factor: 2.000
[ 990.742] (**) PIXART USB OPTICAL MOUSE: (accel) acceleration threshold: 4
[ 990.744] (II) input device 'PIXART USB OPTICAL MOUSE', /dev/input/event1 is tagged by udev as: Mouse
[ 990.744] (II) Device 'PIXART USB OPTICAL MOUSE' set to 1000 DPI
[ 990.744] (II) input device 'PIXART USB OPTICAL MOUSE', /dev/input/event1 is a pointer caps
[ 990.747] (II) config/udev: Adding input device PIXART USB OPTICAL MOUSE (/dev/input/mouse0)
[ 990.747] (II) No input driver specified, ignoring this device.
[ 990.747] (II) This device may have been added with another device file.
[ 991.004] (**) Option "fd" "18"
[ 991.004] (**) Option "fd" "21"
[ 991.008] (II) UnloadModule: "libinput"
[ 991.008] (II) systemd-logind: releasing fd for 13:65
[ 991.070] (II) UnloadModule: "libinput"
[ 991.070] (II) systemd-logind: releasing fd for 13:64
[ 991.141] (II) Server terminated successfully (0). Closing log file.