WCHD
Posts: 16
Joined: Sun Dec 16, 2018 5:32 pm

Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 4:33 am

I was casually setting up 4 systems from PINN (a RPi tool), on my RPi 3 Model B
Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
I was messing with this for about 5 hours today, into the night. I cannot attach the log file, since I am new to Arch Linux (I am used to Debian, however)
Help?

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 8:41 am

WCHD wrote:
Sun Jan 19, 2020 4:33 am
I was casually setting up 4 systems from PINN (a RPi tool), on my RPi 3 Model B
Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
I was messing with this for about 5 hours today, into the night. I cannot attach the log file, since I am new to Arch Linux (I am used to Debian, however)
Help?

ArchLinuxArm is a command line Linux Operating System, by default it has no desktop environment.

Therefore your choices are to install a desktop environment or use Manjaro Linux.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

geev03
Posts: 172
Joined: Thu Jun 07, 2012 12:40 pm
Location: London, UK

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 10:54 am

fruitoftheloom wrote:
Sun Jan 19, 2020 8:41 am
WCHD wrote:
Sun Jan 19, 2020 4:33 am
I was casually setting up 4 systems from PINN (a RPi tool), on my RPi 3 Model B
.......
Help?

... install a desktop environment or use Manjaro Linux.
Manjaro Linux is more useful on a 4GB RAM rPi4
Attachments
Screenshot_2020-01-19_10-39-39.png
Screenshot_2020-01-19_10-39-39.png (66.76 KiB) Viewed 1344 times

User avatar
jojopi
Posts: 3233
Joined: Tue Oct 11, 2011 8:38 pm

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 11:04 am

WCHD wrote:
Sun Jan 19, 2020 4:33 am
Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
Is it possible you simply ran out of disk space?

Otherwise, you are going to have to pay more attention to the error messages, and probably also check the Xorg log. I do not know if that would be /var/log/Xorg.0.log, or ~/.local/share/xorg/Xorg.0.log, or something else in Arch.

GlowInTheDark
Posts: 594
Joined: Sat Nov 09, 2019 12:14 pm

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 12:12 pm

Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
Also, you need to identify if this was working and then stopped working vs. it never working at all.

Other posters have suggested the possibility that X was never installed on the system at all, which is consistent with a barebones Arch Linux Arm install. But in that case, typing "startx" would return a "Command not found" type error. That is not what has been reported in this thread.

Anyway, as noted, if it is in the "was working but stopped working" category, then, yes, running out of disk space seems to be the #1 cause.
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 1:21 pm

GlowInTheDark wrote:
Sun Jan 19, 2020 12:12 pm
Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
Also, you need to identify if this was working and then stopped working vs. it never working at all.

Other posters have suggested the possibility that X was never installed on the system at all, which is consistent with a barebones Arch Linux Arm install. But in that case, typing "startx" would return a "Command not found" type error. That is not what has been reported in this thread.

Anyway, as noted, if it is in the "was working but stopped working" category, then, yes, running out of disk space seems to be the #1 cause.

The xinit program allows a user to manually start an Xorg display server

https://wiki.archlinux.org/index.php/Xinit
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

WCHD
Posts: 16
Joined: Sun Dec 16, 2018 5:32 pm

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 11:30 pm

I know about it being command-line, I saw people get desktop on it, and Manjaro is not of my preference.
I was installing Cinnamon dwm, is that the problem? Does Cinnamon not work on RPi?

WCHD
Posts: 16
Joined: Sun Dec 16, 2018 5:32 pm

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 11:31 pm

geev03 wrote:
Sun Jan 19, 2020 10:54 am
fruitoftheloom wrote:
Sun Jan 19, 2020 8:41 am
WCHD wrote:
Sun Jan 19, 2020 4:33 am
I was casually setting up 4 systems from PINN (a RPi tool), on my RPi 3 Model B
.......
Help?

... install a desktop environment or use Manjaro Linux.
Manjaro Linux is more useful on a 4GB RAM rPi4

I clearly said RPi 3 model B.

WCHD
Posts: 16
Joined: Sun Dec 16, 2018 5:32 pm

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 11:32 pm

jojopi wrote:
Sun Jan 19, 2020 11:04 am
WCHD wrote:
Sun Jan 19, 2020 4:33 am
Suddenly, while I was almost finished setting Arch Linux ARM (arch2 port for RPi), "startx" returned error (1) with more actions from Xinit. I remember a line that said "Connection Refused".
Is it possible you simply ran out of disk space?

Otherwise, you are going to have to pay more attention to the error messages, and probably also check the Xorg log. I do not know if that would be /var/log/Xorg.0.log, or ~/.local/share/xorg/Xorg.0.log, or something else in Arch.
Can't attach xorg log, new to arch, sorry. I do know, however, that error (1) occurred. It said "screen not found", I was using a Samsung TV as my monitor. Am I not understanding something about ee1?

cjan
Posts: 828
Joined: Sun May 06, 2012 12:00 am

Re: Arch Linux ARM "startx" failing to work

Sun Jan 19, 2020 11:56 pm

did you try any display manager?

Return to “Arch”