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 04-08-2004, 09:16 AM   #1
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
KDE command work as user, not root.


Why can I type a KDE command at the CLI as user but not as root? For example, if I type "kwrite" at the console as a user, kwrite pops up, but if I type "kwrite" as root, bash says there is no such command.
 
Old 04-08-2004, 10:30 AM   #2
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
As it turns out I can't do any KDE stuff as root. I tried to adjust the clock; I entered my password then absolutely nothing happend. Is my Slackware install broken?
 
Old 04-08-2004, 10:43 AM   #3
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Okay, it's some kind of PATH problem. My user PATH is:

/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/home/mooreted/OpenOffice.org1.1.1/program: /opt/kde/bin/:/opt/www/htdig/bin:/opt/kde/bin:/usr/lib/qt-3.1.2/bin:/usr/share/texmf/bin:.

My root PATH is:

/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin

I set the former PATH in /etc/profile which is supposed to be global. How do I get a path to all my applications as root?
 
Old 04-08-2004, 10:58 AM   #4
WoodLark
LQ Newbie
 
Registered: Feb 2004
Location: South Carolina
Distribution: Slackware et. al.
Posts: 29

Rep: Reputation: 15
Look for a .profile in your home directory and check how it sets the path.
 
Old 04-08-2004, 01:12 PM   #5
mooreted
Member
 
Registered: May 2003
Posts: 598

Original Poster
Rep: Reputation: 30
Thanks for the reply. I give. I have spent 2 years screwing with Linux. I have better things to do with my time then spend hours and days trying to get things to work. I have gone back to Windows 2000 Pro. At least everything works out of the box.

Later.
 
Old 04-08-2004, 01:18 PM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
Originally posted by mooreted
Thanks for the reply. I give. I have spent 2 years screwing with Linux. I have better things to do with my time then spend hours and days trying to get things to work. I have gone back to Windows 2000 Pro. At least everything works out of the box.

Later.
LOL, you'll be back!! when Uncle Bill starts extorting money for stupid upgrades/updates due to M$ programmers incompetence and failure to
plugup holes and exploits......you'll be back!!
 
Old 04-08-2004, 02:21 PM   #7
WoodLark
LQ Newbie
 
Registered: Feb 2004
Location: South Carolina
Distribution: Slackware et. al.
Posts: 29

Rep: Reputation: 15
Sorry to hear you're giving up on Linux. I use Windows every day at work. I would rather be using Linux, but Windows keeps bread on the table.
 
  


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
root user has command start_fish_server b_s Linux - Security 4 06-09-2005 03:28 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Need a command so that non-root user can see interfaces that are up/down ming0 Slackware 5 02-02-2004 05:49 PM
got ALSA to work in root, need help getting it to work in my user profile ic3 Slackware 2 11-28-2003 10:32 PM

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

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