LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-09-2011, 03:07 PM   #1
rusty2
Member
 
Registered: Aug 2005
Posts: 65

Rep: Reputation: 15
openSUSE 11.4 - trouble getting into gedit, kwrite, emacs from terminal as su


Has anyone had a problem being su in a terminal and not being able to get gedit or kwrite or emacs to load? None of these will get passed an opening error which comes up.
 
Old 05-09-2011, 07:32 PM   #2
xzcallaway
Member
 
Registered: Oct 2008
Posts: 33

Rep: Reputation: 4
What is the error which shows up?
 
Old 05-10-2011, 02:34 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,811
Blog Entries: 58

Rep: Reputation: Disabled
In Gnome with gedit:
Code:
gksu gedit whateverfileyouwanttoopen
In KDE with kwrite:
Code:
kdesu kwrite whateverfileyouwanttoopen
 
Old 05-10-2011, 03:18 PM   #4
rusty2
Member
 
Registered: Aug 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Whoops....forgot all about gksu and kdesu.....will try and report back.

Was trying merely in the terminal....'su' ....password....."filename"....

Thanks.
 
Old 05-10-2011, 03:37 PM   #5
rusty2
Member
 
Registered: Aug 2005
Posts: 65

Original Poster
Rep: Reputation: 15
Ok. Just tried your suggestions. Remember I'm in Gnome.....

The system under terminal does not recognize the command 'gksu' and wants me to use 'cnf' to search for it upon which it does not show up.

On the other hand, if I enter 'kdesu' kwrite or gedit, no questions about password first come up, and I go write into superuser kdesu or gedit.

So, that means that any user could enter superuser mode. Not good.

If I go back to 'su' and then password and then say, gedit, I get the following:

GLib-GIO:ERROR:gdbusconnection_c:2279:initable_init:assertionfailedconnection->initialization_error == NULL

But, now, of course I can get into my target file with 'kdesu.....

Any ideas? and Thank you.
 
  


Reply


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
emacs+gnome-terminal+KDE+openSUSE - ctrl+arrow keys not working openSauce Linux - Software 4 04-03-2009 04:31 AM
Fedora 9 gedit fails if launched as root from terminal itstootuff Linux - Software 5 10-28-2008 12:56 PM
" KWRITE / trash bin / terminal emulator " issues vm_devadas SUSE / openSUSE 1 06-04-2007 12:22 PM
Alt no longer META key when using in-terminal option of Emacs (emacs -nw) frznchckn Linux - Software 1 06-02-2007 02:41 AM
Trouble compiling gedit-2.8.2 and kdelibs-3.4.0 EvilGnome Linux - Software 0 04-04-2005 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 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