Trouble launching prgrams in KDE when connected via PPP

I'm a newbie - When I'm connected to my ISP via KPPP in KDE, I cannot get anything new to launch - no terminal, nothing. Hang-up (but leave kppp open) and everything launches okay. Mandrake 6.1, fresh install using defaults, no system configuration changes made by me. Any ideas, or at least where to look? Thanks
poohsanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NickCommented:
:-)  I had the same problem.

Here's the link to my post and the reason/cure.  It's a Doh! problem.  Mind you, I still have some work to do, as  I still get a few processes that 'don't ' start.

http://lc.experts-exchange.com/Computers/Networking/Linux/Q_10264080.html

Nick
0
jlevieCommented:
What happens is that your local IP/hostname is changing when you connect to your ISP. The X server started (on a machine w/out a NIC) on localhost (at 127.0.0.1), but when ppp came up the machine acquired a different IP and hostname. As a result all programs that you try to launch fail as they appear to be comming from the new IP/hostname, which to the Xserver looks like a remote machine.

A simple way to fix this is to make sure that localhost has permission to access the X server (via xhost +localhost before starting Kppp each time or by creating the file /etc/X0.hosts containing localhost) and setting your DISPLAY env var to be "localhost:0". Make "localhost" be exactly as it is in /etc/hosts, typically you'll see:

127.0.0.1      localhost
or
127.0.0.1 localhost.localdomain

In the latter case substitute "localhost.localdomain" for "localhost' in the above.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
poohsanAuthor Commented:
Thanks. I vaguely remembered something about display and :0 from my days as an engineer with a rs6000, but I've been dumbed down by too many years of using NT.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.