LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2004, 11:53 AM   #1
ADJenkins
LQ Newbie
 
Registered: Oct 2003
Location: S-Wales UK
Distribution: Mandrake 10
Posts: 10

Rep: Reputation: 0
Question Unable to run app as root


Hi All, My first post as a Newbie so please be gentle.

Q1: I've installed and have happily been using the gentoo file manager. The executable is in the usual /usr/local/bin. When running as normal user it works fine. If I run KDE as root then clicking on the executable (or adding a link for it) results in nothing. If it was the other way round I'd suspect permissions but this way doesn't seem to make sense.

Q2: I've discovered the CTRL-ALT-F1(F2...F3) switching method but if I have a user account running KDE on F7 and try to run another KDE (under F2 for example) I get a server error. Is it possible to run two sessions of KDE (one user and one root) at the same time?


Andrew Jenkins.
 
Old 05-22-2004, 12:57 PM   #2
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Re: Unable to run app as root

Quote:
Originally posted by ADJenkins
Hi All, My first post as a Newbie so please be gentle.

Q1: I've installed and have happily been using the gentoo file manager. The executable is in the usual /usr/local/bin. When running as normal user it works fine. If I run KDE as root then clicking on the executable (or adding a link for it) results in nothing. If it was the other way round I'd suspect permissions but this way doesn't seem to make sense.

Q2: I've discovered the CTRL-ALT-F1(F2...F3) switching method but if I have a user account running KDE on F7 and try to run another KDE (under F2 for example) I get a server error. Is it possible to run two sessions of KDE (one user and one root) at the same time?


Andrew Jenkins.
A2:

startx -- :1

That runs X on X display 1, for switching use F8 I think, the one for F7 is X display 0.
 
Old 05-22-2004, 10:20 PM   #3
DropSig
Member
 
Registered: Apr 2004
Location: Saskatchewan
Distribution: Ubuntu, Centos
Posts: 208

Rep: Reputation: 30
wich display would it be for F6?
 
Old 05-22-2004, 10:38 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
F1-F6 are commandline displays
F7 and F8 are the first and second graphical displays no matter which console they were started from.
 
Old 05-23-2004, 05:16 AM   #5
ADJenkins
LQ Newbie
 
Registered: Oct 2003
Location: S-Wales UK
Distribution: Mandrake 10
Posts: 10

Original Poster
Rep: Reputation: 0
Aeiri: You've lost me there. Just tried startx --:1 (and most other numbers) and I get the same "Fatal server error". startx --help just does the same. If I start the system up and use the tty1 terminal to sign in and type "KDE" (or startx) then my KDE gui runs on tty7 (CTRL-ALT-F7), I understand this is normal. Switching to tty2 - tty6 gives me a nice new login prompt but tty8 is a blank screen. If, as you say, 8 is the second gui terminal how do I get a second KDE (preferably running as root) onto it?
 
Old 05-23-2004, 05:21 AM   #6
smokylux
Member
 
Registered: May 2004
Location: Luxemburg
Distribution: Fedora Core 2, SuSE 9.1 Pro
Posts: 43

Rep: Reputation: 15
Hi there!

I think you missed the blank in the command:

startx -- :1 (there is a space after --)


smokylux
 
Old 05-23-2004, 05:23 AM   #7
henryg
Member
 
Registered: Aug 2003
Location: London, England
Distribution: Slackware 10.2
Posts: 182

Rep: Reputation: 32
what application are you trying to run as root?
 
  


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
Unable to run a GUI app as root using su? vharishankar Linux - General 7 05-25-2005 08:08 AM
Run My APP Under a user other than root working2hard Programming 7 10-11-2004 05:48 PM
non-root user unable to run tomcat with usb ports mar38 Linux - Software 0 07-21-2004 02:45 AM
Unable to run xfree86 unless logged in as root kdepa Linux - Security 9 02-28-2004 03:58 PM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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