Page 1 of 1

GUI - Raspberry PI 2 - ArchLinux

Posted: Fri Apr 17, 2015 10:41 pm
by dgaub
Hi,

Not a newbie. Have used Linux (Fedora, Ubuntu, Debian, etc.) for more than a decade, but I am new to Arch Linux.

I successfully installed Arch on an SD card using these directions:

http://archlinuxarm.org/platforms/armv7 ... berry-pi-2

Then, I tweaked my installation with these guidelines (written for the earlier Raspberry):

http://qdosmsq.dunbar-it.co.uk/blog/201 ... pberry-pi/

All is well except the GUI. I've checked the ArchLinux Wiki and other resources, Cannot get a response with the "startex" command; prompt says, "command not found." Tried to install xorg-init ("sudo pacman -Sy xorg-init"). Message comes back that core, extra, community, alarm, and aut are up to date, but "target not found: xorg-init."

What am I missing?

Thanks.

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 12:48 am
by RobHenry
dgaub wrote:Cannot get a response with the "startex" command; prompt says, "command not found."
Is that a typo or are you really typing startex instead of startx?

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 3:18 am
by dgaub
Yes, a typo. Should be "startx."

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 5:10 am
by fruitoftheloom
Arch Linux Arm by default is a Command Line Distribution, a Desktop Environment needs to be installed ;)

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 7:43 am
by RobHenry
You must be missing one of the plethora of x* packages required. I think xorg-xinit contains startx - have you got that?
Edit: command you quote above is incorrect, it should be:

Code: Select all

sudo pacman -S xorg-xinit
The -y option updates the master package list, similar to update option with apt-get

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 11:09 am
by eriktheitalian
My advice is xfce (4.12) with lightdm.
U can search for true package names from here:
http://archlinuxarm.org/packages
I'm not remember all steps. But i can write some about them

#U need add user with this. Add user with your selected username(change "username" include), select password.
useradd -m -g users -G stroage,power,wheel -s /bin/bash "username"

# u need use "pacman -S " with list ( sample pacman -S xfce4 )

xfce4
xfce4-goodies
xf86-video-fbturbo-git
lightdm
lightdm-gtk-greeter
xorg-server
xorg-server-utils
xorg-xinit
xorg-twm xorg-xclock xterm

# May be i'm not totaly true for this list. There is can be mistake.

# After reboot u can select xfce from lighdm login menu.

# If u need need sudo command for terminal ( Write for login: root, for password: root, after su command )
su
sudo leafpad /etc/sudoers
# Add/change there. Use your login name for yourusername

root ALL=(ALL) ALL
yourusername ALL=(ALL) ALL
Defaults:yourusername !authenticate

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Sat Apr 18, 2015 11:40 am
by dgaub
Thanks. I'll try those steps.

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Mon Apr 20, 2015 9:53 am
by pickfire
The base package are important too.

Code: Select all

pacman -S base base-devel
If you want to you omxplayer:

Code: Select all

pacman -S omxplayer-git
To find packages in the alarm repositories:

Code: Select all

pacman -Sl alarm

Re: GUI - Raspberry PI 2 - ArchLinux

Posted: Thu Jun 28, 2018 7:56 pm
by dorbach
How do you install the desktop interface?