You are not logged in.
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
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
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
You have to create ~/.xinitrc
Offline
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
Offline
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
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
https://wiki.archlinux.org/index.php/LX … _from_LXDE
Think you need to read wiki guide on lxde
Mr Green
Offline
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
yep, that fixes the problem! with nomodeset, i can logout back to terminal
Last edited by steeve (2011-01-08 06:58:18)
Offline
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
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
jocom, after starting X, ctrl+alt+F8 takes me to the same dark space and ctrl+alt+F7 back to the DE
Offline