Firefly开源社区

打印 上一主题 下一主题

制作ubuntu文件系统,桌面无法启动的问题,求助解答

23

积分

0

威望

0

贡献

游客

积分
23

制作ubuntu文件系统,桌面无法启动的问题,求助解答

发表于 2018-4-3 17:52:37      浏览:6579 | 回复:0        打印      只看该作者   [复制链接] 楼主
文件系统是从AIO-3399J 固件中解析出来的 ubuntu1604arm64-rootfs.img,重新制作文件系统的命令如下
dd if=/dev/zero of=linuxroot.img bs=1M count=2800sudo  mkfs.ext4  linuxroot.imgmkdir  rootfssudo mount linuxroot.img rootfs/sudo cp -rfp temp/*  rootfs/sudo umount rootfs/e2fsck -p -f linuxroot.imgresize2fs  -M linuxroot.img

烧写后,通过HDMI接到屏幕,发现桌面没有启动,是黑屏,但是能看到一闪一闪的,输入命令cat /var/log/lightdm/lightdm.log,查看日志输出如下,
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.3, UID=0 PID=20220
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-xubuntu.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating user session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Using VT 7
[+0.03s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.03s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.03s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.03s] DEBUG: DisplayServer x-0: Launching X Server
[+0.03s] DEBUG: Launching process 20226: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.03s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.73s] DEBUG: Got signal 10 from process 20226
[+0.73s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.73s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.74s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.74s] DEBUG: Session pid=20252: Started with service 'lightdm-autologin', username 'firefly'
[+0.79s] DEBUG: Session pid=20252: Authentication complete with return value 0: Success
[+0.79s] DEBUG: Seat seat0: Session authenticated, running command
[+0.79s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+0.80s] DEBUG: Session pid=20252: Running command /usr/sbin/lightdm-session startxfce4
[+0.80s] DEBUG: Creating shared data directory /var/lib/lightdm-data/firefly
[+0.80s] DEBUG: Session pid=20252: Logging to .xsession-errors
[+0.90s] DEBUG: Activating VT 7
[+0.90s] DEBUG: Activating login1 session c380
[+0.90s] DEBUG: Seat seat0 changes active session to c380
[+0.90s] DEBUG: Session c380 is already active
[+0.91s] DEBUG: Session pid=20252: Exited with return value 1
[+0.91s] DEBUG: Seat seat0: Session stopped
[+0.91s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.91s] DEBUG: Sending signal 15 to process 20226
[+0.93s] DEBUG: Seat seat0 changes active session to
[+0.93s] CRITICAL: session_get_login1_session_id: assertion 'session != NULL' failed
[+1.32s] DEBUG: Process 20226 exited with return value 0
[+1.32s] DEBUG: DisplayServer x-0: X server stopped
[+1.32s] DEBUG: Releasing VT 7
[+1.32s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+1.32s] DEBUG: Seat seat0: Display server stopped
[+1.32s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+1.32s] DEBUG: Seat seat0: Creating greeter session
[+1.32s] DEBUG: Seat seat0: Creating display server of type x
[+1.32s] DEBUG: Using VT 7
[+1.32s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1.32s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+1.32s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+1.32s] DEBUG: DisplayServer x-0: Launching X Server
[+1.32s] DEBUG: Launching process 20276: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.32s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+1.98s] DEBUG: Got signal 10 from process 20276
[+1.98s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+1.98s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.99s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.99s] DEBUG: Session pid=20299: Started with service 'lightdm-greeter', username 'lightdm'
[+2.03s] DEBUG: Session pid=20299: Authentication complete with return value 0: Success
[+2.03s] DEBUG: Seat seat0: Session authenticated, running command
[+2.03s] DEBUG: Session pid=20299: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/lightdm-gtk-greeter
[+2.03s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+2.03s] DEBUG: Session pid=20299: Logging to /var/log/lightdm/seat0-greeter.log
[+2.06s] DEBUG: Activating VT 7
[+2.06s] DEBUG: Activating login1 session c381
[+2.07s] DEBUG: Seat seat0 changes active session to c381
[+2.07s] DEBUG: Session c381 is already active
[+2.07s] DEBUG: Greeter closed communication channel
[+2.07s] DEBUG: Session pid=20299: Exited with return value 1
[+2.07s] DEBUG: Seat seat0: Session stopped
[+2.07s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+2.07s] DEBUG: Seat seat0: Stopping
[+2.07s] DEBUG: Seat seat0: Stopping display server
[+2.07s] DEBUG: Sending signal 15 to process 20276
[+2.44s] DEBUG: Process 20276 exited with return value 0
[+2.44s] DEBUG: DisplayServer x-0: X server stopped
[+2.44s] DEBUG: Releasing VT 7
[+2.44s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+2.45s] DEBUG: Seat seat0: Display server stopped
[+2.45s] DEBUG: Seat seat0: Stopped
[+2.45s] DEBUG: Required seat has stopped
[+2.45s] DEBUG: Stopping display manager
[+2.45s] DEBUG: Display manager stopped
[+2.45s] DEBUG: Stopping daemon
[+2.47s] DEBUG: Exiting with return value 1
请技术人员分析一下问题原因出在哪里,谢谢

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表