LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-25-2005, 12:09 PM   #1
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
NO_IPV6 at KDE start


Hi all,
I'm having some trouble getting my Konqueror and other KDE apps to work properly.
After searching around a bit, I found that IPV6 was causing major delays in DNS lookup for me.
I started my X server, hit "export KDE_NO_IPV6=1" then startkde. This solved one part of my problem.
My question is: Where should I set this so it loads the variable automatically when KDE starts?
I tried:
-.bashrc => here it loads in my tty1 and not in kde.
/etc/inittab
/etc/rc2.d/

I can't find a .xinitrc for my user.
I have a feeling debian has a specific file indicating what variables to set when kde starts, but I can't find it. Any ideas?
thx,
 
Old 02-25-2005, 04:41 PM   #2
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
Re: NO_IPV6 at KDE start

Quote:
Originally posted by symen
I can't find a .xinitrc for my user.
well create one
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

export KDE_NO_IPV6=1
startkde
and startx
 
Old 02-26-2005, 12:52 PM   #3
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Original Poster
Rep: Reputation: 15
Got it!
I don't have startx on my system, I tried putting in the script, but it doesnt get loaded at boot, I got it working by putting it in
/etc/X11/Xsession

Thanks for your help anyway!
 
  


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
KDE crashes on start, so does any KDE app... asdfjkl Linux - Software 3 04-18-2006 03:19 AM
KDE start menu breaked on a self-compiled KDE kleag Mandriva 3 09-01-2005 08:17 AM
KDE won't start White Spiral SUSE / openSUSE 2 04-03-2005 02:37 PM
What I can do for start kde? gtk2 Debian 3 10-25-2004 11:09 AM
KDE won't start Zoltar Mandriva 6 10-25-2003 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:30 PM.

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