LeTux OS


To recap what I've tried and where we are, now that someone else can boot LeTux (at least using my second SD Card image - the gz file):

Log in and get wifi working:
Username is:
root
Password is empty, so just hit enter to log in

Enable the wireless interface (found using the command iwconfig)
ifconfig wlan0 up

Save my WiFi network name & key:
wpa_passphrase WLAN_NAME WLAN_PASSWORD > /etc/wpa_supplicant.conf
(replacing WLAN_NAME with my actual SSID, and WLAN_PASSWORD with my actual password)

Connect using the wext driver:
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D wext

Turn on DHCP:
dhclient wlan0

Create a user:
adduser john
Add to sudo group:
usermod -aG sudo john

Log out of root:
exit
then log in as the new user

If I try startx here, I get the output "-bash: startx: command not found".

Install updates:
sudo apt update sudo apt upgrade

I get the option to replace or keep the file:
/etc/X11/xinit/xserverrc
I have tried both options and have the same issues later. In this case, I will keep the installed version.

startx runs now, but fails:
"xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error"

When I check the log at:
/home/john/.local/share/xorg/Xorg.0.log

I get some errors:
[ 1243.327] (EE) systemd-logind: failed to get session: PID 8369 does not belong to any known session

this PID changes every time I run startx, and when I run
ps -p 8369
I get this output:
PID TTY TIME CMD


later:
[ 1243.369] (EE) open /dev/dri/card0: Permission denied

and later still:
[ 1243.373] (EE) open /dev/fb0: Permission denied
[ 1243.373] (EE) No devices detected.
[ 1243.373] (EE) Fatal server error:
[ 1243.374] (EE) no screens found(EE)

Here is the full log:
[ 1243.196]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 1243.214] X Protocol Version 11, Revision 0
[ 1243.220] Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
[ 1243.226] Current Operating System: Linux letux 5.4.282-letux-lpae+ #18786 SMP PREEMPT Wed Aug 21 09:22:23 CEST 2024 armv7l
[ 1243.226] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=21364c9d-02 rw rootfstype=ext4 rootwait coherent_pool=1M fsck.repair=yes rootwait ignore_loglevel
[ 1243.237] Build Date: 03 November 2018 05:53:43AM
[ 1243.244] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
[ 1243.249] Current version of pixman: 0.34.0
[ 1243.262] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1243.262] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1243.287] (==) Log file: "/home/john/.local/share/xorg/Xorg.0.log", Time: Fri Aug 30 10:26:35 2024
[ 1243.309] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1243.315] (==) No Layout section. Using the first Screen section.
[ 1243.315] (==) No screen section available. Using defaults.
[ 1243.315] (**) |-->Screen "Default Screen Section" (0)
[ 1243.315] (**) | |-->Monitor "<default monitor>"
[ 1243.316] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1243.316] (==) Automatically adding devices
[ 1243.316] (==) Automatically enabling devices
[ 1243.316] (==) Automatically adding GPU devices
[ 1243.323] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1243.323] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1243.323] Entry deleted from font path.
[ 1243.323] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 1243.323] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1243.323] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1243.323] (II) Loader magic: 0x5ddf60
[ 1243.323] (II) Module ABI versions:
[ 1243.323] X.Org ANSI C Emulation: 0.4
[ 1243.323] X.Org Video Driver: 23.0
[ 1243.323] X.Org XInput driver : 24.1
[ 1243.323] X.Org Server Extension : 10.0
[ 1243.326] (++) using VT number 1

[ 1243.327] (EE) systemd-logind: failed to get session: PID 8369 does not belong to any known session
[ 1243.330] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 1243.331] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1243.331] (II) xfree86: Adding drm device (/dev/dri/card2)
[ 1243.332] (II) no primary bus or device found
[ 1243.332] (II) LoadModule: "glx"
[ 1243.337] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1243.357] (II) Module glx: vendor="X.Org Foundation"
[ 1243.357] compiled for 1.19.2, module version = 1.0.0
[ 1243.357] ABI class: X.Org Server Extension, version 10.0
[ 1243.357] (==) Matched modesetting as autoconfigured driver 0
[ 1243.357] (==) Matched fbdev as autoconfigured driver 1
[ 1243.357] (==) Assigned the driver to the xf86ConfigLayout
[ 1243.357] (II) LoadModule: "modesetting"
[ 1243.359] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1243.365] (II) Module modesetting: vendor="X.Org Foundation"
[ 1243.365] compiled for 1.19.2, module version = 1.19.2
[ 1243.365] Module class: X.Org Video Driver
[ 1243.365] ABI class: X.Org Video Driver, version 23.0
[ 1243.365] (II) LoadModule: "fbdev"
[ 1243.366] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 1243.368] (II) Module fbdev: vendor="X.Org Foundation"
[ 1243.368] compiled for 1.19.0, module version = 0.4.4
[ 1243.369] Module class: X.Org Video Driver
[ 1243.369] ABI class: X.Org Video Driver, version 23.0
[ 1243.369] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1243.369] (II) FBDEV: driver for framebuffer: fbdev
[ 1243.369] (WW) Falling back to old probe method for modesetting
[ 1243.369] (EE) open /dev/dri/card0: Permission denied
[ 1243.370] (WW) Falling back to old probe method for fbdev
[ 1243.370] (II) Loading sub module "fbdevhw"
[ 1243.370] (II) LoadModule: "fbdevhw"
[ 1243.370] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1243.373] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1243.373] compiled for 1.19.2, module version = 0.0.2
[ 1243.373] ABI class: X.Org Video Driver, version 23.0
[ 1243.373] (EE) open /dev/fb0: Permission denied
[ 1243.373] (EE) No devices detected.
[ 1243.373] (EE)
Fatal server error:
[ 1243.374] (EE) no screens found(EE)
[ 1243.374] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1243.374] (EE) Please also check the log file at "/home/john/.local/share/xorg/Xorg.0.log" for additional information.
[ 1243.374] (EE)
[ 1243.464] (EE) Server terminated with error (1). Closing log file.


If we add our user to the video group:
sudo usermod -aG video john
log out and log back in.
This seems to resolve the two permission denied errors.

When comparing PyraOS & LeTux, I noticed we don't have identical files in /usr/share/X11/xorg.conf.d
PyraOS doesn't have 10-evdev.conf (which only has sections called "InputClass")
LeTux doesn't have the same 40-libinput.conf, and is completely missing 70-wacom.conf and 10-radeon.conf
There is a 10-amdgpu.conf, but they are identical
I copied 10-radeon.conf over from PyraOS, and it didn't appear to change anything.

With that done, this is the full log again:
[ 97.953]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 97.954] X Protocol Version 11, Revision 0
[ 97.954] Build Operating System: Linux 4.9.0-8-armmp-lpae armv7l Debian
[ 97.955] Current Operating System: Linux letux 5.4.282-letux-lpae+ #18786 SMP PREEMPT Wed Aug 21 09:22:23 CEST 2024 armv7l
[ 97.955] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=21364c9d-02 rw rootfstype=ext4 rootwait coherent_pool=1M fsck.repair=yes rootwait ignore_loglevel
[ 97.957] Build Date: 03 November 2018 05:53:43AM
[ 97.958] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support)
[ 97.958] Current version of pixman: 0.34.0
[ 97.959] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 97.959] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 97.981] (==) Log file: "/home/john/.local/share/xorg/Xorg.0.log", Time: Fri Aug 30 11:03:23 2024
[ 98.014] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 98.023] (==) No Layout section. Using the first Screen section.
[ 98.023] (==) No screen section available. Using defaults.
[ 98.023] (**) |-->Screen "Default Screen Section" (0)
[ 98.023] (**) | |-->Monitor "<default monitor>"
[ 98.024] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 98.024] (==) Automatically adding devices
[ 98.024] (==) Automatically enabling devices
[ 98.024] (==) Automatically adding GPU devices
[ 98.033] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 98.037] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 98.037] Entry deleted from font path.
[ 98.049] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 98.049] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 98.049] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 98.049] (II) Loader magic: 0x5d1f60
[ 98.049] (II) Module ABI versions:
[ 98.050] X.Org ANSI C Emulation: 0.4
[ 98.050] X.Org Video Driver: 23.0
[ 98.050] X.Org XInput driver : 24.1
[ 98.050] X.Org Server Extension : 10.0
[ 98.055] (++) using VT number 1

[ 98.057] (EE) systemd-logind: failed to get session: PID 3453 does not belong to any known session
[ 98.063] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 98.065] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 98.067] (II) xfree86: Adding drm device (/dev/dri/card2)
[ 98.084] (II) no primary bus or device found
[ 98.084] falling back to /sys/devices/platform/44000000.ocp/5600fe00.target-module/56000000.gpu/drm/card1
[ 98.084] (II) LoadModule: "glx"
[ 98.090] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 98.160] (II) Module glx: vendor="X.Org Foundation"
[ 98.160] compiled for 1.19.2, module version = 1.0.0
[ 98.160] ABI class: X.Org Server Extension, version 10.0
[ 98.160] (==) Matched modesetting as autoconfigured driver 0
[ 98.160] (==) Matched fbdev as autoconfigured driver 1
[ 98.160] (==) Assigned the driver to the xf86ConfigLayout
[ 98.161] (II) LoadModule: "modesetting"
[ 98.164] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 98.169] (II) Module modesetting: vendor="X.Org Foundation"
[ 98.169] compiled for 1.19.2, module version = 1.19.2
[ 98.169] Module class: X.Org Video Driver
[ 98.169] ABI class: X.Org Video Driver, version 23.0
[ 98.169] (II) LoadModule: "fbdev"
[ 98.170] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 98.172] (II) Module fbdev: vendor="X.Org Foundation"
[ 98.172] compiled for 1.19.0, module version = 0.4.4
[ 98.173] Module class: X.Org Video Driver
[ 98.173] ABI class: X.Org Video Driver, version 23.0
[ 98.173] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 98.173] (II) FBDEV: driver for framebuffer: fbdev
[ 98.183] (II) modeset(G0): using drv /dev/dri/card2
[ 98.184] (WW) Falling back to old probe method for fbdev
[ 98.184] (II) Loading sub module "fbdevhw"
[ 98.184] (II) LoadModule: "fbdevhw"
[ 98.184] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 98.191] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 98.191] compiled for 1.19.2, module version = 0.0.2
[ 98.192] ABI class: X.Org Video Driver, version 23.0
[ 98.193] (EE) No devices detected.
[ 98.193] (EE)
Fatal server error:
[ 98.193] (EE) no screens found(EE)
[ 98.193] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 98.194] (EE) Please also check the log file at "/home/john/.local/share/xorg/Xorg.0.log" for additional information.
[ 98.194] (EE)
[ 98.265] (EE) Server terminated with error (1). Closing log file.

As always, any suggestions are welcome!
 
I don't know, if PyraOS works but LetuxOS not, I'd keep comparing what's in /etc/X11 in bith (specially xorg.conf, xorg.conf.d) and your last log in LetuxOS with /var/log/Xorg.0.log or /var/log/lightdm/x-0.log or similar.
I find curious that your last log says
[ 98.084] falling back to /sys/devices/platform/44000000.ocp/5600fe00.target-module/56000000.gpu/drm/card1
[ 98.183] (II) modeset(G0): using drv /dev/dri/card2
 
Back
Top