LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-17-2005, 07:50 PM   #1
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
Sudo and X11 programs


On my Slackware 10.0 laptop, I can run X11 programs using sudo just fine, i.e. "sudo ethereal". On my new Gentoo box, it tells me that GTK can't find the display. I tried making a symlink to the .Xauthority file in my $HOME directory, but that didn't work either. I never really configured anything in Slack; it "just worked". Any ideas?
 
Old 05-17-2005, 08:42 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Original Poster
Rep: Reputation: 30
Ok, I apologize for wating bandwidth, but maybe someone can learn from my lack of patience.

There is a section in the /etc/sudoers file called "Defaults". In my Gentoo box, it was set to reset environment variables. But in my Slack box, it was not. I removed it from the Gentoo box, and it works like a charm. I hope this may help someone.
 
  


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
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM
Core 4 - X11-devel complains about X11-libs which are installed Ephracis Fedora 3 09-05-2005 09:32 AM
Can't sudo from programs ngan_yine Slackware 2 10-31-2004 08:57 AM
can't run X11 programs from xterm Sin-D Linux - General 4 12-18-2003 11:55 AM
Roaming X11/Xfree86, X11 proxy zapp Linux - Software 1 09-12-2003 08:06 AM

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

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