LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2008, 12:41 PM   #1
din
Member
 
Registered: Nov 2006
Posts: 53

Rep: Reputation: 15
Problem running application.


Hi.
I installed gparted to learn this program and to see how
it works.
But, when i run it i get error message :
"Root privileges are required for running GParted"

It should give me "run as" window with root option.

How do i fix it?

thanks.
 
Old 03-30-2008, 01:35 PM   #2
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Code:
su -c gparted
or
Code:
sudo gparted
if you have sudo configured.
 
Old 03-30-2008, 01:46 PM   #3
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
hi.
i know how to run it:

with user: xhost +
su
gparted

But, why it's not run properly ???
 
Old 03-30-2008, 02:33 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
The `xhost +` solution is a pretty big security flaw I think. It's better to use `su -c gparted` in a terminal (or `kdesu gparted` for a more graphical solution if you use KDE). Try those and report back -- I would strongly advise against using `xhost +`, since it grants X access to everyone that can access your PC (including outsiders). You *could* in theory use `xhost +user` or `xhost +localhost` (I think -- the syntax may be wrong since I've never actually used it, but the general idea is right), but it's still WAY better to just use su, sudo or kdesu (which is just a graphical su).
 
Old 03-30-2008, 02:42 PM   #5
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
Hi.
OK. 'su -c gparted' - also work. I will use it.
Thanks for tips.
 
  


Reply



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
Problem in running swing application in RedHat 9.0 sunilrai Linux - Newbie 1 06-24-2005 04:37 PM
a problem in running application (g_thread_init_glib) phoenix7 Mandriva 0 05-08-2005 02:50 PM
running problem of gtk application sonu1082 Linux - Software 0 11-03-2004 10:12 AM
Problem running Foxpro Application in Linux Desktop aanand Linux - Software 4 07-10-2003 05:18 PM
running an application JSP Linux - General 0 03-12-2002 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration