Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

How to install X on Arch?

Sat Jan 14, 2017 4:38 pm

Noted that startx is not included in the base install. What package(s) do I need to install?

Did: pacman -S xorg
which installed a lot of stuff, but still no "startx" or "xinit". Help!
If this post appears in the wrong forums category, my apologies.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: How to install X on Arch?

Sat Jan 14, 2017 4:45 pm

As with Arch on desktop you need to install a desktop environment.
sudo pacman - S lxde

I suggest you read through the wiki.
There are 10 types of people: those who understand binary and those who don't.

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: How to install X on Arch?

Sat Jan 14, 2017 7:29 pm

kusti8 wrote:As with Arch on desktop you need to install a desktop environment.
sudo pacman - S lxde
I did that - it installed 16 boatloads of stuff - most of which I didn't want - but still no 'startx' or 'xinit'.

BTW, if I wanted a full-blown "desktop environment', I'd stick with Raspbian. I assume the reason Arch doesn't come with a working X system is precisely because the intent is that you shouldn't really be running X on a system like Arch in the first place. All I want is a simple X - with something like openbox or twm.
If this post appears in the wrong forums category, my apologies.

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

Re: How to install X on Arch?

Sat Jan 14, 2017 7:49 pm

Martin Frezman wrote:
kusti8 wrote:As with Arch on desktop you need to install a desktop environment.
sudo pacman - S lxde
I did that - it installed 16 boatloads of stuff - most of which I didn't want - but still no 'startx' or 'xinit'.

BTW, if I wanted a full-blown "desktop environment', I'd stick with Raspbian. I assume the reason Arch doesn't come with a working X system is precisely because the intent is that you shouldn't really be running X on a system like Arch in the first place. All I want is a simple X - with something like openbox or twm.
https://wiki.archlinux.org/index.php/LXDE
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: How to install X on Arch?

Sat Jan 14, 2017 8:13 pm

But what package do I install to get 'startx' command?
If this post appears in the wrong forums category, my apologies.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: How to install X on Arch?

Sat Jan 14, 2017 9:28 pm

Probably xorg-xinit
Guide here http://wiki.solid-run.com/doku.php?id=p ... :archlinux but you don't have to create user now

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: How to install X on Arch?

Sat Jan 14, 2017 9:34 pm

pepedog wrote:Probably xorg-xinit
Thanks - that worked. Now, I can run 'startx'.

But get error about "No screens found". Looks like I'm going to have to hack the X config file. Haven't had to do that for at least a decade now, but it should bring back memories...
If this post appears in the wrong forums category, my apologies.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: How to install X on Arch?

Sat Jan 14, 2017 10:51 pm

Probably xf86-video-fbdev needed

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: How to install X on Arch?

Sat Jan 14, 2017 11:19 pm

pepedog wrote:Probably xf86-video-fbdev needed
Heh. It's just one thing after another.

(Emily Litella)
If this post appears in the wrong forums category, my apologies.

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: How to install X on Arch?

Sun Jan 15, 2017 12:05 am

pepedog wrote:Probably xf86-video-fbdev needed
Thanks. That did it. That, and installing 'twm'. Up and running at last!
If this post appears in the wrong forums category, my apologies.

Return to “Arch”