• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

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
0
poohsan
Asked:
poohsan
1 Solution
 
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
 
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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now