Subject: [alpine-user] Cannot login to xfce4

From: Roland Senn <[email-masked]>
Date: Fri, 23 Oct 2015 17:23:50 +0200

I installed Alpine linux from the alpine-3.2.3-x86_64.iso disk on a
virtual machine under qemu.

I configured the machine with virt-manager. I had the following options
for the virtual display hardware: Cirrus, VGA, VMVGA, Xen and QLX. I
selected QLX, because I found and installed the xf86-video-qxl driver
package.

I installed Xorg and Xfce4 according to:
http://wiki.alpinelinux.org/wiki/XFCE_Setup . I added a new file
~/.xinitrc with a single line "exec startxfce4".

When I start the graphical desktop with 'rc-service lxdm start' I get
the nice login screen of xfce4. I can enter my user name and my
password, but it just shows the login screen again. I don't see any
error message. Same behaviour, if I try to login with root. 

I looked at the /var/log/lxdm.log file (attached to this message),
googled some of the error messages, but didn't find anything usable.

What do I have to change or add to be able to login?

Many thanks
   Roland

---

From: Natanael Copa <[email-masked]>
Date: Fri, 23 Oct 2015 18:19:19 +0200

Hi,

On Fri, 23 Oct 2015 17:23:50 +0200

> selected QLX, because I found and installed the xf86-video-qxl driver

Ok, this should be easy to reproduce, and I want this to work
out-of-the box from qemu. I want fix this.

> googled some of the error messages, but didn't find anything usable.

...

> ** Message: create ConsoleKit session fail

Can you please check that consolekit is installed?

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Roland Senn <[email-masked]>
Date: Fri, 23 Oct 2015 22:18:52 +0200

Yes, consolekit was and is installed!

Roland

---

---

From: Roland Senn <[email-masked]>
Date: Sat, 24 Oct 2015 08:34:30 +0200

I will reinstall the virtual machine today later in the evening. The
first time I did some customization like installing bash, sudo, git,
make etc and creating a sudo user. Most probably I installed the
X-System with the sudo user. 
Next time, I will immediately install X-System directly after the base
system as a root user..

So wait with any further investigations until I have reinstalled.

Thanks for your help!
   Roland

---

---

From: Roland Senn <[email-masked]>
Date: Sat, 24 Oct 2015 22:26:07 +0200

Good news! My Alpine linux is now working!!

The main problem was the little drop down control "Desktop" at the
bottom of the login screen:

When I click at the little triangle to open the drop down box, nothing
happens! However, when I click into the text "default option", it shows
2 selections (default and xfce4). When I choose xfce4 and then login,
everything works perfectly.

Many thanks for your support!

Regards
   Roland

---