Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-27-2009, 07:41 PM
|
#1
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Rep:
|
Can't open grub.conf/lilo.conf with kate being root
From konsole:
Code:
No protocol specified
kate: cannot connect to X server :0.0
|
|
|
09-27-2009, 08:40 PM
|
#2
|
Member
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Rep:
|
This is because you're logged into your desktop environment as another user. I don't know of a good solution other than logging out and logging back in as root if you want to use kate. Otherwise nano might be more intuitive if you don't like vim or emacs.
|
|
|
09-28-2009, 02:05 AM
|
#3
|
Member
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479
Rep:
|
try kdesu:
kdesu "kate grub.conf"
|
|
|
09-28-2009, 02:54 AM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260
Rep:
|
In your konsole, issue following command:
before typing su.
You can add this to your ~/.bashrc
PS For whatever reason, I don't need this in Slackware63-13.0 (though I don't use kate: I use either nano or geany).
Last edited by Didier Spaier; 09-28-2009 at 03:05 AM.
|
|
|
09-28-2009, 03:07 AM
|
#5
|
Slackware Contributor
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 632
|
konsole in kde3 did support this, konsole in kde4 doesn't. Another solution to all all the already mentioned ones would be to run it from another terminal like xterm for example (instead of konsole)
|
|
|
09-28-2009, 05:41 AM
|
#6
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep:
|
I've never had any problems with kdesu kwrite filename. Maybe it's different with kate?
|
|
|
09-28-2009, 08:26 AM
|
#7
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Original Poster
Rep:
|
kdesu kate grub.conf works.
|
|
|
All times are GMT -5. The time now is 07:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|