:: Re: [DNG] My virtual terminals seem…
Góra strony
Delete this message
Reply to this message
Autor: dev
Data:  
Dla: dng
Temat: Re: [DNG] My virtual terminals seem amiss


On 03/07/2016 11:28 AM, Steve Litt wrote:
:: Step 1 is this:
::
:: ps ax | grep getty


Thanks Steve. Mine is:

$ ps ax | grep getty
  2575 tty1     Ss+    0:00 /sbin/getty 38400 tty1
  2576 tty2     Ss+    0:00 /sbin/getty 38400 tty2
  2577 tty3     Ss+    0:00 /sbin/getty 38400 tty3
  2578 tty4     Ss+    0:00 /sbin/getty 38400 tty4
  2579 tty5     Ss+    0:00 /sbin/getty 38400 tty5
  2580 tty6     Ss+    0:00 /sbin/getty 38400 tty6
  6301 pts/7    S+     0:00 grep getty




RE: anon.udmvt@???
Here is my tty listing:

$ ls -l /dev/tty[1-6]
crw--w---- 1 root tty 4, 1 Mar 8 08:08 /dev/tty1
crw--w---- 1 root tty 4, 2 Mar 8 10:09 /dev/tty2
crw--w---- 1 root tty 4, 3 Mar 8 08:08 /dev/tty3
crw--w---- 1 root tty 4, 4 Mar 8 08:08 /dev/tty4
crw--w---- 1 root tty 4, 5 Mar 8 08:08 /dev/tty5
crw--w---- 1 root tty 4, 6 Mar 8 08:08 /dev/tty6


:: Do you also have at least one /sbin/getty implementation installed?
Yes, it appears to be a symlink however. maybe does not matter:

$ dir /sbin/getty
lrwxrwxrwx 1 root root 6 May 25 2015 /sbin/getty -> agetty

$ dir /sbin/agetty
-rwxr-xr-x 1 root root 39792 May 25 2015 /sbin/agetty


:: Make sure /sbin/getty is runnable by root, test how it runs:
This appears to function correctly also.
# /sbin/getty 38400 tty8
^Z
[1]+  Stopped                 /sbin/getty 38400 tty8


# bg
[1]+ /sbin/getty 38400 tty8 &

# ps -ef | grep getty
root      2575     1  0 08:08 tty1     00:00:00 /sbin/getty 38400 tty1
...
root      7064  6909  0 10:16 pts/7    00:00:00 /sbin/getty 38400 tty8



:: And also do cat /dev/vcs7 | less
It's there :)
# fgrep login /dev/vcs8
<snip distorted spaces> login:

:: be sure you are in the runlevel 2 or 3
looks good.
# runlevel
N 2

:: vbetool vbemode set 3
I ran this in xfce4-terminal from the desktop. It blinked out the video
signal then returned to the desktop. I'm assuming this should be run
from rc.local or something similar when in a true textmode environment?



RE: hendrik "...terminals...don't come back until a reboot.":
Have rebooted, still no luck :/


RE: Rainer Wikusat:
:: You aren't per chance running a display manager on tty1..
I don't know how to tell. When I reboot, Slim comes up on the screen and
I login.

tty output (from xfce4-terminal):
$ tty
/dev/pts/10

who output:
$ who
devuanuser  tty5         Mar  8 10:21
devuanuser  pts/0        Mar  8 08:10 (:0.0)
devuanuser  pts/1        Mar  8 08:10 (:0.0)
devuanuser  pts/3        Mar  8 08:13 (:0.0)
devuanuser  pts/4        Mar  8 08:57 (:0.0)
devuanuser  pts/5        Mar  8 09:05 (:0.0)
devuanuser  pts/6        Mar  8 09:08 (:0.0)
devuanuser  pts/7        Mar  8 10:08 (:0.0)
devuanuser  pts/8        Mar  8 10:15 (:0.0)
devuanuser  pts/9        Mar  8 10:30 (:0.0)
devuanuser  pts/10       Mar  8 10:30 (:0.0)




Here is the ps output you mention:
# ps faux | grep get[t]
root      2575  0.0  0.0  14416  1940 tty1     Ss+  08:08   0:00 
/sbin/getty 38400 tty1
root      2576  0.0  0.0  14416  2056 tty2     Ss+  08:08   0:00 
/sbin/getty 38400 tty2
root      2577  0.0  0.0  14416  1996 tty3     Ss+  08:08   0:00 
/sbin/getty 38400 tty3
root      2578  0.0  0.0  14416  1928 tty4     Ss+  08:08   0:00 
/sbin/getty 38400 tty4
root      2580  0.0  0.0  14416  1944 tty6     Ss+  08:08   0:00 
/sbin/getty 38400 tty6



RE: fsmithred
:: Have you tried adding 'nomodeset' to the boot command?
Hrm.. not yet, I will try later this morning.

:: Which nvidia card are you using?
$ lspci | grep NV
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX
750 Ti] (rev a2)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)