LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-08-2004, 08:17 PM   #1
nazdrug
Newbie
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 8

Rep: Reputation: 0
Logging as Root (Mandrake 10.0)


This is probably one of the most noobest questions to ask, but how do you log in as root?

I can log in through through the shell using "su root" but I want root with a graphical interface. If they took away this feature in Mandrake 10.0, then could someone please help me set up XCDRoast as I get an error when I try run it, "You need a superuser to set it up before anyone else can use it."

Thanks in advance.
 
Old 10-08-2004, 08:32 PM   #2
SSTwinrova
Member
 
Registered: Aug 2002
Location: Dallas
Distribution: Ubuntu 5.04 (Hoary)
Posts: 51

Rep: Reputation: 15
I haven't used Mandrake recently, but you should be able to type in root as the username at the login screen and use root's password to log in via the GUI. If you have it set to log in automatically, log out of the GUI interface then log back in as root.
 
Old 10-08-2004, 09:02 PM   #3
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
Last time I used Mandrake logging in as root, the only GUI it gave was the bar at the bottom...no icons or anything.
 
Old 10-08-2004, 10:08 PM   #4
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Rep: Reputation: 15
if XCDRoast has a CLI then try switching to a diff console (alt F1, F2, ....) and logging in as root there...
 
Old 10-08-2004, 11:15 PM   #5
Water
LQ Newbie
 
Registered: Dec 2002
Location: Here
Distribution: Mandriva, Ubuntu,
Posts: 12

Rep: Reputation: 0
I believe you can log in a terminal. su to root then start xcd roast from the command line?

Maybe someone can verify this.

jdmml:

Didn't catch the "CLI" in your post at first.

Last edited by Water; 10-08-2004 at 11:22 PM.
 
Old 10-09-2004, 09:32 AM   #6
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Rep: Reputation: 15
command line interface
 
Old 10-09-2004, 10:09 AM   #7
nightheart7795
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
the only way to login to root with the graphical interface, is to change the runlevel to 3 at boot. then login as root and startx.
 
Old 10-10-2004, 08:28 PM   #8
nazdrug
Newbie
 
Registered: Jan 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, change runlevel to 3...how?

What's startx?
 
Old 10-10-2004, 08:31 PM   #9
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Rep: Reputation: 15
program that starts up X window system, or whatever its called (makes sense doesnt it:P)
 
Old 10-10-2004, 08:44 PM   #10
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
IF you want to login with the gui in Mandrake all you have to do is go to System -> Configuration -> Kde -> System -> Login Manager and add root. You can choose what gui you want to use at the login screen. Once you get in, you should be able to run any program you want.

Be advised that logging in as root is not a good idea one bit and should be avoided at all cost.
 
Old 10-10-2004, 08:50 PM   #11
jdmml
Member
 
Registered: Jul 2004
Location: Canada
Distribution: Fedora Core 2
Posts: 89

Rep: Reputation: 15
a better idea, so that you dont even have to log into root through a gui, why dont you find out the name of the program, run a terminal in the gui, change to root, then run the program. It will open up the program in a gui!
 
Old 10-11-2004, 04:02 AM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you are not really supposed to log into the GUI as root, but anyway if you insist, the solution is as follows. You need to start Mandrake Control Center, look for a setting to change the display manager and select KDM instead of MDKKDM. Reboot or as root "type init 3" to kill the xserver, login as root again and run "init 5" and KDM should be running.
 
Old 10-11-2004, 04:35 AM   #13
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
There is a command for running graphical programs as root called kdesu

Type 'kdesu xcdroast' in the application launcher. You can also use the 'run command' menu, or press ALT-F2 to enter in the kdesu command.

If there is a program that you need to run often as root, you can drag the icon from the menu onto the KDE taskbar. Right click and select properties. In one of the tabs you can select 'run as a different user' and enter root as that user. Then next time you want to run the program as root, you only need to click on the icon and enter the root password.
 
Old 10-11-2004, 06:08 AM   #14
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
If you are using KDE, the Run As Root add-in might be a solution.
Otherwise, there is really no reason to login as root. Just su to root and run the program from the command line. The less you run as root, the safer. When the program is shut down afterwards, you exit from root status, and you're back. No reason to change runlevels just for that.
 
Old 10-11-2004, 06:24 AM   #15
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Login as a normal user NEVER AS ROOT DO YOU LOGIN TO A GUI.

Go to "K"->Run Command->More Options->Run as different user->PUT IN ROOT USER/PASS->type program to run in window

-or-

"K"->System->Terminal->Konsole
type this
Code:
su -c "COMMAND_NAME_GOES_HERE" &
note the ampersand(&) it will keep your term free whil executing the command
Note: You can issue commands that use a GUI in the terminal
 
  


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
Logging in as root in Mandrake 10 Community rhraz Linux - Newbie 14 04-20-2004 08:41 PM
Logging in as root with mandrake 9.1 Getoutmarine Linux - Hardware 4 12-12-2003 11:42 AM
Logging in as root in Mandrake TheOneAndOnlySM Linux - Newbie 4 07-18-2003 11:29 PM
Logging in as root in Mandrake 9.1 arun79 Linux - Newbie 5 05-26-2003 12:51 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

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

All times are GMT -5. The time now is 03:44 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
Open Source Consulting | Domain Registration