You are not logged in.

#1 2011-09-14 00:13:41

humilleitor
Member
Registered: 2010-02-22
Posts: 46

LXDM breaks the console from where it's launched

I'm having a very weird issue with LXDM when launched from a tty.

I usually boot my Arch in level 3, and then manually switch to X if I need it. Sometimes I type "init 5", and some other times I type "/etc/rc.d/[whatever]dm start".

So if, as a desktop manager, I launch xdm or gdm, everything works ok. HOWEVER, if I launch lxdm, then I experience this very weird issue: when going back to the text console (usually Ctrl+Alt+F1) from where I launched the session (and only that one!), the console behaves very strangely, half the characters I type don't get echoed to the screen, non-ascii characters are not recognized, etc. If I go back to any other console (F2 to F6), it works ok.

This problem occurs whenever I launch lxdm, regardless of which session I open in the desktop manager (sometimes I open Lxde, sometimes Xfce4).
And this is a pity, because it prevents me from using lxdm, which I'd like to use.

Does anybody have a clue about what might be the reason or the cause for this? Any hint?

Very much appreciated, thank you.

Last edited by humilleitor (2011-09-14 01:19:34)

Offline

#2 2011-09-14 00:44:18

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: LXDM breaks the console from where it's launched

Interesting, I just noticed this today. But I'm not using any DM, I go into X from inittab. But the first console behaves as you describe, half the key presses don't get recognized. Other consoles are ok. If I quite X, the first console also starts behaving normally.

Offline

#3 2011-09-14 01:23:48

humilleitor
Member
Registered: 2010-02-22
Posts: 46

Re: LXDM breaks the console from where it's launched

But even if you go into X from inittab, I guess your system is using some DM, isn't it? What's your inittab like? Or which are the daemons in you /etc/rc.conf?

Yes, I can also confirm that, upon quitting X, the first console behaves normally again.

Funny that nobody has noticed or reported this before. I'm experiencing this issue some months ago.

Offline

#4 2011-09-14 10:10:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: LXDM breaks the console from where it's launched

humilleitor wrote:

But even if you go into X from inittab, I guess your system is using some DM, isn't it?

Nope. It's the method described in the wiki somewhere to launch startx from inittab:

x:5:once:/bin/su gusar -l -c "/bin/bash --login -c startx > /dev/null 2>&1"

Edit: And you know what the weird part is? Doesn't seem to happen on my LiveUSB distro. I use busybox for a few things there, but otherwise it's pretty much Arch packaged into a squashfs image. Weird quirks, don't you just love them? smile

Last edited by Gusar (2011-09-14 12:01:23)

Offline

#5 2012-05-12 16:03:46

nomenquis
Member
Registered: 2009-11-29
Posts: 6

Re: LXDM breaks the console from where it's launched

Hi,

It seems that I've been running into the same issue for quite a while now (took me some debugging to figure out that lxdm was the culprint).
However, I'm launching lxdm not via inittab or manually but via the daemons entry in rc.conf.

Is there any workaround to have both a no thrills default lxdm installation, still starting it as a daemon in rc.conf, but also being able to use vt1?


kind regards

Offline

Board footer

Powered by FluxBB