?
Solved

Xfree slow the start

Posted on 2004-04-13
7
Medium Priority
?
407 Views
Last Modified: 2013-12-27
Hello

I've just installed Xfree-4.4 from source, all went well.  When I hit 'startx' the system now, and in the past, is set to boot into KDE.  

But I now have a situation whereby Xfree takes a maybe 30sec to start after typing 'startx'   And when the KDE screen appears the system continues to go slow.   Folders and pieces of txt can take 15 sec to appear.  Any idea what can cause this, I've never had it before?  The log files don't appear to show any errors.   What's going on?

MAC
0
Comment
Question by:cliffhanger121599
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 10819905
Client libraries are from different version, this makes some compatibility code used.
You built in suboptimal manner, so it is very slow (gcc -g or so)
Whats going on - it works the way you made it...
0
 

Author Comment

by:cliffhanger121599
ID: 10826846
Sorry, don't understand.   Xfree was built with the following optimisation in xf86site.def(I assume this is what you are refering to):

 #define DefaultGcc2i386Opt  -O2 -fomit-frame-pointer -march=i686

If not, how would you build it??

MAC
0
 
LVL 62

Expert Comment

by:gheist
ID: 10830005
I never build it, I use packages....
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cliffhanger121599
ID: 10837226
I said the log file had no errors?   This is right at the beginning:

  XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/Cliffhangers:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

The rest looks normal

Any ideas???

MAC
0
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 10839730
start XFree86 without tcp listener
add -nolisten tcp parameter to X in Xservers files in
/etc/X11/xdm
/usr/X11R6/lib/X11/xdm
/usr/lib/X11/xdm
/usr/share/config/kdm
or somewhere else your X looks for Xservers file.
You will lose capability to export DISPLAY=your_host:0 to get remote access (and close one listening tcp port)

There might be a problem with name to address resolution against nameserver too, basically check out if your host name(s) is resolvable from /etc/hosts, 45 second timeouts are characteristic in this case.
Seems like yours look up inet6 address of your host which is not possible via your nameserver???
I do this in /etc/hosts
127.0.0.1 localhost localhost.my.domain hostname hostname.my.domain
::1 localhost localhost.my.domain hostname hostname.my.domain
10.10.10.10  dns-hostname dns-hostname.my.domain
so all interprocess trades are kept inside host itself

If you help me with uname -a from your system (feel free to remove host name), I will help you more with name resolution configuration.
0
 

Author Comment

by:cliffhanger121599
ID: 10850751
That's it!   The problem was name to address resolution against nameserver.   I had the follwing in /etc/hosts:

127.0.0.1 www.linuxfromscratch.com hostname localhost

I have no network card at present.   It worked with XFree 4.2, why not with 4.4?

Anyway the points are yours

thanks

MAC
0
 
LVL 62

Expert Comment

by:gheist
ID: 10850862
because 4.2 did not support inet6 address family...
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question