LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 09-17-2009, 07:26 AM   #1
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 24
Thanked: 0
Post How to start GNOME terminal as root?


[Log in to get rid of this advertisement]
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!
linuxfedora tatacalu is offline  
Tag This Post , ,
Reply With Quote
Old 09-17-2009, 07:59 AM   #2
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu & Solaris
Posts: 232
Blog Entries: 15
Thanked: 13
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
windows_xp_2003 jkzfixme is offline     Reply With Quote
Old 09-17-2009, 08:01 AM   #3
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 24
Thanked: 0

Original Poster
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?
linuxfedora tatacalu is offline     Reply With Quote
Old 09-17-2009, 08:07 AM   #4
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,534
Thanked: 444
I now KDE has a root terminal.
Perhaps someone who uses KDE can paste the command used to open the terminal.
linuxdebian repo is offline     Reply With Quote
Old 09-17-2009, 10:43 AM   #5
archlinux_jessica
Member
 
Registered: Aug 2009
Distribution: Arch
Posts: 72
Thanked: 6
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
windows_xp_2003 archlinux_jessica is offline     Reply With Quote
Old 09-17-2009, 01:00 PM   #6
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 24
Thanked: 0

Original Poster
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
linuxfedora tatacalu is offline     Reply With Quote
Old 09-17-2009, 06:35 PM   #7
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835
Thanked: 136
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?
linuxfedora lutusp is offline     Reply With Quote
Old 09-18-2009, 02:32 AM   #8
repo
Senior Member
 
Registered: May 2001
Location: Belgium
Distribution: Debian/GNU Linux
Posts: 4,534
Thanked: 444
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
linuxdebian repo is offline     Reply With Quote
Old 09-18-2009, 04:46 AM   #9
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 24
Thanked: 0

Original Poster
Gnome 2.26

I am running GNOME 2.26
linuxfedora tatacalu is offline     Reply With Quote
Old 09-18-2009, 09:11 AM   #10
paulo.monk
LQ Newbie
 
Registered: Dec 2008
Posts: 13
Thanked: 0
Did some quick search and this is reported as an gtk | glib bug.
Which version of these are you running?
linux paulo.monk is offline     Reply With Quote
Old 09-18-2009, 09:57 AM   #11
tatacalu
LQ Newbie
 
Registered: Apr 2006
Location: Brasov, Romania
Distribution: Fedora 11
Posts: 24
Thanked: 0

Original Poster
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.
linuxfedora tatacalu is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 12:49 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration