You are not logged in.

#1 2010-12-20 00:53:03

steeve
Member
Registered: 2010-12-17
Posts: 10

can't elegantly logout of lxde

just set up lxde on a new arch install

i start it with xinit /usr/bin/lxsession

all good except when i logout, i get dropped into some dark unknown place with a blinking cursor...

if i type commands (like reboot) the system does act on them, but i don't see anything...

unless i hold down the enter key, then i see lines of text rushing past

any ideas?

Last edited by steeve (2010-12-20 00:53:35)

Offline

#2 2010-12-20 01:16:59

defears
Member
Registered: 2010-07-26
Posts: 218

Re: can't elegantly logout of lxde

In the wiki it says to have hal and dbus running in your daemon's array and make sure you're part of the power group. Also your xinitrc should have

exec ck-launch-session startlxde

Offline

#3 2010-12-20 01:57:00

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

thanks for that
hal and dbus are in place and i am part of power group

i have no ~/.xinitrc but i have a /etc/X11/xinit/.xinitrc

put that line into that file but then startlxde doesn't work....

Offline

#4 2010-12-20 05:30:29

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: can't elegantly logout of lxde

You have to create ~/.xinitrc

Offline

#5 2010-12-21 05:00:14

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

ok, i've created a minimal ~/.xinitrc

 #!/bin/sh
exec ck-launch-session startlxde

and read enough stuff to get me confused. i can start lxde with "startx", but logging out is still the same

is the purpose of ~/.xinitrc to start X automatically with my own DE (or DEs)?

if so, what process calls .xinitrc?

Offline

#6 2010-12-21 05:08:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: can't elegantly logout of lxde


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-12-24 04:53:53

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

thanks, ok i think i have a reasonable understanding of xinitrc. but now i don't think that is where the problem lies. whether i logout or reboot or shutdown from lxde or enlightenment, or even just kill X from within the DE, i don't get back to a nice well behaved shell - still the same behavior as described in the first post. maybe the problem lies in the configuration of X - will explore further ...

Offline

#8 2010-12-26 13:07:06

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: can't elegantly logout of lxde

the black screen after stopping x could be caused by an incorrect resolution set with  'vga=...'  in /boot/grub/menu.lst that is tripping up a proprietary graphics driver. Try without the 'vga=..' part and add 'nomodeset'. If that works try adding a correct vga line as described here https://wiki.archlinux.org/index.php/GR … resolution

Your question is not very clear btw. What do you want to achieve after stopping x : getting back to the terminal, or actually logging out and getting back to the login screen? those things can be configured in /etc/inittab

Last edited by rwd (2010-12-26 13:41:25)

Offline

#9 2010-12-26 15:16:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: can't elegantly logout of lxde

https://wiki.archlinux.org/index.php/LX … _from_LXDE

Think you need to read wiki guide on lxde


Mr Green

Offline

#10 2011-01-07 19:24:26

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

thanks rwd. i will look into the resolution issue. my objective at this stage is to get back to the terminal. i somehow thought that if i start X and a DE from the terminal, then when i stop X, i should end up back at the terminal...

thanks mr green, will do

Offline

#11 2011-01-07 20:07:49

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

yep, that fixes the problem! with nomodeset, i can logout back to terminal

Last edited by steeve (2011-01-08 06:58:18)

Offline

#12 2011-01-07 20:09:06

jocom
Member
Registered: 2009-04-29
Posts: 74

Re: can't elegantly logout of lxde

So what happens if you press Ctrl+Alt+F1, when you are in this dark unknown place?
For I guess you are dropped into tty7, where the graphical sessions normally spawn. Try for example Ctrl+Alt+F7 when you have not yet started X, or Ctrl+Alt+F8 when you have started X.

But maybe I did not understand you're post very well. At least this might clearify where you're dropped into when logging out of lxde.

Offline

#13 2011-01-08 20:38:42

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

in this dark place i can still issue commands, like startx or reboot - i just cannot see any text. ctrl+alt+F1 seems to take me to a root terminal, but still, no text.

i am sure the problem is incorrect resolution in menu.lst as rwd says.

i have tried various options for vga=... in the kernel line. so far only nomodeset works. with nomodeset i can logout of the DE and get back to a well behaved terminal

following instructions in the grub entry in the wiki i am trying to extract that elusive vga mode from my monitor using hwinfo. i will get there :)

anyway, it will become only an academic problem when the system is properly set up

Last edited by steeve (2011-01-08 20:40:08)

Offline

#14 2011-01-08 20:47:10

steeve
Member
Registered: 2010-12-17
Posts: 10

Re: can't elegantly logout of lxde

jocom, after starting X, ctrl+alt+F8 takes me to the same dark space and ctrl+alt+F7 back to the DE

Offline

Board footer

Powered by FluxBB