Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-16-2005, 11:56 AM   #1
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Launching file browser as root

Debian won't let me log in as root...

How do I launch the file browser as root? I can su in the console window but having to do everything via cli is starting to get tedious.

At the minute the restrictions imposed on my current user are stopping me from doing anything

I want to be able to delete stuff through the file browser without being told I don't have permission. If I delete something I shouldn't have it's my own stupid fault - its a single user machine so there's no one else to worry about.
Old 05-16-2005, 12:01 PM   #2
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
Look for "FileManager - SuperUser mode" under , system - filesystem - other in the K menu. Not sure where it is in Gnome as I don't use it.
Old 05-16-2005, 12:10 PM   #3
LQ Newbie
Registered: May 2005
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
I'm using gnome, thanks for the quick reply though.
Old 05-16-2005, 04:53 PM   #4
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
From terminal do:
su -c "nautilus"

Or create a desktop launcher with the command: "gksu -u root nautilus"
Dbl-Clicking it will prompt you for root password and than launch the file manager.

Having said that, I think you should really get used to using cli when ever something needs to be done as root. This creates a good separation between the user and root'll never forget "who you are" at any given moment

Last edited by yotamk; 05-16-2005 at 05:16 PM.
Old 05-18-2005, 04:25 PM   #5
Registered: May 2005
Location: Germany
Distribution: sidux, Debian, Ubuntu
Posts: 30

Rep: Reputation: 15
another way would be using midnight-commander, something "inbetween" cli and "real" gui.

apt-get install mc

then in terminal type as root "mc" and you can easily delete files/dirctories/whatever.
but be careful...
Old 05-19-2005, 07:30 AM   #6
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
Nonsense, give nautilus the suid bit and have the real fun like in windows.
Old 05-19-2005, 09:42 AM   #7
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Logging in and running programs as root would be most unwise. It's better to use "su" or "sudo" or "gksu" or something similar that gives you only temporary root privileges. Also, it would be smart to make backups before editing or deleting important system files.

Some users may think that always logging in as root makes running Linux easier but actually it creates many problems because GNU/Linux is not meant to be used that way. Also solving such problems can be extremely difficult. Personally I hold the sinister view that users who create their own problems by constantly misusing the root account -- be the reason ignorance, carelessness or laziness -- are beyond anyone's help.

Last edited by Dead Parrot; 05-19-2005 at 10:23 PM.
Old 05-19-2005, 04:11 PM   #8
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
I agree with DeadParrot - running as root should only be done in specific, limited situations (such as installing new software) but otherwise you should run as a regular user. If you are getting error messages due to permissions issues, my recommendation would be to take a few minutes to determine why the message is being generated rather than to do a brute force override. To say it another way, Linux doesn't throw error messages just for the heck of it, instead, there's some valid reason for it, and it would be worthwhile to determine what that reason is. Naturally, it's your system and you can use it whatever way you wish, however, I would suggest that it would be time well spent to deal with the cause rather than just the symptom. Good luck with it either way -- J.W.
Old 05-20-2005, 04:01 AM   #9
Registered: Apr 2005
Distribution: Becoming Sid
Posts: 142

Rep: Reputation: 16
I never log as root and nearly never use the suid bit (except for reboot and poweroff) and only use su when really necessary, but I agree with lazymanc when he says "If I delete something I shouldn't have it's my own stupid fault".

Who am I for saying people what they should or shouldn't do? I like Linux because it allows me to do everything I want to do, if I want to disable cd autolaunch I can do it (I continue waiting for someone telling me how this can really be done in windows xp because if you tell him "don't do anything when I insert a cd" it continues reading it trying to know it's contents and with a bad cd reader it's a nightmare) and if I want to use a window manager other than kde or gnome I can do it and if I want to be able to manage my files with complete freedom I can do it, so give nautilus the suid bit and do all you want to do.

Maybe one day he'll damage his information and will understand why such things should'n be done or maybe not, but nobody will die in the try.
Old 05-20-2005, 04:22 AM   #10
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4, Suse 9.3
Posts: 186

Rep: Reputation: 30

Ya know xukosky, I only came across this post through aKregator and I am appreciative of your humor. You're right, we can do anything in Linux and that includes break things. I've only been at this for 6 months and I have broken so many things, which is how I have learned the most.

Finally, I have learned to do everything as user unless it's a systemwide change. In those cases I have grown to love Midnight Commander. Anyway, I'm just wasting time.

I enjoyed your post.


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
Error launching gnome apps as root: " Failed to contact configuration server" Kropotkin Fedora 1 12-16-2005 12:11 PM
Launching a program as root without using the terminal Crushing Belial Linux - Software 2 11-20-2005 11:38 PM
Auto-launching a file in Linux(Debian) on booting kushalkoolwal Programming 3 11-06-2005 07:46 PM
Launching apps under Root User Name MDBlueIce Linux - Software 2 08-20-2004 06:15 AM
Browser only works on root account MONA Slackware 8 04-30-2003 12:03 PM

All times are GMT -5. The time now is 12:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration