You are not logged in.

#1 2025-06-14 18:18:26

Scooby10
Member
Registered: 2012-09-21
Posts: 5

Xorg won't start + no log file

Hello everyone,

FYI - This is for an ARMv7 device. I am unable to get a login for the Arch Linux ARM forum and my email for help has gone unanswered, so I am trying here instead.

I have been struggling with this setup and could really benefit from some expert advice. My most immediate goal is get a minimal install of Xorg running, with components of Xfce4 and the Awesome WM, on my BeagleBone Black. Afterwards, I was going to make it headless, so I can remote in from a (shudder) Windows machine.

No matter what I try, launching startx will immediately fail with no indication why. I couldn’t even find a generated Xorg log file. Xorg-server is definitely not liking something. This is all I get back, with no log file. So not much to go on.


(EE)
(EE) Backtrace:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Below is the process I used for my current setup. Initially I had installed the entire Xfce4 group package, as well as LightDM. Before I had completed that setup, I decided to uninstall those in favour of the following. Hopefully that has not messed something up. More likely I am just missing a key component or configuration step.

    Install Arch Linux ARM to micro-SD & boot off of the card
    Follow Install ArchLinux on BeagleBone Black (Updated)
    sudo pacman -S xorg-server xorg-xinit xorg-xrandr xfdesktop exo garcon thunar thunar-volman tumbler xfce4-panel xfce4-power-manager xfce4-session xfce4-settings awesome rofi st
    cp /etc/X11/xinit/xinitrc ~/.xinitrc
    added exec awesome to the bottom of it
    added -nolisten local to the `xserverrc
    Followed this from the Xfce4 setup page from Arch Linux’s superb wiki site, to set awesome as my default WM

$ xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t string -sa xfsettingsd
$ xfconf-query -c xfce4-session -p /sessions/Failsafe/Client1_Command -t string -sa awesome

    Discovered I was missing this key piece:
        sudo pacman -Sy xf86-video-fbdev
        Setup a minimal /etc/X11/xorg.conf

#/etc/X11/xorg.conf
Section "Monitor"
        Identifier      "Builtin Default Monitor"
EndSection
Section "Device"
        Identifier      "Builtin Default fbdev Device 0"
        Driver          "fbdev"
EndSection
Section "Screen"
        Identifier      "Builtin Default fbdev Screen 0"
        Device          "Builtin Default fbdev Device 0"
        Monitor         "Builtin Default Monitor"
EndSection
Section "ServerLayout"
        Identifier      "Builtin Default Layout"
        Screen          "Builtin Default fbdev Screen 0"
EndSection

Oh I just recalled. The first time I ran startx, it complained about a missing .Xauthority, but then it created an empty file and I never saw the message again.

That is as far as I have made it thus far. Launching startx from the local console results in immediate failure. Hoping someone can point me in the right direction.

Eventually I would like for this to run headless, but right now I would settle for running.

Offline

#2 2025-06-14 19:38:23

xerxes_
Member
Registered: 2018-04-29
Posts: 919

Re: Xorg won't start + no log file

Post contents of .xinitrc file from yout home directory.

Xorg logs may be in 2 places:
- your home directory: .local/share/xorg/
- system logs directory: /var/log/

Offline

Board footer

Powered by FluxBB