LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-17-2009, 06:26 AM   #1
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 25

Rep: Reputation: 15
Post How to start GNOME terminal as root?


How can I start the GNOME terminal logged in directly as root? I would be interested in a panel launcher, or a launcher in the applications menu.
My distribution is Fedora 11 x86_64.

Thank You!
 
Old 09-17-2009, 06:59 AM   #2
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
Quote:
#!/bin/sh
#
#
#This script opens a root-based gnome-terminal in the directory you select.
# You need to have appropriate sudo priveleges.
#Install in your ~/Nautilus/scripts directory.

cd $NAUTILUS_SCRIPT_CURRENT_URI
sudo gnome-terminal

Regards,
JKZfixme
 
Old 09-17-2009, 07:01 AM   #3
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 25

Original Poster
Rep: Reputation: 15
without sudo?

Can't it be done without sudo ?
I managed to open Nautilus as root using beesu... can't a similar thing be used for the terminal or sth?
 
Old 09-17-2009, 07:07 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
I now KDE has a root terminal.
Perhaps someone who uses KDE can paste the command used to open the terminal.
 
Old 09-17-2009, 09:43 AM   #5
archlinux_jessica
Member
 
Registered: Aug 2009
Location: PA USA
Distribution: Arch Linux
Posts: 78

Rep: Reputation: 19
I believe this should work. gksu is a gtk frontend for sudo. I believe the KDE version uses a kde frontend for the same command. kdesu is the kde frontend.

gksu gnome-terminal
 
Old 09-17-2009, 12:00 PM   #6
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 25

Original Poster
Rep: Reputation: 15
No gksu on fedora

There is no gksu on Fedora, only beesu, a similar alternative.
But when I run beesu gnome-terminal from the terminal the following errors occur:

Code:
[tatacalu@leptan1 ~]$ beesu gnome-terminal

(beesu:2734): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

(beesu:2734): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
Failed to contact the GConf daemon; exiting.
Does anybody have any ideea?
How is the security implemented into the launchers from the System->Administration menu [for example] ?

Or... as repo said, cand someone with Fedora KDE paste the command here ?

Thank you
 
Old 09-17-2009, 05:35 PM   #7
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by tatacalu View Post
There is no gksu on Fedora, only beesu, a similar alternative.
But when I run beesu gnome-terminal from the terminal the following errors occur:

Code:
[tatacalu@leptan1 ~]$ beesu gnome-terminal

(beesu:2734): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

(beesu:2734): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
Failed to contact the GConf daemon; exiting.
Does anybody have any ideea?
How is the security implemented into the launchers from the System->Administration menu [for example] ?

Or... as repo said, cand someone with Fedora KDE paste the command here ?

Thank you
You're running KDE? Okay, will you accept a fully functional alternative?

$ kdesu konsole

If you're running KDE, why are you trying to use a Gnome superuser dialog to launch a Gnome shell application?
 
Old 09-18-2009, 01:32 AM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,511

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Quote:
You're running KDE? Okay, will you accept a fully functional alternative?
$ kdesu konsole
If you're running KDE, why are you trying to use a Gnome superuser dialog to launch a Gnome shell application?
The OP is using GNOME
 
Old 09-18-2009, 03:46 AM   #9
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 25

Original Poster
Rep: Reputation: 15
Gnome 2.26

I am running GNOME 2.26
 
Old 09-18-2009, 08:11 AM   #10
paulo.monk
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
Did some quick search and this is reported as an gtk | glib bug.
Which version of these are you running?
 
Old 09-18-2009, 08:57 AM   #11
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 25

Original Poster
Rep: Reputation: 15
Gtk / glib

I am running Fedora 11:
* GTK+ 1.2.10-68
* GTK2 2.16.5-1
* GLIB 1.2.10-32
* GLIB2 2.20.4-1

I assume that they are as close to the latest stable packages as I can get, as I am updating my packages as often as the updates come out.
 
  


Reply

Tags
gnome, root, terminal


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
when rebooting the machine it start into another terminal not in root KapilSatav Linux - Wireless Networking 1 08-11-2009 11:28 AM
How to become root on gnome FC 8 without use of terminal. Azazwa Linux - Newbie 6 04-15-2009 12:52 PM
Gnome Terminal Start Path kcirick Linux - General 1 01-20-2007 03:10 AM
How to Start Gnome Terminal from keyboard lumba Linux - General 5 07-14-2006 07:43 PM
Gnome terminal does not start...? perry Linux - Newbie 0 11-21-2003 05:41 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration