Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH+screen - Verbindungsabbruch -> andere Terminals freezen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
hreic
n00b
n00b


Joined: 14 Jul 2006
Posts: 14

PostPosted: Fri Jul 14, 2006 11:53 am    Post subject: SSH+screen - Verbindungsabbruch -> andere Terminals freez Reply with quote

Hallo!

Per SSH logge ich mich von unterwegs aus über UMTS auf meinem PC zuhause ein und attache eine screen-Session. Bricht die SSH-Verbindung ab, weil ich zum Beispiel in ein Funkloch komme, verbinde ich mich neu und attache den selben screen wieder. Für kurze Zeit funktioniert noch alles, nach wenigen Sekunden friert allerdings das "Fenster", das auf der "alten" Verbindung angezeigt wurde, komplett ein. Screen läuft weiter, also ich kann Fenster wechseln, killen, etc.

Ich lasse ja auch irssi über screen laufen. Szenario:
Chatten über irssi, Verbindungsabbruch, neue Verbindung, geht noch, wenige Sekunden vergehen, Screen-Fenster friert ein

Ich vermute, dass irgendein Buffer voll läuft oder Ähnliches.

Was kann ich tun?

Vielen Dank,

Holger
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Fri Jul 14, 2006 1:37 pm    Post subject: Reply with quote

Die alten ssh prozesse killen.
Kommt bei mir auch manchmal vor. Ich weiss nurnicht warum manche sshd prozesse sich beenden, andere nicht.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Fri Jul 14, 2006 3:12 pm    Post subject: Reply with quote

Nimm folgendes in deine /etc/screenrc (oder .screenrc) auf:
Code:

nonblock 1
defnonblock 1

Einer der beiden Parameter (oder beide zusammen) sorgen dafür, dass ein toter Prozess deine screen-session nicht mehr blockiert.

PS: Umlaute im ersten Post gefixt, bitte beim Posten darauf achten, dass ISO-8859-1 verwendet wird und nicht UTF-8, sonst gibt es Buchstabensalat. ;)
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Fri Jul 14, 2006 7:43 pm    Post subject: Reply with quote

Danke amne. Warum sagst das eigentlich nicht gleich :D
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sat Jul 15, 2006 2:04 am    Post subject: Reply with quote

Dank geht an den Herrn swegner, von dem hab ich das.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum