LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-24-2004, 06:44 PM   #1
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Rep: Reputation: 30
ifup breaks x programs


I just did a clean install of mandrake 10. I chose not to start the network at boot. Therefore, when I need to go online, I do (as root):

ifup eth0

Following this, I am online (correctly). HOWEVER, I cannot open any X programs; I get an error message stating:

Cannot connect to X host on [primary DNS IP]

What is misconfigured?


(Second question: how can I allow non-root users to execute the ifup eth0? Is it safe to sudo ifup??)

Thanks
 
Old 08-25-2004, 09:31 AM   #2
bluefire
Member
 
Registered: Oct 2003
Distribution: Mandrake 10
Posts: 160

Original Poster
Rep: Reputation: 30
I was at work when I wrote this and remembered the error message wrong. When I try to start an X program immediately after ifup, I get:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0


Everything works perfectly before ifup is run. If I log out to kdm and then back into fluxbox, X programs work perfectly. The reason that I know it's trying to open an X program on my primary DNS is that the hostname on my CL prompt changes to adsl-[primary dns ip] after ifup is run. Help!
 
  


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
ifup?? yenonn Linux - Networking 9 11-16-2005 07:41 PM
no ifup command Present Slackware 10 03-02-2005 10:21 AM
where is my ifup/down? syreth Slackware 4 09-13-2004 08:06 AM
ifup-lo recovery ehawk Linux - Networking 0 06-23-2004 04:19 AM
eth0 ifup warmongr Linux - Networking 2 04-29-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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