From: lee on
On Sat, Jun 26, 2010 at 07:29:50AM +0530, Anand Sivaram wrote:
> On Sat, Jun 26, 2010 at 05:44, lee <lee(a)yun.yagibdah.de> wrote:
> >
> > Neither switching to consoles is possible, nor terminating the X
> > server with Ctrl+Alt+Backspace.
> >
> >
> >
> >
> Try "chvt n" where n is the same as n of Fn. similary "chvt 7" from a text
> console should bring you back to your x session.

Thanks! It doesn't work, though:


lee(a)yun:~$ chvt 1
chvt: VT_ACTIVATE: Operation not permitted
lee(a)yun:~$


Besides, I need to be able to switch by pressing keys because mott I
have use for the consoles is when I can't do anything under X11
anymore. Like yesterday, I was changing the configuration of
fvwm-crystal and restarted it a few times. That finally left me
without any shell at all, so I wanted to switch to a console or
terminate the X session, but it wasn't possible. The only thing I
could do was to press the reset button. That's not a good solution, of
course :)


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100626130221.GD4336(a)yun.yagibdah.de
From: lee on
On Sat, Jun 26, 2010 at 07:54:50AM +0000, Sascha Silbe wrote:
> Excerpts from lee's message of Fri Jun 25 20:31:15 +0000 2010:
>
> > what could be the reason why I can't switch from X11 to consoles with
> > Alt+Fx anymore? It's also not possible to kill the X session with
> > Ctrl+Alt+Backspace, though this feature is not turned off in the
> > xorg.conf. I'm using fvwm-crystal as a window manager.
> I'm assuming you're running squeeze, not lenny.

Uhm, it's Debian testing amd64 --- if that's called squeeze atm, yes :)

> > This has been going on for a quite a while now, but just now I had to
> > press reset button because I couldn't get out of X11 anymore :( I want
> > the default behaviour that allows switching and zapping back ...
> No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
> again you need to change /etc/default/keyboard:
>
> XKBOPTIONS="terminate:ctrl_alt_bksp"

Cool, I added that and will try it out. I also found that there's the
wrong keyboard model still specified (105 keys) because I replaced the
junk keyboard I had to use with a model M (102 keys) a few days ago.

Do you know where I could find some documentation about these
XKBOPTIONS? Google wasn't helpful with that ...

> If you have Magic SysRq enabled in your kernel (IIRC the default Debian
> kernel does), you can use that instead of reset the next time you need
> it. Press:

Yeah, I thought of that yesterday, but I can never remember which keys
to press when it comes to needing it. I'll just have to print that
documentation and keep it around ...


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100626131847.GE4336(a)yun.yagibdah.de
From: lee on
On Sat, Jun 26, 2010 at 07:54:50AM +0000, Sascha Silbe wrote:
> No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
> again you need to change /etc/default/keyboard:
>
> XKBOPTIONS="terminate:ctrl_alt_bksp"

It's not working --- I quit the X session, restarted hal as pointed
out in /etc/default/keyboard, started a new X session and still
couldn't terminate it with Ctrl+Alt+Backspace.

Is it possible that fvwm-crystal is messing around with these things?


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100626133603.GA6896(a)yun.yagibdah.de
From: Chris Bannister on
On Sat, Jun 26, 2010 at 03:36:03PM +0200, lee wrote:
> On Sat, Jun 26, 2010 at 07:54:50AM +0000, Sascha Silbe wrote:
> > No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
> > again you need to change /etc/default/keyboard:
> >
> > XKBOPTIONS="terminate:ctrl_alt_bksp"
>
> It's not working --- I quit the X session, restarted hal as pointed
> out in /etc/default/keyboard, started a new X session and still
> couldn't terminate it with Ctrl+Alt+Backspace.
>
> Is it possible that fvwm-crystal is messing around with these things?

Very likely. To test, start X from the command line like so:
fischer:~$ X

You will just see a grey background and the mouse cursor. Try
Ctrl+Alt+Backspace here and you *should* quit the X session.

If you do, then it is time to start digging into fvwm-crystal.

--
Chris.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100627115925.GB3304(a)fischer
From: lee on
On Sun, Jun 27, 2010 at 11:59:25PM +1200, Chris Bannister wrote:
> On Sat, Jun 26, 2010 at 03:36:03PM +0200, lee wrote:
> > On Sat, Jun 26, 2010 at 07:54:50AM +0000, Sascha Silbe wrote:
> > > No idea why VT switching doesn't work for you. To get Ctrl+Alt+BS working
> > > again you need to change /etc/default/keyboard:
> > >
> > > XKBOPTIONS="terminate:ctrl_alt_bksp"
> >
> > It's not working --- I quit the X session, restarted hal as pointed
> > out in /etc/default/keyboard, started a new X session and still
> > couldn't terminate it with Ctrl+Alt+Backspace.
> >
> > Is it possible that fvwm-crystal is messing around with these things?
>
> Very likely. To test, start X from the command line like so:
> fischer:~$ X
>
> You will just see a grey background and the mouse cursor. Try
> Ctrl+Alt+Backspace here and you *should* quit the X session.
>
> If you do, then it is time to start digging into fvwm-crystal.

Hm, ok, but what do I do when I still can't switch or zap? I'll have
to try with another window manager, like enlightenment ...


--
27/06/2010 04:03:46 The X server says there are 10 mouse buttons.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100627132157.GG3979(a)yun.yagibdah.de