no more PTYs

Pagina: 1
Acties:

  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
Ik ben bezig met het inrichten van een (gentoo) linux servertje, nu loop ik tegen een probleem aan dat ik nog niet eerder tegen ben gekomen. Als ik via ssh(client: putty) screen wil gebruiken onder een gewone (lees: NIET root gebruiker) krijg ik de mededeling:

no more PTYs
Sorry, could not find a PTY


verder geeft het log aan:

May 19 15:39:41 e***** sshd[nnnnn]: error: open /dev/tty failed - could not set controlling tty: Permission denied

Ik kan op google en zelfs op GoT niets vinden over dit probleem, ook kom ik er zelf niet uit... Ik gok dat het iets met rechten te maken heeft (omdat root het wel kan) maar weet het niet zeker. Ook weet ik niet of het probleem er is als ik lokaal werk, aangezien die pc > 120 km van mijn huis staat..
Iemand een oplossing?

Greetz Trinité

The easiest way to solve a problem is just to solve it.


  • DeMoN
  • Registratie: Maart 2001
  • Laatst online: 06-01 23:13

DeMoN

Pastafari

Wat geeft ls -l /dev/tty ?

Gamertag: Cosmicv0id
"Het woord Gods is voor mij niets meer dan een expressie en het product van menselijke zwakheid. De Bijbel is een verzamelwerk van legendes die achtenswaardig zijn maar ook primitief en kinderachtig.'' - Albert Einstein


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23

ls -l /dev/tty
crw-rw---- 1 root tty 5, 0 May 18 16:01 /dev/tty

The easiest way to solve a problem is just to solve it.


  • Sir Isaac
  • Registratie: September 2002
  • Laatst online: 21-05-2025
ls -l /dev/tty*, anders ls je er maar 1.

  • DeMoN
  • Registratie: Maart 2001
  • Laatst online: 06-01 23:13

DeMoN

Pastafari

Sir Isaac schreef op donderdag 19 mei 2005 @ 16:13:
ls -l /dev/tty*, anders ls je er maar 1.
Mja, maar hij geeft ook op maar 1 tty de foutmelding :)

code:
1
2
[[[cell@debianserv:~]]] ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 2005-04-07 00:42 /dev/tty


Zo staat ht btw bij mij. Werkt goed hier, screen.
Ik zie wel dat de permissies iets anders zijn.

[ Voor 34% gewijzigd door DeMoN op 19-05-2005 16:25 ]

Gamertag: Cosmicv0id
"Het woord Gods is voor mij niets meer dan een expressie en het product van menselijke zwakheid. De Bijbel is een verzamelwerk van legendes die achtenswaardig zijn maar ook primitief en kinderachtig.'' - Albert Einstein


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
ok, nu alles:

ls -l /dev/tty*
crw-rw---- 1 root tty 5, 0 May 18 16:01 /dev/tty
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty0 -> vc/0
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty1 -> vc/1
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty10 -> vc/10
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty11 -> vc/11
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty12 -> vc/12
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty13 -> vc/13
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty14 -> vc/14
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty15 -> vc/15
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty16 -> vc/16
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty17 -> vc/17
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty18 -> vc/18
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty19 -> vc/19
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty2 -> vc/2
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty20 -> vc/20
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty21 -> vc/21
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty22 -> vc/22
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty23 -> vc/23
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty24 -> vc/24
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty25 -> vc/25
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty26 -> vc/26
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty27 -> vc/27
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty28 -> vc/28
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty29 -> vc/29
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty3 -> vc/3
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty30 -> vc/30
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty31 -> vc/31
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty32 -> vc/32
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty33 -> vc/33
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty34 -> vc/34
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty35 -> vc/35
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty36 -> vc/36
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty37 -> vc/37
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty38 -> vc/38
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty39 -> vc/39
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty4 -> vc/4
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty40 -> vc/40
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty41 -> vc/41
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty42 -> vc/42
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty43 -> vc/43
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty44 -> vc/44
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty45 -> vc/45
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty46 -> vc/46
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty47 -> vc/47
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty48 -> vc/48
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty49 -> vc/49
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty5 -> vc/5
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty50 -> vc/50
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty51 -> vc/51
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty52 -> vc/52
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty53 -> vc/53
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty54 -> vc/54
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty55 -> vc/55
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty56 -> vc/56
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty57 -> vc/57
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty58 -> vc/58
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty59 -> vc/59
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty6 -> vc/6
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty60 -> vc/60
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty61 -> vc/61
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty62 -> vc/62
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/tty63 -> vc/63
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty7 -> vc/7
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty8 -> vc/8
lrwxrwxrwx 1 root root 4 May 15 13:45 /dev/tty9 -> vc/9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS0 -> tts/0
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS1 -> tts/1
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS2 -> tts/2
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS3 -> tts/3
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS4 -> tts/4
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS5 -> tts/5
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS6 -> tts/6
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyS7 -> tts/7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttya9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyaa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyab -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyac -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyad -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyae -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyaf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyb9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyba -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttybb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttybc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttybd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttybe -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttybf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyc9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyca -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttycb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttycc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttycd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyce -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttycf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyd9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyda -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttydb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttydc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttydd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyde -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttydf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttye9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyea -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyeb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyec -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyed -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyee -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyef -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyp9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttypa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttypb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttypc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttypd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttype -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttypf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyq9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqe -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyqf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyr9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyra -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyrb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyrc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyrd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyre -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyrf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttys9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttysa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttysb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttysc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttysd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyse -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttysf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyt9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyta -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttytb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttytc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttytd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyte -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttytf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyu9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyua -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyub -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyuc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyud -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyue -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyuf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyv9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyva -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyvb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyvc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyvd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyve -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyvf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyw9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywe -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttywf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyx9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxa -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxe -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyxf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyy9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyya -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyyb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyyc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyyd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyye -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyyf -> pty/s
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz0 -> pty/s0
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz1 -> pty/s1
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz2 -> pty/s2
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz3 -> pty/s3
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz4 -> pty/s4
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz5 -> pty/s5
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz6 -> pty/s6
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz7 -> pty/s7
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz8 -> pty/s8
lrwxrwxrwx 1 root root 6 May 15 13:45 /dev/ttyz9 -> pty/s9
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyza -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyzb -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyzc -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyzd -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyze -> pty/s
lrwxrwxrwx 1 root root 5 May 15 13:45 /dev/ttyzf -> pty/s

[ Voor 5% gewijzigd door trinite_t op 19-05-2005 16:26 ]

The easiest way to solve a problem is just to solve it.


  • Surfer
  • Registratie: December 2001
  • Laatst online: 30-12-2025

Surfer

~

Wat geeft mount [enter]?

Volgens mij moet daar wel
code:
1
none on /dev/pts type devpts (rw)
tussen staan, anders krijg je deze foutmelding ook... (zoiets had ik iig tijdens een LFS install)

Als ie er niet staat, moet je geloof ik
code:
1
none    /dev/pts    devpts      gid=5,mode=620   0 0
in je /etc/fstab zetten, maar daar moet je ff de docs op naslaan...

“I'd give an arm to be ambidextrous!"


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
in mijn mount staat /dev/pts gewoon... dus dat is niet het probleem.

The easiest way to solve a problem is just to solve it.


  • DeMoN
  • Registratie: Maart 2001
  • Laatst online: 06-01 23:13

DeMoN

Pastafari

doe anders eens een (tijdelijke, slordige) chmod 777 /dev/tty voor de test...

[ Voor 7% gewijzigd door DeMoN op 19-05-2005 16:47 ]

Gamertag: Cosmicv0id
"Het woord Gods is voor mij niets meer dan een expressie en het product van menselijke zwakheid. De Bijbel is een verzamelwerk van legendes die achtenswaardig zijn maar ook primitief en kinderachtig.'' - Albert Einstein


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
chmod 777 maakt helemaal niets uit... :'(

The easiest way to solve a problem is just to solve it.


  • Wolfboy
  • Registratie: Januari 2001
  • Niet online

Wolfboy

ubi dubium ibi libertas

En een "rm -f /dev/tty*" met daarna een "cd /dev && mknod tty0 c 4 0" ?

Heeft dat nog effect (ook al zou dat niet hoeven met devfs)

Blog [Stackoverflow] [LinkedIn]


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
ook dat haalt helemaal niets uit...

The easiest way to solve a problem is just to solve it.


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
behalve dan dat ik nu bij
ls -l /dev/tty*
nog maar een item krijg.
crw-r--r-- 1 root root 4, 0 May 19 18:53 /dev/tty0

The easiest way to solve a problem is just to solve it.


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
en nu geeft mijn messages dit aan:

May 19 18:57:16 e***** sshd[*****]: error: open /dev/tty failed - could not s
et controlling tty: No such file or directory

The easiest way to solve a problem is just to solve it.


  • LauPro
  • Registratie: Augustus 2001
  • Laatst online: 07:25

LauPro

Prof Mierenneuke®

Heb je wel support in je kernel aan staan? Want anders kan je wel devices aanmaken maar zal daar toch echt niets achter zitten ;) .

Inkoopacties - HENK terug! - Megabit
It is a war here, so be a general!


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
welke optie is dat in de kernel? En heeft dat wat te maken met dat ik als root wel een screen kan openen, maar als "normale" user niet?

edit:

Is dat deze optie in de kernel? :
[ ] /dev/pts Extended Attributes

[ Voor 29% gewijzigd door trinite_t op 19-05-2005 19:45 ]

The easiest way to solve a problem is just to solve it.


  • LauPro
  • Registratie: Augustus 2001
  • Laatst online: 07:25

LauPro

Prof Mierenneuke®

Een pty zoals je ze wil gebruiken is voor zover ik weet virtueel, bijvoorbeeld voor sshd waar je niet direct verbinding maakt via hardware. Mogelijk dat Gentoo het voor standaard users de zaak binnen een soort van wrapper opent, waardoor je ook een pty nodig hebt.

Ik heb zelf de PTY die de kernel mee levert helemaal uitgezet (legacy stuff), standaard staat het aan voor zover ik weet. Maar er is nog wel ergens een optie die wel aan moet blijven dacht ik, even zoeken.

Inkoopacties - HENK terug! - Megabit
It is a war here, so be a general!


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
zou het ook aan de udev settings kunnen liggen?

The easiest way to solve a problem is just to solve it.


  • trinite_t
  • Registratie: Maart 2003
  • Laatst online: 06-02 12:23
toch uiteindelijk maar een reboot gedaan..(met wat plaatselijke hulp) en dat lijkt te werken :)

The easiest way to solve a problem is just to solve it.

Pagina: 1