LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 08: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, 09: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


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


All times are GMT -5. The time now is 08:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration