[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Xfree slow the start

Posted on 2004-04-13
7
Medium Priority
?
409 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

656 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