General :: Ssh Sessions In Xterms Freeze For Many Minutes Whenever They Disconnect?
Jun 2, 2010
If I ssh to a remote machine and then lose internet connectivity, the session freezes. I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so.
There must be some way to force it to abort the remote ssh session when connectivity is lost. I'm on a Mac but I believe this happens on cygwin or linux as well.
View 2 Replies
ADVERTISEMENT
Aug 6, 2010
I have a usb wireless card called "edimax ew-7318" i used it for a year and it was great- worked out of the box. recently i've been having repeating disconnect problems every few minutes or seconds it will disconnect and then reconnect again
In system log i get:
Code:
It seams like a physical hardware problem but i cant find any physical fault on the card itself.
View 4 Replies
View Related
Aug 19, 2011
My KDE sessions freeze randomly- while only doing some basic work, browsing etc. Keyboard and mouse do not respond and I can just do the hard reset. how do I find what might be wrong? Where in the logs do I look??
View 2 Replies
View Related
Aug 26, 2010
I've just installed Ubuntu 10.04 on a AMD processor with a nvidia graphic card in dual boot with windows xp. First the live-cd was already freezing after a couple of minutes so I had to install Ubuntu with the alternate cd. Now it freezes whatever I do after 2 or 3 minutes. I had exactly the same problem with the 6.04 version but I had only to remove powernowd from /etc/init.d/ to make it perfectly working. But unfortunately this file seems not to be there in this version.
View 4 Replies
View Related
Oct 14, 2010
I am a Ubuntu user since a few years (Breezy Badger was my first) now but I still don't know much about computers or commands so please bear with me. I used 10.04 on my HP pavillion PC of two years old without any problems. Now I upgraded to 10.10 with update manager. And it boots fine, but whatever I do, after aprox. 10 minutes everything just freezes. And I don't remember the magic phrase for soft reset, so I hit the power button.
I have searched the forums and could not find a satisfactory answer to my problem. I found this thread [URL] but have no idea how to do what's requested. Could anyone please tell me what to do?I know how to open a terminal, and type a command or two but that's basically it.
View 2 Replies
View Related
Aug 6, 2010
Ive recently switched over to AT&T Uverse TV/Internet service and I've noticed that when I ssh into my linux( 2.6.18-194.3.1.el5xen CentOS) server I get disconnected. When I'm using putty it gives the "network error software caused connection abort" error. When I'm at work using one of our jump servers and ssh'ing from the command line it will freeze up from time to time but never disconnects. I think the problem is either with the OS or the new AT&T modem. At first I had my CentOS server using DHCP and it would disconnect within a few minutes after I ssh'ed. I switched over to a static IP and now it goes about 10 minutes before it disconnects. It doesnt matter if I'm actively typing or not, so it's not an inactivity issue. I have the firewall turned off on my laptop, and since the issue happens on multiple devices, including my iphone I dont think thats the issue.
I have iptables and selinux turned off/disabled so thats not it. In putty I have enabled Keep Alive(30 seconds) and it still disconnects. I opened the port on the modem to allow ssh for the IP of the linux server. Ive also recently reinstalled this server with CentOS so I can't compare with the previous internet provider as I didn't reinstall until after I switched over. BUT previous installs with CentOS 5.2 worked fine with the previous ISP. AT&T Modem is a 2wire 3800HGV-B
View 5 Replies
View Related
Mar 25, 2010
Linux and ubuntu. second my computer is single os with ubuntu 9.10. the problem i have is trying to watch any thing streaming media. Movies, music, like from ....., divx, or even megavideo which seems to work best right now.
What happens is that the video or firefox it self seems to freeze up every 10 minutes or so.
It may be that i need to increase the buffer memory size but i do not know how to.
I have updated my computer and firefox and installed and updated any possible add-ons that would fix the problem.
What im asking for is either a patch or add-on that will help this problem or how to run windows inside of ubuntu. (Im am tired of windows and ubunu has made my computer work so much faster, when i am sure that i know how to make this computer stable with what i need for internet use i will apply it to my other computer.)
View 3 Replies
View Related
Jul 22, 2011
today i've installed kubuntu with wubi for windows 7 on my hp pavilion dv6 with processor Intel Core i7 Q720 @1.60GHz with 4 Gb of RAM @ 64bit with NVIDIA Geforce GT 230M but i've had some problems.Infact the system continued to freeze after some minutes due to overheating so i restarted the computer and the Bios told me that to prevent damage to internal components the computer has been freezed. I repeated the process and i checked out the temperature with the desktop widget and it actually reached after some minutes 80-85� C so i cleaned the computer and the temperature turned back to normal (50-60�C) but the problem continued to exist! After several minutes the computer freezed again and the BIOS told me the same things he told me before (90� and computer freezed due to prevent damage for overheating).
View 1 Replies
View Related
Mar 15, 2011
I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.
I narrowed down the problem to the following command line:
$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav
Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?
Since the machine's restart, I've also noticed dmesg is flooded with entries like this:
CE: hpet increased min_delta_ns to XXX nsec
Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?
View 2 Replies
View Related
Nov 19, 2010
I switched to fedora to learn. I also purchased several vps (virtual private servers) so I could hack away and not destroy my pc. well I would like to do the following...let me call one server A and the other server B
Put to terminals on my top panel. when I click on A I will automatically via ssh be taken to the server A online and when I click on B (the second xterm icon) I would like to be taken to vps B. Ideally I would also like to bypass my password and just go in a root to both as again these are just things I got to learn on.. I don't know where to start but it sure seems like something that would be possible. Of course I don't care if I am clicking on the terminal icon or a program that just launches the appropriate terminal..
View 2 Replies
View Related
Sep 5, 2010
I'm using KDE because it allows me to customize my window management more than Gnome. I come from a background of TWM, CTWM, and then the various KDE versions.I recently upgraded my main desktop from hardy to lucid, and kde4 is a bit strange to me. First, my session-managed xterms seem to start with a $PWD=$HOME/Documents when I login. I really want them to start in $HOME. Where can I adjust this? I've managed to figure out how to get rid of this nonsense in quicklaunch, but I don't know where session managed xterms are started from.
I also have one of these silly 16:9 monitors, so I have a lot more horizontal space to waste on icon managers than vertical space, so I like to put my panel on the left edge of the screen. Is there any way to make the taskmanager use the text from a window's titlebar rather than the icon? I've looked at a few replacement taskmanagers, and none seem to give as much information when run vertically as the kde3.5 taskmanager did.
View 1 Replies
View Related
Jan 19, 2010
I am checking something out in my connection and I just wanted to ask, is there a way to auto-disconnect and connect from the internet.For example say I want to disconnect now and reconnect to the internet in 0.05 seconds, is there any program that does that on Fedora Linux?
View 1 Replies
View Related
May 9, 2011
I have a long-running process that was started in bash terminal on Debian. Unfortunately it wasn't started inside screen.
Is there a way to disconnect this process from current console and connect to it from screen?
View 1 Replies
View Related
Jan 15, 2011
I'm using openvpn under linux OS which is Fedora Core 14, in the folder "/etc/openvpn" i put 5 files which belongs to the network server that I should connect to, files are :
two files with the extension ".crt"
two files with the extension ".key"
one file with the extension ".conf"
Now, when I issue the following command (as root) :
Code:
/etc/init.d/openvpn start
It asks for my username & password to the network server, & after I entered the required authentication information, I successfully login, but I get disconnected automatically after two or three seconds.
- I connect to the network without any disconnection or problems under windows
- I use openvpn version "openvpn-2.1.1-2.fc13.i686"
- there was a bug in my OS "Fedora core 14" which is that I cannot activate or deactivate any ethernet cards, which solved by disabling NetworkManager in all run levels
- I disabled iptables
- I disabled selinux
- I got this error in /var/log/messages file when I disconnect from the openvpn network "
Jan 15 21:45:15 ViRuS openvpn[4143]: script failed: could not execute external program
Jan 15 21:45:15 ViRuS openvpn[4143]: Exiting
Jan 15 21:45:15 ViRuS avahi-daemon[1494]: Withdrawing workstation service for tun0.
- I couldn't find the file called "/etc/openvpn/update-resolv-conf"
View 4 Replies
View Related
Oct 7, 2010
I have two questions :
1) Is it possible to truncate the file content , not to drop the file ? i.e, I want to just delete a file's content only, not to drop the file .
2) I can find the connectd user using command 'w' or 'who' . Now How can I force disconnect a session from the list of 'w'/'who' command ?
View 1 Replies
View Related
Jul 26, 2011
I installed Fedora Linux and I am using GNOME. I've created a vpn connection and is connected to the server without problem (Please see attached photos); But after being connected, Upon opening the site ,Vpn will automatically disconnect.
View 1 Replies
View Related
Apr 30, 2011
i have installed ubuntu 11.04 linux by wubi (windows 7 ultimate is the other operating system). after some logins it started disconnect from internet.
View 11 Replies
View Related
Apr 1, 2010
I've just started experimenting with SSH tunnels. I wanted a way to connect to MySQL on our website VPS but wanted the connection encrypted rather than just using PHP's mysql_connect() function and connecting to the remote IP. This seems to be working great. I'm also looking into autossh to make sure that the tunnel gets reconnected when it drops.is there a command/utility that can list the currently active SSH tunnels? Be great if there was a way of terminating an active tunnel through a command as well. Or is it a case of manually digging through the process list and killing the specific PID like I have been?
View 1 Replies
View Related
Mar 14, 2011
I'm thrilled using wicd to connect to wireless networks. But when I suspend my laptop using the special keys, I just want to disconnect from wireless without having to use any kind of GUI or curses user interface. It says in the documentation that wicd works by sending DBUS messages, so presumably it's possible to write a command that talks to the daemon directly.But I can't figure out how.Does anybody know by means of what shell command I can tell the wicd daemon to disconnect me from my wireless network?
View 2 Replies
View Related
Mar 9, 2011
I am using tcp for data transmission between 2pcs running linux.During transmission, I have noticed that if I unplug the network cable and reinsert it quickly,connection is not lost(same as i expect)and the sender start to resend the packet after 5s(what i expect is that network packets sent immediately after quick physical disconnect and reconnect).My question is can i reduce 5s to 0s(resend immediately after network cable reconnect)?Any parameters(tcp rto,txqueuelength,..) can be modified to achieve this condition?
View 10 Replies
View Related
Feb 15, 2010
How to encrypt the sessions in red hat 4.2.
View 4 Replies
View Related
Aug 10, 2010
I have some heavy, long processes running on remote Linux machines. I use my laptop to SSH to these machine and run the processes from my couch.
BUT, when I want to shutdown my laptop, I am in trouble since the remote processes are killed.
I did my research and found out that "screen" is a great solution for me, it is! (As long as I don't SHUTDOWN my laptop). Isn't there a way to "persist" the "screen" sessions so I can shut it down and then re-attach to a session?
View 7 Replies
View Related
Nov 17, 2010
I am working on a x86 target running fedora 9.
Whenever I reboot it, my history returns to some state, and I do not have commands I did in the sessions before the reboot.
What I have to change to have updated history I had before reboot?
View 2 Replies
View Related
Mar 1, 2011
Usually we require vnc to take remote sessions. There was one another i think it was called xdrp or xrdp. I am asking this out of curiosity, is there any way to take remote sessions using http. Like in web conferencing, we invite users to join the conference and then we are able to share desktop. Is there any way to do this on one-to-one basis ? is such a technology exists for linux (for any disto) ?
View 1 Replies
View Related
Jul 26, 2011
I am running a vsftpd and I need to log in using ftp> with 2 different users at the same time to download some files and test the load
View 5 Replies
View Related
Jan 17, 2010
I was wonding if there was a way to change from Gnome to KDE without rebooting.
View 3 Replies
View Related
Feb 18, 2011
I am no longer working on the Linux-machine directly, but I'm using Windows puTTY to get a terminal-session. Within that puTTY window I want to switch (or maybe create first) several sessions between which I can switch arbitrarily. I have read about using Ctrl-Alt-Fn, which doesn't work, most likely due to the puTTY interface. I have tried chvt n, which doesn't do anything either (or that it seems). I have tried "bash &" and got bash in the background, which I could call forth using fg, but then had to stay with that and couldn't switch anywhere. Only option was "exit". So, what's the correct way to get several sessions in that puTTY window and switch between them?
View 2 Replies
View Related
Jun 4, 2010
I have a Ubuntu 10.04 fresh installation on my HP laptop. Installation successful and boot OK. But the desktop randomly freeze. During freeze(about 15s each time), all programs are not responsive. Sometimes I can switch program by click, but program seems locked. How can I know which module cause the freeze?
View 4 Replies
View Related
Oct 10, 2010
Firstly, what's the best way to execute commands on startup, cron? Can I use su in a shell script to switch between different users, if so how?
How do I create several detached screen sessions on startup? screen -A -m -d -S test ./script.sh seems like it should work but using it in a script started by cron doesn't show any screen sessions running after booting.
It looks like the screen session is closed after the command finishes executing, can I keep it open so I can see the output?
View 3 Replies
View Related
May 24, 2010
I'm running Slackware 13 - xfce4 and I got a new session in background. How could I see that session and use it? In backtrack I'm doing it via sessions in terminal but im Slackware 13 session command doesn't exist.
View 2 Replies
View Related