再起動/終了後の最初の画面で自動ログイン設定が失敗する

再起動/終了後の最初の画面で自動ログイン設定が失敗する

端末がタブレットなので、ワイヤレスキーボードを接続せずに「持ち歩ける」ことを望むので、自動ログインを使用する予定です。

ログインマネージャをインストールせずに次の問題を解決できるかどうか疑問に思います。

再起動やシャットダウン後に表示される最初の画面で自動ログインが進まないようです。

マイ自動ログインの設定

    sudo apt-get install mingetty


sudo su
exec /bin/login -f xdpsx < /dev/tty1 > /dev/tty1 2>&1
__________________
sudo mkdir -pv /etc/systemd/system/[email protected]/
_____________
sudo nano /etc/systemd/system/[email protected]/autologin.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux
_____________
systemctl enable [email protected]
__________________
File: /home/xdpsx/.bash_profile                   


if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
 exec startx
fi
_______________________________________
/home/xdpsx/.xinitrc


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


sleep 5 && /usr/bin/onboard &
exec jwm


    ~/.xsession-errors
Xsession: X session started for xdpsx at Thu Oct 27 09:55:40 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 4382 requests (2277 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Thu Oct 27 09:58:29 CEST 2016
localuser:xdpsx being added to access control list
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
Xsession: X session started for xdpsx at Thu Oct 27 10:06:06 CEST 2016
localuser:xdpsx being added to access control list

(hexchat:7006): GLib-CRITICAL **: Source ID 8441 was not found when attempting to remove it

** (pale moon:7026): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:7026): WARNING **: Cannot launch default application: No application is registered as handling this file
Xsession: X session started for xdpsx at Thu Oct 27 22:05:43 CEST 2016
localuser:xdpsx being added to access control list

** (pale moon:1172): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:1172): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:1172): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:1172): WARNING **: Cannot launch default application: No application is registered as handling this file

(pale moon:1172): Gtk-CRITICAL **: IA__gtk_clipboard_get_for_display: assertion '!display->closed' failed

(pale moon:1172): Gtk-CRITICAL **: IA__gtk_clipboard_get_for_display: assertion '!display->closed' failed
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 71573 requests (71573 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Fri Oct 28 05:42:22 CEST 2016
localuser:xdpsx being added to access control list

** (pale moon:2243): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:2243): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:2243): WARNING **: Cannot launch default application: No application is registered as handling this file

** (pale moon:2243): WARNING **: Cannot launch default application: No application is registered as handling this file
lxterminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 241406 requests (241406 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Fri Oct 28 07:14:33 CEST 2016
localuser:xdpsx being added to access control list
Xsession: X session started for xdpsx at Fri Oct 28 07:24:14 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 36042 requests (36042 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Fri Oct 28 07:34:28 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 23261 requests (23261 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Fri Oct 28 07:40:57 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 15658 requests (15658 known processed) with 1 events remaining.
Terminated
Xsession: X session started for xdpsx at Fri Oct 28 07:45:18 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 17789 requests (17649 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Fri Oct 28 07:50:50 CEST 2016
localuser:xdpsx being added to access control list

(hexchat:1901): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 715680 requests (715680 known processed) with 0 events remaining.
Terminated
Xsession: X session started for xdpsx at Fri Oct 28 16:02:06 CEST 2016
localuser:xdpsx being added to access control list

(hexchat:1252): libnotify-WARNING **: Failed to connect to proxy
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
Xsession: X session started for xdpsx at Fri Oct 28 17:02:33 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 765817 requests (765817 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 296472 requests (296445 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 08:47:21 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 878 requests (878 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 08:49:26 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 2144 requests (2144 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 08:51:52 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 2002 requests (2002 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 08:53:14 CEST 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 75802 requests (75802 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 10:57:37 CEST 2016
localuser:xdpsx being added to access control list
SSL_read/read: No route to host
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 451418 requests (451418 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Sat Oct 29 14:18:12 CEST 2016
localuser:xdpsx being added to access control list
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down

(hexchat:4368): libnotify-WARNING **: Failed to connect to proxy
Vector smash protection is enabled.
SSL_read/read: No route to host

(hexchat:4368): GLib-CRITICAL **: Source ID 69936 was not found when attempting to remove it

(hexchat:4368): GLib-CRITICAL **: Source ID 69936 was not found when attempting to remove it

(hexchat:4368): GLib-CRITICAL **: Source ID 69936 was not found when attempting to remove it

(hexchat:4368): GLib-CRITICAL **: Source ID 69936 was not found when attempting to remove it

(hexchat:4368): GLib-CRITICAL **: Source ID 69936 was not found when attempting to remove it
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.

(plugin-container:11290): GLib-CRITICAL **: Source ID 497285 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497301 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497700 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497716 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497729 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497749 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497760 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497771 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497772 was not found when attempting to remove it

(plugin-container:11290): GLib-CRITICAL **: Source ID 497781 was not found when attempting to remove it
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down

(hexchat:16218): libnotify-WARNING **: Failed to connect to proxy
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 5006525 requests (5006525 known processed) with 0 events remaining.
Terminated
Terminated
Xsession: X session started for xdpsx at Mon Oct 31 06:28:18 CET 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 1470 requests (1470 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 06:29:54 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1364): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 174922 requests (174464 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 07:33:50 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1230): libnotify-WARNING **: Failed to connect to proxy
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 118231 requests (118231 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 08:08:00 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1204): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 15620 requests (15620 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 08:14:17 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1210): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 68225 requests (68225 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 08:42:30 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1231): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 79561 requests (79561 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 09:08:52 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1284): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 18835 requests (18721 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 09:15:20 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1210): libnotify-WARNING **: Failed to connect to proxy
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 92706 requests (92706 known processed) with 0 events remaining.
lxterminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Xsession: X session started for xdpsx at Mon Oct 31 09:39:29 CET 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 3381 requests (3381 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 09:40:55 CET 2016
localuser:xdpsx being added to access control list
lxterminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 24140 requests (24140 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Mon Oct 31 09:47:26 CET 2016
localuser:xdpsx being added to access control list

(hexchat:1284): libnotify-WARNING **: Failed to connect to proxy
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Can't find symbol 'glXCreateContextAttribsARB'.
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
SSL_read/read: Network is unreachable
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 1072184 requests (1072184 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Tue Nov  1 06:49:20 CET 2016
localuser:xdpsx being added to access control list

(pale moon:1476): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion 'targets != NULL' failed

(pale moon:1476): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion 'targets != NULL' failed
XIO:  fatal IO error 4 (Interrupted system call) on X server ":0"
      after 151734 requests (151734 known processed) with 0 events remaining.
Xsession: X session started for xdpsx at Tue Nov  1 07:58:47 CET 2016
localuser:xdpsx being added to access control list
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 97302 requests (97302 known processed) with 1 events remaining.
Terminated
Xsession: X session started for xdpsx at Tue Nov  1 08:38:59 CET 2016
localuser:xdpsx being added to access control list
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 658028 requests (658028 known processed) with 1 events remaining.
Xsession: X session started for xdpsx at Tue Nov  1 14:53:12 CET 2016
localuser:xdpsx being added to access control list
Vector smash protection is enabled.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 37136 requests (37136 known processed) with 1 events remaining.
lxterminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
plugin-container: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Xsession: X session started for xdpsx at Tue Nov  1 15:08:07 CET 2016
localuser:xdpsx being added to access control list
Vector smash protection is enabled.
NOTE: child process received `Goodbye', closing down
X connection to :0 broken (explicit kill or server shutdown

/var/log/Xorg.0.log https://paste.ubuntu.com/23414804/

journalctl -b http://paste.ubuntu.com/23412613/

systemctl status getty@tty1[email protected] - Getty on tty1
   Loaded: loaded (/lib/systemd/system/[email protected]; enabled; ven
  Drop-In: /etc/systemd/system/[email protected]
           └─autologin.conf, override.conf
   Active: active (running) since Tue 2016-11-01 19:23:44 CET; 41mi
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html
 Main PID: 1563 (login)
   CGroup: /system.slice/system-getty.slice/[email protected]
           ‣ 1563 /bin/login -f      

Nov 01 19:23:44 1o2n3b4t5y6u systemd[1]: Started Getty on tty1.
Nov 01 19:23:44 1o2n3b4t5y6u login[1563]: pam_unix(login:session): 
lines 1-14/14 (END)

再起動後に最初に表示される画面で停止します。システム画面に接続します。/dev/sda1: clean 1123123/1231312 files 12312312/13212312 blocks.

この画面を通過する唯一の方法は、ctrl + alt + f1を押してからxに自動ログインして自動実行することです。

私はログインマネージャやデスクトップ環境を使用せずにjwmのみを使用します。

同じ構成がUbuntu 16.10では上記のシステムの最初の画面を通過しますが、Ubuntu 16.04では通過できないと99%確信しています。

上記の画面はログインマネージャの横にありますが、ctrl + alt + f1「ゴーストのように」数ミリ秒間表示された後、最初の画面の背景から始めたいと思われますが、/dev/sda1: clean 1123123/1231312 files 12312312/13212312 blocks.それはできません。これ以上 ctr+alt+f1 を押す必要はありません。

関連情報