Solved

Xfree slow the start

Posted on 2004-04-13
7
405 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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

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 500 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

Industry Leaders: 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!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

717 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