Ask Your Question

How to log in as root in KDE interface

asked 2015-03-03 10:51:23 -0600

Orriginal gravatar image

updated 2015-03-03 11:48:50 -0600

mether gravatar image

OK, another Newbie question..please forgive me And befire i go any firther, I DO understand the issues with logging as root and the awful things that can happen lol Have been using PC's as admin in windows for over 17 years. SO..I am running Fedora21 on a PC with 1 x SATA drive and a 29160 SCSI controller with 2 disks the Fedora 21 installationn is on the SATA drive and has failed to mount the Scsi disks on start up. I have installed a KDE p[artition bit of software but when I start it, it says "Not logged as root" so nothing can happen How can I run this KDE as root ? And all this is so I can access the SCSI disks once the machine is started..using the KDE program to mount them automatically. Anyone fancy letting me know the command line to enter into the FSTAB file ? The disk is listed as /dev/sdc

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-03-03 11:08:05 -0600

cobra gravatar image

The problems with running as root are many fold, especially if you're browsing the internet (the browser runs with your logged in permissions, so that's very very bad).

If you just need to edit fstab, then you can do it from the command line. Open up a terminal window and use:

su -

type your root password when prompted

now you can edit the file with

kate /etc/fstab.

Please rethink your strategy. You really don't need to run all your services and your desktop applications as root in order to do system maintenance tasks.

edit flag offensive delete link more


Thank you for that and YES, I understand that running everything as root is dangerous.. HOWEVER, I would like to run this app and need to run it as root.. I would log out of root afterwards. But while it was kind of you to reply, you have not actually answered either of my questions. No offence meant b thet statement..but I do not know th emount comand so will have to investigate.and do not know how to log in as root while logged in as administreator in my account -the KDE program does not seem to recognise me as ad admin

Orriginal gravatar imageOrriginal ( 2015-03-03 11:31:52 -0600 )edit

No, you've unhelpfully not mentioned which application you're trying to run. The only thing in your question that I can work out about doing as root is to 'enter the FSTAB'. I told you how to do that.

If there's an application, then you can start it in the same way, use the su - command then launch the application by it's name from the command line.

You do realise, don't you, that KDE isn't a program? It's a desktop environment, and hence is a suite of tools and applications.

cobra gravatar imagecobra ( 2015-03-03 11:35:34 -0600 )edit

Question Tools

1 follower


Asked: 2015-03-03 10:51:23 -0600

Seen: 353 times

Last updated: Mar 03 '15