[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't switch ttys after atp-get upgrade



On Do, 2004-07-29 at 22:48, Robert Goley wrote:
> Out of curiosity, what does your /etc/inittab look like after the
> "dpkg-reconfigure console-data" command has been run.  Can you verify
> if it is making the change I suggested.  I can verify that the default
> sarge install only sets up 1 tty for runlevel 5.  I would just like to
> know if it is modifying the inittab from debconf.
> 
> Robert  
> 
> On Thu, 2004-07-29 at 15:16, Tim wrote: 
> > i did an "apt-get distupgrade" and set some keyboard options (i'm using a
> > german keyboard) using "xmodmap" (which sounds as if it would only affect
> > X11, but i'm not sure) and did a "dpkg-reconfigure console-data", and my
> > problem is gone - i don't know which of the measures above solved it.
> > 
> > another problem with the keyboard persists - in X11, my pipe key ("|",
> > ">", "<") doesn't work so i have to copy and paste the pipe symbol, while
> > under the text consoles the "Alt Gr" (right alt) key does not work - this
> > prevents you from typing a backslash and an "@" with a german keyboard
> > layout :-(
> > 
> > nevertheless, your pointer to /etc/inittab sounds very reasonable and i must
> > admit that i forget to check that obvious possibilty - thanks. i'll have a
> > look at my inittab, but it seems to be ok, as switching ttys does atm
> > work.
> > 
> > tim
> > 
> > 

> > > You will need to change it to this:
> > >
> > > snip----
> > > # Note that on most Debian systems tty7 is used by the X Window System,
> > > # so if you want to add more getty's go ahead but skip tty7 if you runX.
> > > #
> > > 1:2345:respawn:/sbin/getty 38400 tty1
> > > 2:2345:respawn:/sbin/getty 38400 tty2
> > > 3:2345:respawn:/sbin/getty 38400 tty3
> > > 4:2345:respawn:/sbin/getty 38400 tty4
> > > 5:2345:respawn:/sbin/getty 38400 tty5
> > > 6:2345:respawn:/sbin/getty 38400 tty6
> > > snip----
> > >
> > > After doing that, as root type "init q" for it to reread that file.
> > > Problem solved.

I have a similar problem, but it looks slightly different:

I changed /etc/inittab as suggested. Afterwards, while starting gnome I
could change during the start several times into ttys2 to 6, however,
when the panel was finally finished no changing is possible any
further,not even to tty1.

So there is another gnome program which catches ctrl-alt-5(1-6) and
doesnot translate it to change to tty5. Would be nice to know whichone.

ps ax responds with the following (I include everything before gdm )

2206 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 2207 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 2208 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 2209 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 2210 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 2211 tty6     Ss+    0:00 /sbin/getty 38400 tty6
 2255 ?        S<     0:16 /usr/X11R6/bin/X :0 -audit 0 -auth
/var/lib/gdm/:0.Xauth -nolisten tcp vt7
 2315 ?        Ss     0:00 /usr/bin/gnome-session
 2376 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/gnome-session
 2378 ?        S      0:01 /usr/lib/gconf2/gconfd-2 5
 2381 ?        S      0:00 /usr/bin/gnome-keyring-daemon
 2383 ?        Ss     0:00
/usr/lib/bonobo-activation/bonobo-activation-server --ac-activate
--ior-output-fd=18
 2385 ?        Ss     0:00 gnome-smproxy --sm-config-prefix
/.gnome-smproxy-7dJxjj/ --sm-client-id 117f0000010001 
 2387 ?        S      0:00 /usr/lib/control-center/gnome-settings-daemon
--oaf-activate-iid=OAFIID:GNOME_Settings 
 2397 ?        S      0:00 xscreensaver -nosplash
 2408 ?        Ss     0:01 metacity --sm-save-file
1091024479-10350-1223624314.ms
 2426 ?        Ss     0:00 gnome-panel --sm-config-prefix
/gnome-panel-LwBNY9/ --sm-client-id 117f000001000109093 
 2428 ?        Ss     0:01 nautilus --sm-config-prefix /nautilus-TLul79/
--sm-client-id 117f000001000109093535000 
 2432 ?        Ss     0:09 evolution --sm-config-prefix
/evolution-SxMsE5/ --sm-client-id 117f0000010001090998547 
 2434 ?        Ss     0:00 /usr/lib/evolution/1.4/evolution-alarm-notify
--sm-config-prefix /evolution-alarm-noti 
 2436 ?        Ss     0:00 gnome-terminal --sm-config-prefix
/gnome-terminal-7cuUfa/ --sm-client-id 117f000001000 
 2438 ?        Ss     0:00 gnome-help --sm-config-prefix /yelp-kI6cIc/
--sm-client-id 117f00000100010910243680000 
 2453 ?        S      0:00 /usr/lib/gnome-vfs2/gnome-vfs-daemon
--oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factor
 2505 ?        S      0:00 /usr/lib/evolution/1.4/evolution-wombat
--oaf-activate-iid=OAFIID:GNOME_Evolution_Womb 
 2507 ?        S      0:00 /usr/lib/nautilus-cd-burner/mapping-daemon
 2510 ?        S      0:00 gnome-pty-helper
 2511 pts/0    Ss+    0:00 bash
 2513 pts/1    Ss+    0:00 bash
 2522 ?        S      0:00 /usr/lib/gnome-panel/wnck-applet
--oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf 
 2524 ?        S      0:00 /usr/lib/gnome-panel/multiload-applet-2
--oaf-activate-iid=OAFIID:GNOME_MultiLoadApple 
 2525 ?        Z      0:00 [netstat] <defunct>
 2532 ?        S      0:00 /usr/lib/gnome-panel/mailcheck-applet
--oaf-activate-iid=OAFIID:GNOME_MailcheckApplet_ 
 2538 ?        S      0:00 /usr/lib/gnome-panel/clock-applet
--oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory
 2553 ?        S      0:00 /usr/lib/gnome-panel/gkb-applet-2
--oaf-activate-iid=OAFIID:GNOME_KeyboardApplet_Facto 
 2557 ?        S      0:00 /usr/lib/nautilus/nautilus-throbber
--oaf-activate-iid=OAFIID:Nautilus_Throbber_Factor 
 2567 pts/2    Ss     0:00 bash
 2571 pts/2    R+     0:00 ps ax

killing gkb-applet-2 didnot change anything!

using Gnome 2.6, kernel 2.6.7 for K7 out of the box from ftp.debian.org
mirror and testing 

Bernhard



Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: