staging.inyokaproject.org

ubuntu server auf PI5 und xfce

Status: Gelöst | Ubuntu-Version: Server 24.04 (Noble Numbat)
Antworten |

achtzoll

Avatar von achtzoll

Anmeldungsdatum:
29. November 2010

Beiträge: Zähle...

Moin zusammen,

ich habe mir einen Raspberri PI5 gekauft und mit dem originalem OS in betrieb genommen, Gambas installiert und diverse Probleme mit Gambas gehabt.

Nach x Versuchen bin ich auf die Lösung Server und Minimalinstallation gekommen. Server installiert und nach einer Anleitung, die hat schon mal funktioniert, dann xfce installiert

sudo apt-get install lightdm 
sudo apt-get install xserver-xorg xfce4 xfce4-goodies
sudo systemctl get-default
sudo systemctl set-default graphical.target
sudo dpkg-reconfigure lightdm
sudo update-alternatives --config x-session-manager # /usr/bin/startxfce4   
sudo update-alternatives --config x-window-manager
sudo dpkg-reconfigure locales
sudo dpkg-reconfigure tzdata
sudo dpkg-reconfigure keyboard-configuration

leider startet xfce nicht. Fehlersuche:

hostnamectl
 Static hostname: server
       Icon name: computer
      Machine ID: 8790b4ad249d4d41b6397ee94e6d75d5
         Boot ID: 586d9e7ff61e4a3c8c6562d00dff8e72
Operating System: Ubuntu 24.04.1 LTS              
          Kernel: Linux 6.8.0-1016-raspi
    Architecture: arm64

und

systemctl status lightdm.service
× lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; indirect; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-12-16 05:37:06 CET; 9min ago
   Duration: 290ms
       Docs: man:lightdm(1)
    Process: 1183 ExecStartPre=/bin/sh -c [ "$(basename $(cat /etc/X11/default-display-manager 2>/dev/null))" = "lightdm" ] (code=exited, status=0/SUCCESS)
    Process: 1187 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1187 (code=exited, status=1/FAILURE)
        CPU: 46ms

Dez 16 05:37:06 server systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Dez 16 05:37:06 server systemd[1]: lightdm.service: Start request repeated too quickly.
Dez 16 05:37:06 server systemd[1]: lightdm.service: Failed with result 'exit-code'.
Dez 16 05:37:06 server systemd[1]: Failed to start lightdm.service - Light Display Manager.

die beiden Zeilen

Process: 1187 ExecStart=/usr/sbin/lightdm (code=exited, status=1/FAILURE)
Dez 16 05:37:06 server systemd[1]: Failed to start lightdm.service - Light Display Manager.

sind rot markiert.

leider finde ich dazu nix.

der log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1187
[+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-guest.conf
[+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 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: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 1193: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.30s] DEBUG: Process 1193 terminated with signal 6
[+0.30s] DEBUG: XServer 0: X server stopped
[+0.30s] DEBUG: Releasing VT 7
[+0.30s] DEBUG: XServer 0: Removing X server authority /var/run/lightdm/root/:0
[+0.30s] DEBUG: Seat seat0: Display server stopped
[+0.30s] DEBUG: Seat seat0: Stopping session
[+0.30s] DEBUG: Seat seat0: Session stopped
[+0.30s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.30s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.30s] DEBUG: Seat seat0: Stopping
[+0.30s] DEBUG: Seat seat0: Stopped
[+0.30s] DEBUG: Required seat has stopped
[+0.30s] DEBUG: Stopping display manager
[+0.30s] DEBUG: Display manager stopped
[+0.30s] DEBUG: Stopping daemon
[+0.30s] DEBUG: Exiting with return value 1

x server stopped?

und Xorg

[    25.288]
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[    25.288] Current Operating System: Linux server 6.8.0-1016-raspi #18-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 22 11:55:16 UTC 2024 aarch64
[    25.288] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95>
[    25.288] xorg-server 2:21.1.12-1ubuntu1.1 (For technical support please see http://www.ubuntu.com/support)
[    25.288] Current version of pixman: 0.42.2
[    25.288]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    25.288] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    25.288] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 16 05:37:06 2024
[    25.288] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    25.289] (==) No Layout section.  Using the first Screen section.
[    25.289] (==) No screen section available. Using defaults.
[    25.289] (**) |-->Screen "Default Screen Section" (0)
[    25.289] (**) |   |-->Monitor "<default monitor>"
[    25.289] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    25.289] (**) Allowing byte-swapped clients
[    25.289] (==) Automatically adding devices
[    25.289] (==) Automatically enabling devices
[    25.289] (==) Automatically adding GPU devices
[    25.289] (==) Automatically binding GPU devices
[    25.289] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    25.289] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    25.289]    Entry deleted from font path.
[    25.289] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    25.289]    Entry deleted from font path.
[    25.289] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    25.289]    Entry deleted from font path.
[    25.289] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    25.289]    Entry deleted from font path.
[    25.289] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    25.289]    Entry deleted from font path.
[    25.289] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[    25.289] (==) ModulePath set to "/usr/lib/xorg/modules"
[    25.289] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    25.289] (II) Loader magic: 0xaaaad2950010
[    25.289] (II) Module ABI versions:
[    25.289]    X.Org ANSI C Emulation: 0.4
[    25.289]    X.Org Video Driver: 25.2
[    25.289]    X.Org XInput driver : 24.4
[    25.289]    X.Org Server Extension : 10.0
[    25.290] (++) using VT number 7
[    25.290] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    25.291] (II) xfree86: Adding drm device (/dev/dri/card0)
[    25.291] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[    25.291] (II) xfree86: Adding drm device (/dev/dri/card1)
[    25.291] (II) Platform probe for /sys/devices/platform/axi/axi:gpu/drm/card1
[    25.299] (II) no primary bus or device found
[    25.299]    falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[    25.300] (II) LoadModule: "glx"
[    25.300] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    25.301] (II) Module glx: vendor="X.Org Foundation"
[    25.301]    compiled for 1.21.1.11, module version = 1.0.0
[    25.301]    ABI class: X.Org Server Extension, version 10.0
[    25.301] (==) Matched modesetting as autoconfigured driver 0
[    25.301] (==) Matched fbdev as autoconfigured driver 1
[    25.301] (==) Assigned the driver to the xf86ConfigLayout
[    25.301] (II) LoadModule: "modesetting"
[    25.301] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    25.301] (II) Module modesetting: vendor="X.Org Foundation"
[    25.301]    compiled for 1.21.1.11, module version = 1.21.1
[    25.301]    Module class: X.Org Video Driver
[    25.301]    ABI class: X.Org Video Driver, version 25.2
[    25.301] (II) LoadModule: "fbdev"
[    25.301] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    25.301] (II) Module fbdev: vendor="X.Org Foundation"
[    25.301]    compiled for 1.21.1.11, module version = 0.5.0
[    25.301]    Module class: X.Org Video Driver
[    25.301]    ABI class: X.Org Video Driver, version 25.2
[    25.301] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    25.301] (II) FBDEV: driver for framebuffer: fbdev
[    25.301] (WW) Falling back to old probe method for modesetting
[    25.301] (WW) Falling back to old probe method for fbdev
[    25.301] (II) Loading sub module "fbdevhw"
[    25.301] (II) LoadModule: "fbdevhw"
[    25.302] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    25.302] (II) Module fbdevhw: vendor="X.Org Foundation"
[    25.302]    compiled for 1.21.1.11, module version = 0.0.2
[    25.302]    ABI class: X.Org Video Driver, version 25.2
[    25.302] (II) FBDEV(0): using default device
[    25.316] (II) modeset(G0): using drv /dev/dri/card1
[    25.316] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    25.316] (EE)
Fatal server error:
[    25.316] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[    25.316] (EE)
[    25.316] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    25.316] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    25.316] (EE)
[    25.368] (EE) Server terminated with error (1). Closing log file.
[    25.316] (EE)
[    25.368] (EE) Server terminated with error (1). Closing log file.

DANKE für jede Hilfe

achtzoll

andrej29

Anmeldungsdatum:
16. August 2021

Beiträge: Zähle...

Hi,

warum nicht gleich eine Desktop-Installation (arm64)?

Grüße

micneu

Avatar von micneu

Anmeldungsdatum:
19. Januar 2021

Beiträge: 845

Wozu eine UI auf einem Server, du kannst doch alles mit SSH machen?

achtzoll

(Themenstarter)
Avatar von achtzoll

Anmeldungsdatum:
29. November 2010

Beiträge: Zähle...

... Raspberri PI5 gekauft und mit dem originalem OS in betrieb genommen, Gambas installiert und diverse Probleme mit Gambas gehabt

Genau die Diskussion wollte vermeiden

Ein Pi ist ein ein Platinenrechner: geringe Leistung

Ein Pi ist ein ein Platinenrechner: Bedingter Platz

Gambas: UI

AchtZoll

Ruth-Wies

Avatar von Ruth-Wies

Anmeldungsdatum:
12. April 2023

Beiträge: 450

OT

achtzoll schrieb:

Genau die Diskussion wollte vermeiden

Du kennst das Spiel doch mittlerweile. Wenn du zu Vorgeschichte und Ziel keine Angaben machst, landest es genau in dieser Schublade. 😛


achtzoll schrieb:

[+0.30s] DEBUG: Seat seat0: Stopping display server, no sessions require it

Ist da keine Session unter /usr/share/xsessions/ ?

Falls leer:

Nur am Rande: Bei dir wurde der unity-greeter installiert, was nicht hinderlich ist, aber für Xfce ungewöhnlich.

achtzoll

(Themenstarter)
Avatar von achtzoll

Anmeldungsdatum:
29. November 2010

Beiträge: 413

Morgen,

im Verzeichnis

/usr/share/xsessions/

befindet sich die Datei

xfce.desktop

Der Inhalt

...
Desktop Entry]
Version=1.0
Name=Xfce Session
...
Name[da]=Xfce-session
Name[de]=Xfce-Sitzung
Name[el]=Συνεδρία Xfce
...
Comment[cs]=Použít tuto relaci ke spuštění Xfce jako vašeho pracovního prostředí
Comment[da]=Brug denne session til at køre Xfce som dit skrivebordsmiljø
Comment[de]=Diese Sitzung auswählen, um Xfce als Ihre Arbeitsumgebung zu starten
Comment[el]=Χρήση αυτής της συνεδρίας για την επιλογή του Xfce ως περιβάλλον εργασίας
Comment[en_AU]=Use this session to run Xfce as your desktop environment
...
Comment[zh_TW]=使用這個工作階段來執行 Xfce 作為您的桌面環境
Exec=startxfce4
Icon=
Type=Application
DesktopNames=XFCE

sind nur die Einstellung für die Umgebung.

Noch eine Idee?

Ruth-Wies

Avatar von Ruth-Wies

Anmeldungsdatum:
12. April 2023

Beiträge: 450

[+0.30s] DEBUG: Process 1193 terminated with signal 6

An der Stelle müsste eigentlich stehen:

[+0.30s] DEBUG: Got signal 10 from process 1193
[+0.30s] DEBUG: XServer 0: Got signal from X server :0
[+0.30s] DEBUG: XServer 0: Connecting to XServer :0
…

Also lightdm erst mal unschuldig, d. h. X-Server läuft nicht:

…
[    25.316] (EE)
Fatal server error:
[    25.316] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
…

Da bin ich weder im Thema, noch kann ich das in einer VM durchspielen. ☹

achtzoll

(Themenstarter)
Avatar von achtzoll

Anmeldungsdatum:
29. November 2010

Beiträge: 413

Danke,

ich fange noch einmal von vorne an und teste tasktsel.

Mal sehen was dabei rum kommt.

AchtZoll

Antworten |