I have been using Ubuntu 10.04 LTS for several months and recently the system has stopped closing down cleanly. It starts okay and runs just fine, but when I come to closing down it doesn't do anything after I've clicked on the shut down button. The same happens with the restart button. I have been closing the system by pressing the power button on the front of my tower. I have no idea as to why it won't close ... I haven't installed any extra software, so I guess it's a system problem. Closing down by pressing the power button cannot be doing the OS any good, so I could do with a fix ASAP on this one.
Several times now my PC with Ubuntu 10.04 LTS installed wont close down. I click on all the appropriate buttons but the system doesn't shut down. I have to press the on / off button on the computer to end my session.
This is gopal,I am phasing problem in closing emulator in linux.After completion of successful execution if i am trying to close the emulator it wont close only choice is to force quit.
I recently purchased a dedicated server and have been having trouble with putty. I have been using the server to try and host the game called minecraft. Hosting the server is not a problem however. What is the problem is being able to exit putty without stopping the server. I looked this up, and it sayed to create a screen. I did that after installing screen. I then created a screen, ran the server, then tried to disconnect using the ctr-a-d.However only two things happen when i push the buttons. The majority of the time the window just closes, along with my server stopping. The other thing that happens is putty just stops. I cant type in anything, but I am still notified when I try to close putty.
I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ??NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??
I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful should be locking the laptop when closing the lid (Win + L in windows), or running expensive processes such as antivirus analysis etc. without doing it manually before closing the lid.
I am using putty to interact with Linux server. I have started a process using putty. The process is running and will take 5-6 hours. I want that process to keep running after I close the putty session. How can I keep that process alive after closing the putty session? I do not want to keep the computer ON all the time. Is there any way to do this?.
I run the ping command using system() in C. It start pinging the desired destination but when I close my application it continues to ping. Is there any solution that as soon as I close my application it also stops pinging. Any change required in my C code?
Any time i try to open skype it closes out fully in 5 seconds (not even in the processes anymore). I don't know why or how OR how to make it stop being so mean to me! i'm running ubuntu 10.4 32bit . I tried to boot it in safe mode and umm.. it froze? or crashed? well it was on the black screen with the blinking dot for like 20 mins before i gave up on it (Hiting enter or esc or anything didn't work). There was a key symbol on my panel before skype acted up(It closed and disabled something.. i've never seen it before). Adobe also crashed, and linux did a small update (nothing with skype).
I have a script which takes a file as input and reads it in while loop cuts the name of table and stores in a variable opens DB connection and queries for rowcount in that table closes the connection reads another file and then follows step 1 through 4 till EOF is reached. Now this script is taking longer to execute maybe because the DB connection is opened and closed each time.
My scripts is:
Code:
#!/bin/ksh cat logcountOP | while read LINE TBLName=`echo $LINE|cut -d "-" -f1`
[code].....
I was thinking of changing this.I want to open the DB connection just once and then query it for all tables and then exit.
If a file is opened from the common prompt with something like: gedit somefile & Is there a way to close somefile while leaving the instance of gedit still open? My idea is that sometimes I will have more than one file open in gedit. I run a script daily that updates to a log file. The log file is then opened and viewed with gedit.
When I open a pdf file (e.g., beamer file) using xpdf, there's an annoying window on the left displaying section headings. Presumably it's possible to close it, ideally toggle it closed and open with a key binding, but I can't find out how to do this.
I like to start Emacs as part of a login script and leave it running for the duration of my login session (which is typically weeks).
I have scripts to call emacs-client which will allow me to use a file-manager or Windows Explorer to locate files and right-click to edit them in Emacs.
I often end up with a lot of emacs windows (frames) open and I like to just be able to close them by clicking on the MS-Windows or KDE X button at the top-right.
The trouble is, if the window is the last one, this will shut down emacs which will lose all kinds of interesting history information.
As a work-around I use C-x 5 0 which won't let me close the last frame but this is often not as convenient as using the mouse
Does anyone know how to configure Emacs so that it can intercept the Window-Close button of the last frame to either request confirmation or simply disallow it?
On MS-Windows, disallowing closing of the last window may cause logoff to hang if emacs is still running but I'm not too worried about that.
When I close the lid on my Dell Mini 9 (Ubuntu 10.04 UNR) the sysgtem freezes. Is there anything I can do to prevent this? That didn't happen with 9.04 UNR.
Is there a way to stop conky from closing when I click on it? I have a few set up as a system monitor bar on the desktop, and I'd like to anchor them there from accidental clicking so I don't have to restart my script.
I have some screen questions. First, can you give screens names (such as whatever app you're screening), and second, how do you exit from a screen without closing the app (ie exit screen back to the command prompt, do your thing, then screen -r it)?
I recently noticed my RAM problem. When I start any application it increases RAM usage but even after I close it RAM usage doesn't go down. Instead when I restart that application RAM usage goes up again. Using ubuntu 10.10
how could I can stop and close all program for no activity (when screensaver is activating, or after 1 minute of no activity on computer)
I want to use Ubuntu for public free (no password and no limit) and want to close program if somebody leave open firefox after 1 minute of no activity so it will back desktop page.
I tried Kubuntu and it have a nice function that not closing all programs when shutting down ("not closing" explicitly) . So if I start the Kubuntu the next day, all the program will appear in the same state. in my Ubuntu, when pressing "shut-down", a message box pops asking : "Are you sure you want to close all programs and shut down the computer?" and I press "yes" (cause you are not leaving me any choice! [the other option is "cancel"] ).
I tested 11.04 beta 1 on one of my computers and was happy to see VmWare workstation 7.1.4 to work fine on it. Then I decided to upgrade my most frequently used computer to 11.04 beta 2, but I can't get VMware to work properly. When I click on some of the function button such as start a VM or maybe change a setting VMware just closes. I can't figure it out, I've tried it with Unity, Gnome with effects, Gnome without. Nouveau driver, Distro nVidia driver, downloaded nVidia driver, and VGA driver. It was nothing to do with Video driver, but that is about the only hardware difference with the other machine that works, it has Intel Video.
Long-time Unix/Linux user, just got a new Xubuntu box set up to be a fileserver using SAMBA. I've noticed that every 8 minutes or so, the fileserver will disconnect any user currently accessing any files. My first instinct is to unload the GUI and tackle it from the terminal command line. However, every time I try to close out Xubuntu using "sudo init 1" I get taken to the Xubuntu splash screen and the box will no longer respond to any commands. I can post any relevant information requested about the system, build, and version.
For the past 3 days skype has been giving me problems for some reason. I start it, the sign in screen shows up and like 5 seconds later it closes, I check if the process is still running but it's not so it just shuts down. I've tried uninstalling it from synaptic package manager, then installing it again and it's still doing me this.
I am encountering a Problem with the TeamSpeak server that I host on my Ubuntu Machine. The Problem I'm having is that when I restart the Computer before Stopping the Service from the Terminal, The Server would encounter an error the next time it is started.
I would like to know if there is a File somewhere that is run when the User want to Reboot or Shutdown the PC, or if I can write a script that runs before Shutting down.
so i start it with ssh -f -R 4096:localhost:22 me@server.com and it comes up and someone can log in at the remote end. how do i close the tunnel from the initiating end ? netstat doesnt seem to identify my end of the tunnel , unless im looking for the wrong thing!
I'm trying to add a network printer. I went to Admin > printing > New...It started searching for printers, then brought up a "New Printer" box... So I expand Network Printer, and go to "windows printer via SAMBA"When I hit browse, it shows my workgroup, so I expand WORKGROUP, and it shows the PC thats sharing the printer... however, soon as I expand that PC thats sharing the printer, the WHOLE thing closes out Printer configuration, new printer, SMB browser, all of it closes as if i killed the process or something... I can even refresh and try expanding workgroup again and it'll close out