LinuxQuestions.org
Help answer threads with 0 replies.
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 08-24-2009, 01:44 AM   #31
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205

try "su halt"

your login name name dose not become root with su
and there a few programs that will only run for root

Last edited by rob.rice; 08-24-2009 at 01:49 AM.
 
Old 08-24-2009, 01:48 AM   #32
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
try "su -c halt"

"su -" and "su" are very different.

Last edited by mRgOBLIN; 08-24-2009 at 01:52 AM.
 
Old 08-24-2009, 10:48 AM   #33
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
you can mess up a system just as badly with su as you can running as root
for one or two commands su is just fine but more than that I login as root
 
Old 08-24-2009, 12:18 PM   #34
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
If the root account was not meant to be used then it wouldn't exist.
No-one is saying it's not ok to log in as root or use root to do system administration.
I agree. As I mentioned in my soap box, I am configuring and testing an eventual HTPC, which requires a lot of administrative work during this stage. In such an environment, I don't have time to play the su game. I just don't care for the religiosity that I am not supposed to work as root.

Quote:
Creating and using a non-root user for day-to-day activities is a good practice and should be encouraged.
I agree. With my office box I always log in with a normal user account. Yet frequently during the day I su to root to perform various administrative tasks. Again, the point is that working as root is not risky. Crossing a busy street is far more risky. The point is basic human carelessness and ignorance. Working as root provides no barriers to those everyday human characteristics. Experienced and knowledgeable users know that and move on with life. They don't preach. I don't think twice about typing many commands, but when I type something more complicated I tend to stop and read what I have typed. Again, I just don't care for the religiosity that I am not supposed to work as root.

Usually newbies are the ones who start crying about root. The people who use distros specifically designed for inexperienced computer people seem prone to such behavior. Experienced computer users seldom act that way. The experienced and mature user might offer some brotherly advice, but rarely preaches.

I've been using computers longer than many people at LQ have been alive. Yes, I've done some silly things with computers but no more or less than in other facets of life. I just detest religiosity. What I do with my computers is my business and what others do with their computers is their business. Live and let live.
 
Old 08-30-2009, 06:13 PM   #35
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
To get back on-topic.
I get these Akonadi errors about Dbus and QMYSQL (which seems to be installed) and yes, I did remove .kde and .kderc. Logged in as user gives the same errors. The earlier mentioned solutions don't work (there is no /usr/local/share?).

It's a fresh -full- install.
Anyone?
 
Old 08-30-2009, 06:42 PM   #36
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
Originally Posted by adriv View Post
To get back on-topic.
I get these Akonadi errors about Dbus and QMYSQL (which seems to be installed) and yes, I did remove .kde and .kderc. Logged in as user gives the same errors. The earlier mentioned solutions don't work (there is no /usr/local/share?).

It's a fresh -full- install.
Anyone?
I had that problem in the "root" account but not a normal user account. I solved the problem for "root" by editing a file. The file is under ".local" (that has a dot in front and is hidden). You have to turn on the option to show hidden files in order to see ".local".

The file that I edited for root is this one.

/root/.local/share/akonadi/mysql.conf

Immediately following the line with "[mysqld]" add this line.

user=root

Log in to the root account a few times. I think that I had to let it rebuild the database but it eventually was able to start up Akonadi.

If you have problems with other user accounts I recommend that you rename the "akonadi" folder to "akonadi.old" under ".local/share". If that fixes the problem then you can eventually delete "akonadi.old".
 
Old 08-30-2009, 07:04 PM   #37
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Thanks for the reply, but that doesn't do the trick unfortunately.
Still the same error about not being able to connect to MYSQL server and Dbus.
 
Old 08-31-2009, 06:53 AM   #38
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Solved it. Removed practically all .files and .folders in /home/ and now it works.
 
  


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
LXer: Testing Fedora 10 KDE Edition LXer Syndicated Linux News 0 12-02-2008 04:40 AM
KDE (system) notifications not working (KDE 3.5.8)(Debian:Testing Branch)) kevinbenko Linux - Desktop 2 03-30-2008 12:15 PM
Can xfce4 and kde play together on testing/etch? arobinson74 Debian 5 08-20-2006 07:14 PM
KDE and Gnome freezes at startup (testing) Ephracis Debian 2 01-07-2006 04:20 PM
Gnome menu mixed with KDE in Debian Testing Underhill Debian 1 09-14-2005 06:15 PM

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

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