Hi, this is the first time I have installed ArchLabs and after reboot, it seems to load ok but only boots to command prompt…
Arch Linux 4.19.56-1-lts (tty1) Archlabs login:
I did choose Xfce as a desktop during the installation so I was surprised to not see the desktop.
I have used linux for a couple of years and have tried Mint, Debian, Manjaro and Antergos. So I have a little experience but not sure where to go from here.
[quote=“PackRat, post:2, topic:3371, full:true”]
Can you log in? [/quote]
**Yes**
[quote=]
Did you try and install a display manager like lightdm? ArchLabs does not install a display manager by default.[/quote]
I didn't notice that during the install steps, can I just enter...
**$ sudo pacman -Syyu lightdm**
Is there any config? I saw this url...
https://www.addictivetips.com/ubuntu-linux-tips/set-up-lightdm-on-arch-linux/
Do I need to follow all the steps on "addictivetips" link?
I tried but got message...
**-bash: startx: command not found**
I tried "sudo startx" but got message...
**sudo: startx: command not found**
I tried "nano ~/.xinitrc" but got message...
**-bash: nano: command not found**
I’m not too good in terminal as you can see. Any clue where I made the mistake?
It can vary depending how (which) .xinitrc got installed, post the entire contents.
or if you want, you can use pacman to install lightdm and go with the default setup. I’m assuming there is a /usr/share/xsessions/xfce4.desktop file to work with lightdm.
Looks like startx didn’t get installed. I think that gets installed as part of xinit if you want to use pacman to install that as well.
Hi PackRat, thanks for your reply, I entered the following…
$ sudo pacman -Syy
$ sudo pacman -S lightdm # looks like it installed OK
$ sudo pacman -S xinit # message… “error: target not found: xinit” so checked google…
$ sudo pacman -S xorg-xinit # did you mean this package? looks like it installed OK…
# landed at the command prompt, then message says…
# “[ OK ] Started Daily man-db regeneration”
# …with blinking cursor on next line
$ sudo shutdown -r now
still boots to tt1
login
$ startx
xauth: file /home/hugh/.Xauthority does not exist
xauth: file /home/hugh/.Xauthority does not exist
… new post from ector …
hi, try this command on tt1
cp /etc/X11/xinit/xinitrc ~/.xinitrc
add this in .xintrc :
exec startxfce4
and reboot
… end post from ector …
so i entered the following commands…
$ sudo cp /etc/X11/xinit/xinitrc ~/.xinitrc
$ sudo nano ~/.xinitrc # added this “exec startxfce4” to end of file
FYI: also noticed my keyboard should be UK GB ,but it’s something different even though I did select the correct keyboard during the installation, so not sure what went wrong.
I don’t think you have xfce4 installed.
you have also created your non-root user, because ligthdm is useless if you have not created your non-root user.
in fact it asks you for username and password
# I entered to select all
# reboot and login on tty1
$ startxfce4
# Xfce desktop opens, select "use default panel"
# I had to add WaveLan item to the application panel to see status of the wireless network. which connected automatically, so password entered during installation was remembered.
# when I reboot again I still need to login via (tty1) then enter ...
$ startxfce4
… to start the desktop
I’m not sure how I can automate the desktop to come up at boot. any ideas?
^ Never update the package database then attempt to install a package without also upgrading the entire system, it is possible to break Arch-based machines doing this.