You are not logged in.

#1 2013-05-29 09:04:01

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

[solved] LXDE does not start

I have installed lxde accoriding to the wiki (I was using xfce, which starts fine using the follwing configuration files, without the lines, marked by #new) and I have adopted the configuration files, but lxde does not start. I'm not using a login manager, x starts automatically.
~/.bash_profile

#
# ~/.bash_profile
#
#
export DESKTOP_SESSION=LXDE#new
[[ -f ~/.bashrc ]] && . ~/.bashrc
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx

~/.xinitrc

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
#startxfce4 #old
exec startlxde #new

~/.bashrc

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias ls='ls --color=auto'
alias reboot="sudo reboot"
alias poweroff="sudo poweroff"
alias halt="sudo halt"
alias skype='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype'
PS1='[\u@\h \W]\$ '

Last edited by mumpf (2013-06-05 20:06:42)

Offline

#2 2013-05-29 09:14:27

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] LXDE does not start

So, when you login, startx is not executed? Or does X start and immediately exit/crash? Do other parts of .bash_profile get executed, i.e., if you echo $DESKTOP_SESSION, does it say LXDE, do you see the results of .bash_rc (prompt, aliases)? Then check if XDG_VTNR is set, and DISPLAY.

(After your edit:) If you only changed the exec line, then I assume X still starts, but startlxde fails? So X immediately exits or something? Do you get any useful messages in the logs?

Last edited by Raynman (2013-05-29 09:16:36)

Offline

#3 2013-05-30 10:41:38

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

Re: [solved] LXDE does not start

it only says startlxde not found, no xorg error
grep -e WW -e EE /var/log/Xorg.0.log
[  1356.201] Current Operating System: Linux apfel 3.9.3-1-ck #1 SMP PREEMPT Mon May 20 00:08:16 EDT 2013 i686
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1356.207] Initializing built-in extension MIT-SCREEN-SAVER

Last edited by mumpf (2013-05-30 10:46:48)

Offline

#4 2013-05-30 16:17:44

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] LXDE does not start

But you have lxde-common installed? (which provides /usr/bin/startlxde) Maybe something is wrong with your $PATH; you could try using the full path to startlxde.

Offline

#5 2013-06-05 20:06:20

mumpf
Member
From: Switzerland
Registered: 2006-09-05
Posts: 95

Re: [solved] LXDE does not start

I had installed lxde-common, but something has been missing; therefore now I have installed the package lxde, now lxde starts fine, thank you for your hint

Offline

Board footer

Powered by FluxBB