You are not logged in.

#1 2011-05-06 20:53:46

oxez
Member
From: QC
Registered: 2009-08-26
Posts: 38
Website

Various TTY issues

Hello.

Since about 3 weeks I have some problems with TTY.

The biggest one is usually after resume (I'm not sure here, it seems to happen rather randomly), I can't switch to TTY at all.  just get a blank screen. I can go back to my X session just fine with Ctrl-Alt-F7(or F8), but when using Ctrl-Alt-F1 (...F6) I get back to a blank screen. This is an issue when I want to restart my WM, or for whatever reason. I'm using nvidia drivers (latest), and the problem appears wether I'm using a login manager (GDM) or not. I can't find a log file that would tell me the exact issue, so I'm posting here...

The second one, is when I login in a TTY after booting, it takes around 30 seconds to bring me to a bash prompt after I enter my password. Trying to login to another tty won't work until the first login is "done". I've been following this thread on gentoo forums: http://forums.gentoo.org/viewtopic-t-86 … art-0.html but it's not solved yet.

Any ideas?

Thanks!

Offline

#2 2011-05-06 21:54:23

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

Re: Various TTY issues

What is the output of `cat /etc/inittab` and `pgrep *tty*`?

Offline

#3 2011-05-06 23:03:37

oxez
Member
From: QC
Registered: 2009-08-26
Posts: 38
Website

Re: Various TTY issues

neurolysis wrote:

What is the output of `cat /etc/inittab` and `pgrep *tty*`?

oxez ~ > cat /etc/inittab
#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 9600 ttyS0 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1

# End of file

pgrep *tty* gives me the error: Invalid preceding regular expression, but here's ps ax | grep tty:

oxez ~ > ps ax | grep tty
 1564 tty1     Ss     0:00 /bin/login --
 1565 tty2     Ss+    0:00 /sbin/agetty -8 38400 tty2 linux
 1566 tty3     Ss+    0:00 /sbin/agetty -8 38400 tty3 linux
 1567 tty4     Ss+    0:00 /sbin/agetty -8 38400 tty4 linux
 1568 tty5     Ss+    0:00 /sbin/agetty -8 38400 tty5 linux
 1569 tty6     Ss+    0:00 /sbin/agetty -8 38400 tty6 linux
 1751 tty1     S      0:00 -bash
 1775 tty1     S+     0:00 xinit
 1776 tty7     S<s+   0:22 X :0
 1791 tty1     Sl     0:06 subtle
 1794 tty1     S      0:00 xcompmgr
 1878 tty1     S      0:00 xfsettingsd
 5222 pts/1    S+     0:00 grep tty

Offline

#4 2011-05-07 17:41:39

oxez
Member
From: QC
Registered: 2009-08-26
Posts: 38
Website

Re: Various TTY issues

Someone on IRC told me it might have been my grub kernel line, specially the "vga=891" part. Removed it, but the issue is still happening. I'm using latest nvidia-drivers.

Offline

#5 2011-06-28 14:08:49

bsilvereagle
Member
Registered: 2011-03-29
Posts: 42

Re: Various TTY issues

oxez, you can fix your first issue by installing uvesafb.


Vaio F11: i7-720 QM  | 8 GB RAM | Nvidia GT330m
Windows 7 | openSuse 11.4 KDE | Arch Linux e17/KDE

Offline

Board footer

Powered by FluxBB