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 03-11-2006, 11:49 PM   #1
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Rep: Reputation: 15
user profiles


I am a little baffled.

I had to turn off my computer for 30 minutes, and when I went to turn it back on I ended up hitting the reset button on my powerbar.
Needless to say, Slackware does not like to be powered off suddenly.
Once I was able to load slack again, I signed into my user account and all my settings have been changed = fonts, I lost my panel that I added to the right of my screen, my theme has been defaulted back to the original KDE.
I am under the suspision that there are user folders where I can try and recover my settings. the catch is that I dont know where they are as I am still a full-fledged NEWB.

If any one understands what I am describing and knows how to assist I would appreciate the help.

 
Old 03-12-2006, 12:31 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The local settings are normally saved in the ~/.kde directory. What I suspect happened is that the contents became corrupted and the system replaced the corrupt information from the skeleton files used to setup new users.
It's live and learn I guess. You can just apply your new changes and make it better then it was before!
 
Old 03-12-2006, 12:34 AM   #3
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
ive had lots of things go bad in my system when the power goes out unexpectedly.

isnt this a huge downfall, compared to windows, that you loose, sometimes critical, data? and in my case, power on the computer to a now unfunctional system? i had to reformat because of it (the hardware is fine though).

in windows when this happens, i have never lost any data or files that i had.. iv always wondered why linux is so much more sensitive to an abrupt or unscheduled power off? i think work needs to be done in that area to prevent data loss.. even in events like power outages.

Last edited by nadroj; 03-12-2006 at 12:35 AM.
 
Old 03-12-2006, 01:22 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I think that is because in windows you can't access/change processes which are running. However, it can be done in Linux in runtime. So power lost sometimes corrupt them.
 
Old 03-12-2006, 10:56 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I've found just the opposite. With Windoze I've lost entire files from a crash. Never lost anything in Slackware. In fact, just last week some dipstick turned off all our circuit breakers when he posted the power bill outside the front door. There were 4 Slackware boxen running, one a server, and not one file was lost or corrupted on any of them ... except for maybe the one box running KDE, where sometime recently the system sounds quit working.

There is a common denominator here ... KDE ... poorly coded DE.

 
Old 03-13-2006, 12:09 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
thanks Alien.. what you said makes sense.

Chinaman, i dunno.. what can i do different to prevent this then, if yours never messes up (slack)? and plz note, im not trying to make this a windows vs linux point.. i really want to know why it does get messed up, and how i can prevent it.. because i dont like the idea of my entire OS being destroyed, because the power went out.
 
Old 03-13-2006, 12:11 PM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Try using UPS.
 
Old 03-13-2006, 12:14 PM   #8
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
the point is, i dont need one or use one in windows.. and during power failures, the system and all of its files are fine.
in linux, as you mentioned, the files can get corrupted after an abrupt power short. is the only solution to pay money and get a ups? it doesnt make any sense to me that i would have to.. does everyone else here have one?
 
Old 03-13-2006, 12:24 PM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I don't have one. It was only a suggestion. Don't know a sollution(maybe journalling filesystem is the best). Files also get corrupted in windows but windows does aka "presave" which sometimes helps to get earlier versions of them.

Last edited by Alien_Hominid; 03-13-2006 at 12:25 PM.
 
Old 03-13-2006, 12:57 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Perhaps it is because I use ReiserFS in Linux.
It's a journaled filesystem. Which do you use?
 
Old 03-13-2006, 02:16 PM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
when i install linux i use reiserFS as well.
 
Old 03-13-2006, 03:28 PM   #12
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Unlike Windows, GNU/Linux GUIs run on top of the operating system. That is, users can run GNU/Linux without a GUI, much like the old days of DOS 6.x and Windows 3.x. Therefore I like to maintain two separate boot options in my boot loader menu so I can boot more easily into runlevel 3 (command line) or runlevel 4 (GUI). With both options always available to me I can more easily troubleshoot. Possibly the following might help:

Configuring Slackware for a GUI and a Command Line Startup

Quote:
Needless to say, Slackware does not like to be powered off suddenly.
True, but if you use a journaling file system, which you do, then usually you can recover during the next reboot. Additionally, at the command line you can type touch /etc/forcefsck and the Slackware boot scripts will see this file and then force a file system check on all partitions.

Quote:
. . .all my settings have been changed = fonts, I lost my panel that I added to the right of my screen, my theme has been defaulted back to the original KDE.
I never have seen KDE corrupt that horrifically. Perhaps I'm just lucky. However, KDE does some basic housekeeping when exiting the GUI and shutting down. From my experience and observation, most of the problems occur with all the temporary files KDE creates. Most of those files are soft linked to files in /var/tmp/kdecache-username, /tmp/kde-username, /tmp/ksocket-username, and /tmp/mcop-username. Usually you can delete those files without serious issues. Also, KDE sometimes gets confused if the files ~/.ICEauthority, ~/.Xauthority, and ~/.DCOPserver* already exist when you next try to run KDE. Thus, manually deleting those files before launching KDE sometimes is helpful. This is an area where booting into runlevel 3 is nice because then you can clean house manually if necessary before starting KDE. I'm not a command line die-hard, and I tend to use Midnight Commander to manage and delete files from the command line.
 
Old 03-14-2006, 09:02 AM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
KDE is so buggy I'm not interested in using it. It's similar to
Windows GUI in that things get changed without user participation,
even such things as sound. I use Fluxbox, and where I live there
are power outages for unexplained reasons, such as some dipstick
turning off the breakers. Though I run an UPS on each PC, sometimes
we're not here to shut them down. And the only one that has ever
had a problem is the one running KDE. The Fluxbox machinese never
do, nor does the headless server not running X.

I think if you ever get to the issue, you'll find it's KDE.
 
Old 03-14-2006, 09:21 AM   #14
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
I'm a bit late to this conversation, but I would suggest that the reason you lost all your config is not due to "corruption" or filesystem problems, but, rather, the way in which KDE works.

Quote:
all my settings have been changed = fonts, I lost my panel that I added to the right of my screen, my theme has been defaulted back to the original KDE.
I would guess that you'd only just set this lot up and hadn't exitted KDE since doing so. As Woodsman pointed out, KDE does basic housekeeping on exit - and by exiting ahead of schedule, you could've caused this apparent "horrific corruption", which is nothing more than the equivalent of loosing unsaved work.

Quote:
I think if you ever get to the issue, you'll find it's KDE.
I couldn't've said it better.
- Piete.
 
Old 03-14-2006, 09:33 AM   #15
Thanotos
Member
 
Registered: Oct 2005
Location: Nanaimo, BC. ~CANADA~
Posts: 70

Original Poster
Rep: Reputation: 15
Sorry I am so late in posting my appreciation for the reply's.

The thought of KDE and having to safe files makes sense to me. Howver If I am in a position where I rarely have to reboot or shutdown my system what are some actions that I can perform in order to force a save or create something to backup my settings.

It appears that no other user on the system has had the same issue as me.

Now that I think about it a little there were two times that I had to restart my box and settings were fine. And I am not sure if I mentioned it in my first post, but kde was not even loaded yet when the power was turned off.

Any way - thanks again. Live and learn - all is good.
 
  


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
User profiles stuff Plankt Slackware 4 01-10-2005 11:33 AM
Firefox User profiles.. toffi22 Linux - Software 2 12-04-2004 07:26 AM
backing up user profiles bunnyknight13 Linux - Newbie 2 08-29-2004 09:05 PM
Network User profiles KHAAAN Linux - Networking 1 07-30-2004 04:34 PM
User Profiles Question r_a_smith3530 Linux - Newbie 1 11-27-2003 01:16 PM

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

All times are GMT -5. The time now is 03:08 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