On 04/24/2015 02:47 AM, Petter Adsen wrote:
On Thu, 23 Apr 2015 19:00:31 -0400 James <bjlockie@lockie.ca> wrote:On 04/22/2015 10:42 PM, James wrote:On 04/21/2015 11:46 PM, Gary Dale wrote:On 21/04/15 08:21 PM, James wrote:I installed lxde as a gui desktop but I can't get it to run automatically. I need to login as me and then do sudo kdm (sudo lxdm doesn't work).It sounds like kdm isn't starting automatically, so you probably don't have any gui starting (is this correct?).Correct.You probably have kdm or lxdm installed but not both, which is why only one starts. Lxdm is not a Debian package so if you are running Debian, that would explain it.I am running Debian Jessie and I have lxde 8. I think I just installed the lxde package. https://wiki.debian.org/LXDE#LXDE_in_DebianThe easiest way to fix the problem may be to: sudo apt-get purge kdm sudo apt-get install kdm This should fix any corruption that may have occurred and should set up kdm to run on startup. If you prefer lxdm, simply change the install line to lxdm (assuming that you are running Ubuntu).sudo apt-get install lxde Reading package lists... Done Building dependency tree Reading state information... Done lxde is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.I purged kdm and still no GUI starts, I had to use startx.What happens when you do "sudo systemctl restart lightdm.service"? And what's in /var/log/lightdm/lightdm.log? Petter
sudo systemctl restart lightdm.service Nothing happens. There are no entries in /var/log/lightdm/lightdm.log sudo systemctl status lightdm.service says: lightdm.service - Light Display Manager Loaded: loaded (/lib/systemd/system/lightdm.service; enabled)Active: failed (Result: start-limit) since Fri 2015-04-24 19:08:31 EDT; 1min 57s ago
Docs: man:lightdm(1)Process: 1510 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] (code=exited, status=1/FAILURE)
Apr 24 19:08:31 cheetah systemd[1]: Failed to start Light Display Manager.Apr 24 19:08:31 cheetah systemd[1]: Unit lightdm.service entered failed state. Apr 24 19:08:31 cheetah systemd[1]: lightdm.service start request repeated too quickly, refusing to start.
Apr 24 19:08:31 cheetah systemd[1]: Failed to start Light Display Manager.Apr 24 19:08:31 cheetah systemd[1]: Unit lightdm.service entered failed state.\