Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-14-2009, 12:25 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 9

Rep: Reputation: 1
Starting new terminal window or tab from existing window remaining as root?

Hi all,

I almost always open several terminal windows or tabs and "su -" to root in each of them, so I can compare output from one terminal window while working in a 2nd, 3rd, etc.

Is there a way to open a 2nd, 3rd, etc terminal window or tab from the first terminal window such that I am already logged on as root, either from the command line or with mouse operation. I've tried running bash and xterm with no success.

Also, I am constantly starting gedit &, kwrite &, nautilus &, fdisk, cfdisk, etc from the command line as root. It would often be more convenient to stay in the GUI to start these apps as root. I am also testing different distos and would like to know of a method that works across all or most distros to open file managers, text editors, etc from such things as the run menu (alt-F2) as root. It is so convenient to use gksu and kdesu, but they don't seem to be available in most distros.


Old 08-14-2009, 12:34 PM   #2
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
It's done for security reasons, if you want to do heavy editing as root log in as root. I wouldn't advice it, though I do it time from time if things aren't working and I need quick access to edit the system. Normally I do as you are doing, running things as root. You could get gksu, graphical run as for different users. It can save the root pass for the current session so you can keep running programs without typing in the password. As for being logged as root automatically I wouldn't know any good ideas, I don't do it for the same reasons that most people probably don't. =P sorry, but gksu is a good investment.


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
[SOLVED] Firefox - can't open second window/dupe a tab to a new window. Used to work. GrapefruiTgirl Linux - Desktop 4 06-24-2009 09:27 PM
Difference between a Shell terminal window and the KDE Linux Console terminal window? bostonantifan Fedora 2 03-25-2007 08:23 PM
Starting a process in a new terminal window RDPrinty Programming 1 03-10-2006 04:49 PM
terminal in the root window phil.d.g Linux - General 17 04-09-2005 05:00 AM
displaying terminal output on root window? mporter Slackware 2 03-21-2003 02:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:47 AM.

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