Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 01-16-2005, 04:18 AM   #1
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Rep: Reputation: 15
can't launch programs as root

Hi all

In Suse 9.1 Pro, I can only start programs (from konsole) as normal user. If I, for example, try to run amarok as root, I get 'bash: amarok: command not found'. As normal user, it's no problem.

This is quite annoying because if I want to edit a file with 'kate', I must start is as normal user, but then I don't have permission to change anything in the files I open.

Also, I'm trying to install pango-1.8.0 for the moment. At the beginning of the install, it tries to run the command 'glib-mkenums'. I run the compilation as root, so it says it can't find that command.
I can run it as normal user, but then it says I don't have permission to execute this. So, basically, I can't install this program (and many others) , unless I can make sure root finds all it commands, like the normal user does.

Can anyone help me out. I guess it has something to do with the PATH or the shells.
Thx in advance.
Old 01-16-2005, 07:35 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
SuSE requires you to use
sux -c command
rather than su. This will keep certain environment variables that you need to use to run programs as root with SuSE's security settings.
Old 01-16-2005, 07:59 AM   #3
Registered: Feb 2004
Location: Belgium
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 140

Original Poster
Rep: Reputation: 15
I've just tried this, but it doesn't work. 'Command not found', it says.
Old 02-10-2005, 11:28 AM   #4
LQ Newbie
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0

I did not try this sux -c method.. as I did not know about it at the time, but I too was having difficulty compiling PANGO 1.8.0 and getting the glib-mkenums problem, having SuSE 9.2 professional. I was using the regular su command to act as root. I logged off of my regular user entirely and logged into my root user and tried it and was successful in compiling pango.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
auto launch programs at login desmondtm Linux - Newbie 1 12-01-2005 04:51 PM
Scripting help. How to launch 2+ programs simultaneously. ColKurtz Linux - Newbie 2 02-18-2005 06:14 PM
programs attempt to launch twice mgmcc Linux - Newbie 13 01-10-2005 09:14 AM
how to launch programs on internet connect? zeedoo Linux - Software 4 07-12-2004 04:08 PM
How to launch new programs ? mdcooper Linux - Newbie 3 03-04-2003 10:34 AM > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:14 PM.

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