can I recover from disk full - without reboot ? can't open display
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
can I recover from disk full - without reboot ? can't open display
Fedora core 2 + freshrpms.
Tried to open a very large gif in gimp. The gimp temp file filled the / partition; ie zero bytes free.
My first thought was to clear the /tmp folder, which gave some errors on open files, but got me a few 100 k back. I then moved a large downloaded file of the drive that allowed me to have 150M free.
I was doing some stability testing by running:
mplayer --nosound with a playlist of mpg files.
xmms with a 48 hour playlist.
----
Following morning, the machine is still responding, but mplayer had exited, and xmms was stuck/locked. My other desktops have limewire running OK, ggv with pdf file open. and mozilla has multiple windows open. I can still web browse OK. However, mozilla can open new windows !
Problem is that I can't start any gui apps at all. Clicking gnome icons, displays starting eg same gnome icon, but it hides after 7 secs without opening applcation.
Luckily I have some gnometerm windows open. I was able to nuke xmms with kill (process no).
trying to start any x app waits about 5-10 secs, and says:
$ xmms
** CRITICAL **: Unable to open display
$
----
Can I do something other than restarting X (ie logoff/on) to get it back ?
Can I instruct a running app (limewire that I don't want to kill (its java based)) to change the display it's using to an vncserver session ? Then I could relogin and re change the running app back to my new login ?
gimp temps: file|preferences|folders
mine was: /home/me/.gimp-2.0/tmp
by the way restarting gimp removes the crashed temp file.
hmm couldn't find it with find (gnome), is this because it is hidden ?
it is possible to stop the X enviroment, but then your graphical programs stop.
What you can do is to go to init level 3 and the look what is still running from the init 5 level.
How well like this:
go to a console, if possible: in your X press CTRL+ALT+F2
your console should appear.
now logon as root, go to init level 3 (init 3) this is also the level where there is still network support.
look with ps -ef at all running processes. if something of X is still running, kill it.
and go back to init level 5 (init 5) and X should start again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.