LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-22-2004, 08:49 PM   #1
dtpmike
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
I can not run X as root, only as user


Just like the title says. I can only run X as user...

I was trying to install some games and installed several packages, but I think the problem is most likely following the instructions on a thread about how to add items to your main menu. Sorry I cant give a link since I have under 5 posts.

How can I fix it so I can log in as root and run X?
 
Old 11-22-2004, 09:04 PM   #2
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
The question at hand is, why would you want to run X as root. I think a search in these forums and google will bring up heaps of issues with it.

Run X as a normal user, then when you need to, su - to root and install you packages.

man su to read up on the command. Another usefull switch is su -c "command"

Let me know how you go

-Kristijan
 
Old 11-22-2004, 09:11 PM   #3
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
Check:

AllowRoot=true

is in /etc/gdm/gdm.conf

Although, what Kristijan said is the better way to do it.
 
Old 11-22-2004, 09:12 PM   #4
dtpmike
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I guess it was a bad habit to have been running X as root, but I want to fix the problem still.
 
Old 11-23-2004, 12:12 AM   #5
rdeeming
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Editing /usr/share/config/kdm/kdmrc
AllowRootLogin=true
did not fix this but thought it would.

Interesting note is that the kdmrc makes reference that the default is true yet FC3 install is set to false.
 
Old 11-24-2004, 04:45 PM   #6
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
Quote:
Originally posted by rdeeming
Editing /usr/share/config/kdm/kdmrc
AllowRootLogin=true
did not fix this but thought it would.
I may be wrong (new to Fedora, but not linux), but by default FC3 uses gdm not kdm so this would not work.

You need to change AllowRoot=true in /etc/gdm/gdm.conf
 
  


Reply


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
Want to run vmware as non-root user Cerbere Linux - Software 5 01-10-2007 01:01 PM
Do you run as root or user and why? aysiu Linspire/Freespire 7 10-04-2005 02:19 AM
Run My APP Under a user other than root working2hard Programming 7 10-11-2004 05:48 PM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
cannot run realplayer as any other user but root xone Linux - Software 6 03-25-2004 09:53 PM

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

All times are GMT -5. The time now is 03:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration