Solved

Xfree slow the start

Posted on 2004-04-13
7
396 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
  • 4
  • 3
7 Comments
 
LVL 61

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 61

Expert Comment

by:gheist
ID: 10830005
I never build it, I use packages....
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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 61

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 61

Expert Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.:

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now