Hi Fourdee,
Your quick reply is appreciated.
This server has always been operated in headless mode. First attempt to run a desktop threw the error that prompted the original troubleshooting post.
Current Environment Settings:
- Autostart setting at 0 : Manual login (default)
- Installed desktop: XFCE
Executed Fix Action 1 as suggested:
- Removed /etc/X11/xorg.conf. Verified file removal.
- server deliberately rebooted
- Startx command run in console
- Same error thrown as originally reported, Except for any mention of file /etc/X11/xorg.conf
Executed Fix Action 2 as suggested:
- Server deliberately rebooted
- ran G_AGI --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+
- result shown below:
[ OK ] APT installation for: --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+, please wait…
Preconfiguring packages …
(Reading database … 100863 files and directories currently installed.)
Preparing to unpack …/linux-image-3.16.57+_3.16.57-20180819-C2_arm64.deb …
The directory /lib/modules/3.16.57+ still exists. Continuing as directed.
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/remove-old-on-upgrade 3.16.57+ /boot/vmlinuz-3.16.57+
Done.
Unpacking linux-image-3.16.57+ (3.16.57-20180819-C2) over (3.16.57-20180819-C2) …
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.57+ /boot/vmlinuz-3.16.57+
Setting up linux-image-3.16.57+ (3.16.57-20180819-C2) …
Hmm. There is a symbolic link /lib/modules/3.16.57+/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/3.16.57+/build
Hmm. The package shipped with a symbolic link /lib/modules/3.16.57+/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/3.16.57+/source
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/Image 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/copy_dtb 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.57+ /boot/vmlinuz-3.16.57+
update-initramfs: Generating /boot/initrd.img-3.16.57+
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 25: /etc/initramfs-tools/scripts/local-top/c2_init.sh: fbset: not found
/etc/initramfs-tools/scripts/local-top/c2_init.sh: 26: /etc/initramfs-tools/scripts/local-top/c2_init.sh: fbset: not found
run-parts: executing /etc/kernel/postinst.d/uImage 3.16.57+ /boot/vmlinuz-3.16.57+
run-parts: executing /etc/kernel/postinst.d/uInitrd 3.16.57+ /boot/vmlinuz-3.16.57+
[ OK ] G_AGI: --reinstall linux-image-arm64-odroid-c2 linux-image-3.16.57+
- Server deliberately rebooted
- Autostart still set at option 0 : Manual login
- startx command run in console
- Result shown below:
X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
Current Operating System: Linux PouiHaus 3.16.57+ #1 SMP PREEMPT Sun Aug 19 15:27:56 CEST 2018 aarch64
Kernel command line: root=/dev/mmcblk0p2 rootwait ro console=tty0 no_console_suspend hdmimode=720p60hz m_bpp=32 vout= fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true
Build Date: 25 October 2018 10:13:13AM
xorg-server 2:1.19.2-1+deb9u4 (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: “/home/dietpi/.local/share/xorg/Xorg.2.log”, Time: Sat Oct 27 11:18:12 2018
(==) Using config file: “/etc/X11/xorg.conf”
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at “/home/dietpi/.local/share/xorg/Xorg.2.log” for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
**
Really unsure what’s going on here but can still continue to function in headless mode. Just did clean install and reconfigs about one month ago. Will sucks if I have to do it again.