LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2012, 12:31 PM   #1
Speedy624
Member
 
Registered: Dec 2011
Distribution: Leap 42.1 & Windows 7
Posts: 45

Rep: Reputation: 1
Programs freezing unexpectedly and can't access any files


I'm using Slackware 13.37 XFCE and since yesterday my programs seem to randomly freeze, once they do become responsive I open Dolphin and can't access anything.

I click Home, Network, Root, Trash or my other partition and other HDs but nothing comes up, just get a blank white space. At the bottom of Dolphin I get a message stating "The process for the file protocol died unexpectedly".

Can someone shed some light on this error and how to prevent it from happening again?

I have not installed any new hardware or software and haven't made any changes to my system.
 
Old 02-10-2012, 01:32 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
I'm using Slackware 13.37 XFCE and since yesterday my programs seem to randomly freeze, once they do become responsive I open Dolphin and can't access anything.
Speedy,

Xfce does not run admirably under KDE 4 as it was under KDE 3. It is a long story to try solve that misdemeanor of desktop in the current Kde 4 situation. I have experienced the similar events when i was running Slackware 13.37 (xfce). I have downgraded to Slack 13.1 just to be able to use Xfce, until I found Salix OS. If you really love Slackware and Xfce try Salix 13.37, it is based on, and highly compliant to, Slackware 13.37. Salix 13.37 has liveCDs for each popular fast DEs. If you want you can download an installer iso here.

Quote:

Can someone shed some light on this error and how to prevent it from happening again?
Try the KDE community forums here.
 
Old 02-10-2012, 09:47 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You can test whether it's an XFCE issue by running xwmconfig before starting X and switching to another window manager, such as Fluxbox or KDE.
 
Old 02-10-2012, 11:23 PM   #4
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Speedy624 View Post
I'm using Slackware 13.37 XFCE and since yesterday my programs seem to randomly freeze, once they do become responsive I open Dolphin and can't access anything.
Possibly failing memory or hard disk. First thing is to make sure you have backups. Then try a Live CD to see if you have similar problems.
 
Old 02-12-2012, 05:01 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Do you have any disk partitions that are full? Or really close to full?

Last edited by Richard Cranium; 02-12-2012 at 05:02 PM. Reason: Can't spell.
 
Old 02-12-2012, 09:12 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
"The process for the file protocol died unexpectedly"
The message is KDE specific and is kio related. The message occurs when a kio slave connection is lost. Finding the root cause requires learning which kio process has lost its file connection.

For example, a desktop wallpaper that is stored on a network drive and the network connection is lost. Some people have had similar issues when using a slide show desktop wallpaper with very large file sizes and the hard drive can't deliver the next image fast enough. Another example is a file connection is lost because permissions change and access to the file is restricted or lost. When these types of events occur a timeout occurs, although there is no actual error, and the kio process interprets the delay as a lost slave connection. Once the kio process halts anything related stops too.

Check disk space where the KDE temporary files are stored. Traditionally the two non-persistant temporary locations are in /tmp and the persistent temporary location is /var/tmp. Those default locations can be overridden through the use of the $TMP and $TMPDIR environment variables. So, for example, if $TMP/$TMPDIR is mapped to tmpfs, which is mapped to RAM, and the tmpfs area is filled to maximum, those locations become full and then KDE apps no longer can store temporary data.

As you say the problem is recent then try to recall anything you might have done in the past few days with respect to reconfiguring your desktop. Possibly KDE4 apps and kio processes don't play well in Xfce so finding the root cause might require a slow methodical process of disabling various KDE services, enabling one at a time, and waiting for the freeze.

As precautions, an old KDE trick that never hurts, but might not be related, is to log out of KDE and delete the KDE cache files. Another trick, although you primarily use Xfce, is to login to KDE and ensure sessions are not being saved.

As other precautions, you might want to run a full hard drive fsck (as root: touch /etc/forcefsck and reboot). Possibly reseat the RAM sticks too.
 
Old 02-13-2012, 12:35 PM   #7
Speedy624
Member
 
Registered: Dec 2011
Distribution: Leap 42.1 & Windows 7
Posts: 45

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Richard Cranium View Post
Do you have any disk partitions that are full? Or really close to full?
Slack partition is 56% empty, root is 16% empty and backup HD is 35% empty. My other HDs and partitions have more space available.

Quote:
Originally Posted by Woodsman View Post
Check disk space where the KDE temporary files are stored. Traditionally the two non-persistant temporary locations are in /tmp and the persistent temporary location is /var/tmp. Those default locations can be overridden through the use of the $TMP and $TMPDIR environment variables. So, for example, if $TMP/$TMPDIR is mapped to tmpfs, which is mapped to RAM, and the tmpfs area is filled to maximum, those locations become full and then KDE apps no longer can store temporary data.
How would I safely delete everything from those locations without causing any problems to my system?


Quote:
Originally Posted by Woodsman View Post
As you say the problem is recent then try to recall anything you might have done in the past few days with respect to reconfiguring your desktop. Possibly KDE4 apps and kio processes don't play well in Xfce so finding the root cause might require a slow methodical process of disabling various KDE services, enabling one at a time, and waiting for the freeze.
I have not changed anything for weeks apart from installing a couple of programs, Audacity and Bluefish. As for disabling the services I have no idea how to do so.

Quote:
Originally Posted by Woodsman View Post
As other precautions, you might want to run a full hard drive fsck (as root: touch /etc/forcefsck and reboot). Possibly reseat the RAM sticks too.
Not really sure if I want to run "touch /etc/forcefsck" as "fsck" tells me my hds are mounted and "WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)?"

This issue only seems to be when using Dolphin and I've been trying to create the problem in KDE, Fluxbox, Openbox and XFCE and can't seem to do it, seems very random and unpredictable. I do have Thunar installed but that does not show any of my other partitions and HDs so I can't access anything from any HD apart from my Slack partition.

I did ask how to delete all the KDE programs in a previous thread as I had too many programs installed. Does Fluxbox or Openbox use KDE programs?
 
Old 02-13-2012, 02:58 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
How would I safely delete everything from those locations without causing any problems to my system?
If you start X from the command line (run level 3), then exit X.

If you login from a login manager, then logout, switch to a console (Ctrl-Alt-F6), login as normal.

The files you want to delete:

$HOME/.kde/cache-$HOSTNAME/ksycoca*

Quote:
As for disabling the services I have no idea how to do so.
System Settings > Startup and Shutdown > Service Manager

Quote:
Not really sure if I want to run "touch /etc/forcefsck" as "fsck" tells me my hds are mounted and "WARNING!!!
You have to reboot.

As root, type 'touch /etc/forcefsck'.
Logout.
Reboot.

Quote:
Does Fluxbox or Openbox use KDE programs?
Not directly. KDE programs will be available when the user wants them, but there are no KDE dependencies.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Machine shutdown unexpectedly unexpectedly pinga123 Linux - Newbie 1 02-25-2011 03:48 PM
problems with programs freezing krammer Linux - Hardware 0 04-28-2008 07:30 PM
linux programs can't access files on fat32 partition? Valkyrie_of_valhalla Linux - Software 5 07-29-2006 08:27 PM
Freezing Python Card programs Hal Programming 1 04-11-2005 04:59 AM
Help, Programs are freezing during install iceache Linux - Software 0 12-19-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration