User ability to repair/update X11 display installation (help/?)
(Note: this is a help question; I hope this is the correct forum to ask. If not, I apologize and would be happy to forward to he correct location):
I’m an amateur Linux user who has recently started using Alpine Linux installed on the iSH app, an x86 Linux emulator running on the iPad under iOS. It works very well except I’ve found that I can’t run any windows or do any graphics, and I believe that is do to a problem with how the Alpine Linux is setup to work with X11. I tried running setup-xorg-base but could not remedy the problem. I’m currently running Alpine Linux 13.3. These are error messages I get:
Xterm:
xterm: Xt error: Can't open display: %s (despite $DISPLAY being set to iPad:0)
X:
X.Org X Server 1.20.10 X Protocol Version 11, Revision 0 Build Operating System: Linux Alpine Linux Current Operating System: Linux iPad 4.20.69-ish iSH 1.1.1 (91) Dec 21 2020 19:41:45 i686 Build Date: 02 December 2020 12:20:39AM
Current version of pixman: 0.40.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 Feb 22 05:22:04 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory) (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 "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file.
Xorg log:
iPad:~# cat /var/log/Xorg.0.log
[273626.977] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[273626.983] [config] failed to pre-init udev
[273626.984]
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[273626.984] Build Operating System: Linux Alpine Linux
[273626.984] Current Operating System: Linux iPad 4.20.69-ish iSH 1.1.1 (91) Dec 21 2020 19:41:45 i686
[273626.985] Build Date: 02 December 2020 12:20:39AM
[273626.985]
[273626.985] Current version of pixman: 0.40.0
[273626.985] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[273626.986] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[273626.987] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 22 05:22:04 2021
[273626.999] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[273627.005] (==) No Layout section. Using the first Screen section.
[273627.012] (==) No screen section available. Using defaults.
[273627.012] () |-->Screen "Default Screen Section" (0)
[273627.013] (**) | |-->Monitor ""
[273627.028] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[273627.029] (==) Automatically adding devices
[273627.030] (==) Automatically enabling devices
[273627.030] (==) Automatically adding GPU devices
[273627.031] (==) Max clients allowed: 256, resource mask: 0x1fffff
[273627.036] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[273627.037] Entry deleted from font path.
[273627.037] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[273627.037] Entry deleted from font path.
[273627.038] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled
[273627.038] (==) ModulePath set to "/usr/lib/xorg/modules"
[273627.038] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[273627.038] (II) Module ABI versions:
[273627.038] X.Org ANSI C Emulation: 0.4
[273627.038] X.Org Video Driver: 24.1
[273627.038] X.Org XInput driver : 24.1
[273627.039] X.Org Server Extension : 10.0
[273627.039] (II) no primary bus or device found
[273627.040] (II) LoadModule: "glx"
[273627.092] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[273627.187] (II) Module glx: vendor="X.Org Foundation"
[273627.188] compiled for 1.20.10, module version = 1.0.0
[273627.188] ABI class: X.Org Server Extension, version 10.0
[273627.189] (==) Matched modesetting as autoconfigured driver 0
[273627.189] (==) Matched fbdev as autoconfigured driver 1
[273627.189] (==) Matched vesa as autoconfigured driver 2
[273627.189] (==) Assigned the driver to the xf86ConfigLayout
[273627.190] (II) LoadModule: "modesetting"
[273627.211] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[273627.230] (II) Module modesetting: vendor="X.Org Foundation"
[273627.231] compiled for 1.20.10, module version = 1.20.10
[273627.231] Module class: X.Org Video Driver
[273627.231] ABI class: X.Org Video Driver, version 24.1
[273627.231] (II) LoadModule: "fbdev"
[273627.248] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[273627.252] (II) Module fbdev: vendor="X.Org Foundation"
[273627.252] compiled for 1.20.10, module version = 0.5.0
[273627.252] Module class: X.Org Video Driver [273627.252] ABI class: X.Org Video Driver, version 24.1 [273627.253] (II) LoadModule: "vesa" [273627.280] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [273627.284] (II) Module vesa: vendor="X.Org Foundation" [273627.284] compiled for 1.20.10, module version = 2.5.0 [273627.285] Module class: X.Org Video Driver [273627.285] ABI class: X.Org Video Driver, version 24.1 [273627.285] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [273627.285] (II) FBDEV: driver for framebuffer: fbdev [273627.286] (II) VESA: driver for VESA chipsets: vesa [273627.286] (EE) Fatal server error: [273627.286] (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory) [273627.287] (EE) [273627.287] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [273627.287] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [273627.287] (EE) [273627.289] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [273627.290] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [273627.290] (EE) Server terminated with error (1). Closing log file.
OpenRC information:
i Pad:~# rc-status --servicelist
- Caching service dependencies ... [ ok ]
- Clock skew detected with `(null)'
- Adjusting mtime of `/run/openrc/deptree' to Sun Feb 21 05:24:09 2021 agetty [ stopped ] sysfs [ stopped ] devfs [ stopped ] udev [ stopped ] udev-trigger [ stopped ] fsck [ stopped ] root [ stopped ] localmount [ stopped ] alsa [ stopped ] binfmt [ stopped ] bootmisc [ stopped ] cgroups [ stopped ] termencoding [ stopped ] consolefont [ stopped ] dbus [ stopped ] dmesg [ stopped ] firstboot [ stopped ] fuse [ stopped ] hostname [ stopped ] hwclock [ stopped ] hwdrivers [ stopped ] killprocs [ stopped ] local [ stopped ] loopback [ stopped ] machine-id [ stopped ] modloop [ stopped ] modules [ stopped ] mount-ro [ stopped ] mtab [ stopped ] net-online [ stopped ] networking [ stopped ] netmount [ stopped ] numlock [ stopped ] osclock [ stopped ] polkit [ stopped ] procfs [ stopped ] rfkill [ stopped ] runsvdir [ stopped ] s6-svscan [ stopped ] save-keymaps [ stopped ] save-termencoding [ stopped ] savecache [ stopped ] slim [ stopped ] staticroute [ stopped ] swap [ stopped ] swclock [ stopped ] sysctl [ stopped ] sysfsconf [ stopped ] udev-postmount [ stopped ] udev-settle [ stopped ] urandom [ stopped ] utmpd [ stopped ] wtmpd
I’m not sure if something happened during the installation that the X11 Display didn’t get set up correctly or whether the problem might be in the x86 Linux emulator preventing the X11 Display from working, but I’m suspecting the former given the error messages suggesting some of the files are missing.
Any suggestions the community might have? Are there perhaps some initial files I can download and run myself to get the X11 Display working or is this something I should let the developer know to see if he can re-install from his end?
I appreciate any help you can provide.
Thank you very much.