Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-24 Thread Walter Dnes
On Thu, Sep 21, 2006 at 05:24:44PM -0400, Philip Webb wrote

 I've never quite understood why it's Ctl-Alt-F7 which returns,
 when the TTY's involved seem to be 1  2 .  In fact,
 I've suppressed higher-numbered TTY 3-6 in  /etc/inittab .
 Another test reveals that Ctl-Alt-F3 returns to the X session,
 so perhaps the command to return uses the next free F key.
 Can anyone confirm that ?  Anyway the problem is solved.

  My own setup is somewhat non-standard.  I have...

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
c7:2345:respawn:/sbin/agetty 38400 tty7 linux
c8:2345:respawn:/sbin/agetty 38400 tty8 linux
c9:2345:respawn:/sbin/agetty 38400 tty9 linux

  I have a regular user account.  I launch X, which takes tty10.  I have
a second scratch account for certain tasks, and viewing Google and
other video sites in 400x300 mode or lower.  I tell it to use display :1,
which is tty11.  tty12 is used by kernel log messages.

  A hint for tweaking xorg.conf files.  I have several files in /etc/X11
i.e. /etc/X11/1024xorg.conf /etc/X11/2048xorg.conf /etc/X11/320xorg.conf
/etc/X11/360xorg.conf /etc/X11/400xorg.conf /etc/X11/800xorg.conf and
/etc/X11/xorg.conf.  My regular account has a script ~/bin/x

#! /bin/bash
startx -- -nolisten tcp -nosilk -config ${1}xorg.conf 

and the scratch account has ~/bin/x1

#! /bin/bash
startx -- :1 -nolisten tcp -nosilk -config ${1}xorg.conf 

  The regular account launches X with the command x to give me a
1280x1024 screen.  When I'm editing large digital photos, I use the
command x 2048.  This launches X with the file 2048xorg.conf, which
I've set to give me 2048x1536.  When I want to run at 400x300 for
viewing videos, I launch with x1 400, which invokes X with the config
file 400xorg.conf. I generally run with the following textmode ttys...
tty1 regular user, mutt (email)
tty2 regular user, slrn (usenet)
tty3 regular user, general purpose console
tty4 scratch account
tty5 scratch account
tty7 console when ssh'ing into the other machine (I have a 1999 Dell
 450 mhz PIII that is my emergency backup machine).
tty8 root (occasional use only) when doing admin stuff that requires
 root (emerge sync, etc).
tty9 regular user, used for launching X.  I find that X spits out a lot
 of logging garbage to the tty that launched it.

tty10 used by X session :0
tty11 used by X session :1
tty12 used by kernel logger for message output

  I run textmode at 80x48 (YES, forty-eight rows with 10-pixel-high
font, which is much easier on the eyes than 8x8 font).

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-24 Thread Philip Webb
060924 Walter Dnes wrote:
 On Thu, Sep 21, 2006 at 05:24:44PM -0400, Philip Webb wrote
 I've never quite understood why it's Ctl-Alt-F7 which returns,
 Another test reveals that Ctl-Alt-F3 returns to the X session,
 so perhaps the command to return uses the next free F key.

-- lots of interesting details snipped --

I have simpler needs  use TTY2 only in emergency,
if something has jammed up on TTY1 : I can't remember the last time.
I'll save your description among my nnotes.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-21 Thread Andrew Frink
On 9/20/06, Philip Webb [EMAIL PROTECTED] wrote:
I've just updated to modular X  everything seems to be working,except that afterCtl-Alt-F2I can't get back to X withCtl-Alt-F7 .I can get back to the original raw terminal withCtl-Alt-F1 ,which shows3identical error messages.I tried remerging Xkeyboard-config
(from a previous reply here), but it didn't make any difference.Does anyone have a helpful suggestion ?--,,SUPPORT ___//___,Philip Webb : 
[EMAIL PROTECTED]ELECTRIC /] [] [] [] [] []|Centre for Urban  Community StudiesTRANSIT`-O--O---'University of Toronto--
gentoo-user@gentoo.org mailing listPhilip,is X running on VT7, or is it 9,10,11,12?Andrew


Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-21 Thread Mick
On Thursday 21 September 2006 14:16, Andrew Frink wrote:
 On 9/20/06, Philip Webb [EMAIL PROTECTED] wrote:
  I've just updated to modular X  everything seems to be working,
  except that after  Ctl-Alt-F2  I can't get back to X with  Ctl-Alt-F7 .
  I can get back to the original raw terminal with  Ctl-Alt-F1 ,
  which shows  3  identical error messages.  I tried remerging
  Xkeyboard-config
  (from a previous reply here), but it didn't make any difference.
 
  Does anyone have a helpful suggestion ?

 is X running on VT7, or is it 9,10,11,12?

What is the 3xerror message?
-- 
Regards,
Mick


pgpAUmXYGNqEJ.pgp
Description: PGP signature


Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-21 Thread Philip Webb
060921 Andrew Frink wrote:
 On 9/20/06, Philip Webb [EMAIL PROTECTED] wrote:
 I've just updated to modular X  everything seems to be working,
 except that after  Ctl-Alt-F2  I can't get back to X with  Ctl-Alt-F7 .
 I can get back to the original raw terminal with  Ctl-Alt-F1 ,
 which shows  3  identical error messages.
 is X running on VT7, or is it 9,10,11,12?

I've never quite understood why it's Ctl-Alt-F7 which returns,
when the TTY's involved seem to be 1  2 .  In fact,
I've suppressed higher-numbered TTY 3-6 in  /etc/inittab .
Another test reveals that Ctl-Alt-F3 returns to the X session,
so perhaps the command to return uses the next free F key.
Can anyone confirm that ?  Anyway the problem is solved.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular X : Ctl-Alt-F7 fails

2006-09-21 Thread Benno Schulenberg
Philip Webb wrote:
 I've never quite understood why it's Ctl-Alt-F7 which returns,
 when the TTY's involved seem to be 1  2 .

Because on most machines inittab tells init to start agetty on the 
first six VTs, and X then takes the first free VT.

 In fact, 
 I've suppressed higher-numbered TTY 3-6 in  /etc/inittab .
 Another test reveals that Ctl-Alt-F3 returns to the X session,
 so perhaps the command to return uses the next free F key.

In /etc/X11/xdm/Xservers you could set X to always start on VT7.

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular X : Ctl-Alt-F7 fails (solved)

2006-09-21 Thread Philip Webb
060922 Benno Schulenberg wrote:
 Philip Webb wrote:
 I've never quite understood why it's Ctl-Alt-F7 which returns,
 when the TTY's involved seem to be 1  2 .
 Because on most machines inittab tells init to start agetty
 on the first six VTs, and X then takes the first free VT.
 Another test reveals that Ctl-Alt-F3 returns to the X session,
 so perhaps the command to return uses the next free F key.
 In /etc/X11/xdm/Xservers you could set X to always start on VT7.

Yes, thanks, you've confirmed what I surmised from this test.
I'm quite content to have it be F3 , now I know what's going on.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list