public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] LXDE
@ 2011-03-03 12:31 dhk
  2011-03-03 13:35 ` Alex Schuster
  2011-03-04  3:25 ` daid kahl
  0 siblings, 2 replies; 8+ messages in thread
From: dhk @ 2011-03-03 12:31 UTC (permalink / raw
  To: Gentoo

I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
(amd64).  It seems to work, but when I logout it hangs.  It never
returns to the command prompt and the keyboard doesn't work so I can
switch to an alternate terminal.  Has anyone had this problem and know
how to fix it?

Thanks,

dhk



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-03 12:31 [gentoo-user] LXDE dhk
@ 2011-03-03 13:35 ` Alex Schuster
  2011-03-03 22:30   ` Walter Dnes
  2011-03-04  3:25 ` daid kahl
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Schuster @ 2011-03-03 13:35 UTC (permalink / raw
  To: gentoo-user

dhk writes:

> I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
> (amd64).  It seems to work, but when I logout it hangs.  It never
> returns to the command prompt and the keyboard doesn't work so I can
> switch to an alternate terminal.  Has anyone had this problem and know
> how to fix it?

No. But try Alt-SysRq-R, this removes keyboard control from X, and you 
should be able to switch to a text terminal.
If not, Alt-SysRq-{E,I,S,U,B} (with little pasues between each) will at 
least do a cleaner reboot than hitting the reset button.

If you have another PC to log in from, try this, and use the chvt commadn to 
change the virtual terminal.

	Wonko



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-03 13:35 ` Alex Schuster
@ 2011-03-03 22:30   ` Walter Dnes
  0 siblings, 0 replies; 8+ messages in thread
From: Walter Dnes @ 2011-03-03 22:30 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 03, 2011 at 02:35:08PM +0100, Alex Schuster wrote

> No. But try Alt-SysRq-R, this removes keyboard control from X,
> and you should be able to switch to a text terminal.  If not,
> Alt-SysRq-{E,I,S,U,B} (with little pasues between each) will at
> least do a cleaner reboot than hitting the reset button.

  Note that this requires "Magic SysRq key" support in the kernel.
Under "make menuconfig" enable...

    Kernel hacking  --->
    [*] Magic SysRq key

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-03 12:31 [gentoo-user] LXDE dhk
  2011-03-03 13:35 ` Alex Schuster
@ 2011-03-04  3:25 ` daid kahl
  2011-03-05 19:51   ` dhk
  1 sibling, 1 reply; 8+ messages in thread
From: daid kahl @ 2011-03-04  3:25 UTC (permalink / raw
  To: gentoo-user

> I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
> (amd64).  It seems to work, but when I logout it hangs.  It never
> returns to the command prompt and the keyboard doesn't work so I can
> switch to an alternate terminal.

Strange.  Never used LXDE, but KDE and Xfce I never had such a problem
with startx.  Anyway, if you're serious about using it, probably
you'll want xdm and likely slim (since you're running something
lightweight).  Yeah, I ran "startx" for two years because I'm that
lazy, but anyway, it's a good idea.

From XDM you can get a terminal if you want.  This is only at best a
work around (or indication of deeper problems), but you may try it.

Just make sure you edit slim.conf for your login_cmd since for zsh you
get a little wrecked if you don't...

Cheers,
daid



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-04  3:25 ` daid kahl
@ 2011-03-05 19:51   ` dhk
  2011-03-06  2:39     ` Kevin McCarthy
  0 siblings, 1 reply; 8+ messages in thread
From: dhk @ 2011-03-05 19:51 UTC (permalink / raw
  To: gentoo-user

On 03/03/2011 10:25 PM, daid kahl wrote:
>> I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
>> (amd64).  It seems to work, but when I logout it hangs.  It never
>> returns to the command prompt and the keyboard doesn't work so I can
>> switch to an alternate terminal.
> 
> Strange.  Never used LXDE, but KDE and Xfce I never had such a problem
> with startx.  Anyway, if you're serious about using it, probably
> you'll want xdm and likely slim (since you're running something
> lightweight).  Yeah, I ran "startx" for two years because I'm that
> lazy, but anyway, it's a good idea.
> 
>>From XDM you can get a terminal if you want.  This is only at best a
> work around (or indication of deeper problems), but you may try it.
> 
> Just make sure you edit slim.conf for your login_cmd since for zsh you
> get a little wrecked if you don't...
> 
> Cheers,
> daid
> 
> 

After installing xfce4 I found out this problem is not an lxde problem
it seems to be a desktop environment or windows manager problem.  When I
click the logout button in xfce4 it hangs also, it never brings me back
to the command prompt.  The only thing I can do is Alt-SysReq-EISUB
which works really well and suggested in an earlier thread.

I installed xdm and slim, but strange things happen with that.  When I
run /etc/xinit.d/xdm start the slim login appears, but the right half of
my keyboard doesn't work right.  For example when I press the "k" key a
"2" is printed.  Very strange.

dhk



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-05 19:51   ` dhk
@ 2011-03-06  2:39     ` Kevin McCarthy
  2011-03-06  9:05       ` Mick
  2011-03-06 16:19       ` dhk
  0 siblings, 2 replies; 8+ messages in thread
From: Kevin McCarthy @ 2011-03-06  2:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 693 bytes --]

On Sat, Mar 05, 2011 at 02:51:54PM -0500, dhk wrote:
> On 03/03/2011 10:25 PM, daid kahl wrote:
> 
> I installed xdm and slim, but strange things happen with that.  When I
> run /etc/xinit.d/xdm start the slim login appears, but the right half of
> my keyboard doesn't work right.  For example when I press the "k" key a
> "2" is printed.  Very strange.
> 

I bet you are on a laptop that doesn't have a dedicated number pad. If
you look, you will see that JKL are also 123 when the numlock is on.
SLiM's default setting is to turn the numlock on when it starts. 

You can turn this off  with the "numlock" setting in /etc/slim.conf. 

-- 
Kevin McCarthy <signals@gentoo.org>

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-06  2:39     ` Kevin McCarthy
@ 2011-03-06  9:05       ` Mick
  2011-03-06 16:19       ` dhk
  1 sibling, 0 replies; 8+ messages in thread
From: Mick @ 2011-03-06  9:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 869 bytes --]

On Sunday 06 March 2011 02:39:34 Kevin McCarthy wrote:
> On Sat, Mar 05, 2011 at 02:51:54PM -0500, dhk wrote:
> > On 03/03/2011 10:25 PM, daid kahl wrote:
> > 
> > I installed xdm and slim, but strange things happen with that.  When I
> > run /etc/xinit.d/xdm start the slim login appears, but the right half of
> > my keyboard doesn't work right.  For example when I press the "k" key a
> > "2" is printed.  Very strange.
> 
> I bet you are on a laptop that doesn't have a dedicated number pad. If
> you look, you will see that JKL are also 123 when the numlock is on.
> SLiM's default setting is to turn the numlock on when it starts.
> 
> You can turn this off  with the "numlock" setting in /etc/slim.conf.

Yes, I bet dhk has pressed the numlock on button.  The solution is of course 
to press it once more to remove numlock.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] LXDE
  2011-03-06  2:39     ` Kevin McCarthy
  2011-03-06  9:05       ` Mick
@ 2011-03-06 16:19       ` dhk
  1 sibling, 0 replies; 8+ messages in thread
From: dhk @ 2011-03-06 16:19 UTC (permalink / raw
  To: gentoo-user

On 03/05/2011 09:39 PM, Kevin McCarthy wrote:
> On Sat, Mar 05, 2011 at 02:51:54PM -0500, dhk wrote:
>> On 03/03/2011 10:25 PM, daid kahl wrote:
>>
>> I installed xdm and slim, but strange things happen with that.  When I
>> run /etc/xinit.d/xdm start the slim login appears, but the right half of
>> my keyboard doesn't work right.  For example when I press the "k" key a
>> "2" is printed.  Very strange.
>>
> 
> I bet you are on a laptop that doesn't have a dedicated number pad. If
> you look, you will see that JKL are also 123 when the numlock is on.
> SLiM's default setting is to turn the numlock on when it starts. 
> 
> You can turn this off  with the "numlock" setting in /etc/slim.conf. 
> 

You are correct.  Thanks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-06 16:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 12:31 [gentoo-user] LXDE dhk
2011-03-03 13:35 ` Alex Schuster
2011-03-03 22:30   ` Walter Dnes
2011-03-04  3:25 ` daid kahl
2011-03-05 19:51   ` dhk
2011-03-06  2:39     ` Kevin McCarthy
2011-03-06  9:05       ` Mick
2011-03-06 16:19       ` dhk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox