LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-20-2010, 09:54 PM   #1
joseph85750
LQ Newbie
 
Registered: Dec 2010
Location: Tucson, AZ
Distribution: CentOS, Slackware, PlopLinux, Linux Mint
Posts: 10

Rep: Reputation: 0
xterm - very slow to start unless..


I have a CentOS 5.4 64bit system. When I try to start an xterm through the desktop or command line, it takes over 10 seconds to start.
But if I try to start xlogo, or even gimp, it's fast.

However, I found if I launch xterm as follows:

xterm +u8

It starts fast. I was reading something about delays due to locale, but couldn't make sense of it. But after trying several things from the xterm manpage, I stumbled upon the "+u8" trick.

Can anyone explain the above behavior, and how to fix the environment such that xterms will launch at normal speed without the "+u8" ? I've read it might be due to dns or name resolution, but I've verified /etc/resolv.conf and /etc/nsswitch.conf aren't referencing DNS.

Thanks!
 
Old 12-21-2010, 06:15 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well, a simple way to do so is to add
Code:
alias xterm='xterm +u8'
to your .bashrc, but that doesn't fix the root cause of the problem...

This seems to have a slighly better solution... You will have to work out which encoding you are using (try running 'strace xterm' like [s]he did), and disable the offensive portion of that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slow rendering/scrolling in KDE/Gnome, fast(?) in xterm shristov Linux - Laptop and Netbook 3 04-09-2009 04:38 AM
Xterm (any X terminal) starts fast, but initializes very slow Kevschef Linux - General 3 11-09-2006 12:36 PM
System uncleanly shut down, ran e2fsck, very slow start & slow desktop brakthepoet Linux - Newbie 1 07-02-2004 01:55 PM
xterm start with sh instead of bash freeindy Linux - Software 4 04-25-2004 10:58 AM
Automatic Start of XTerm secprovider Linux - Newbie 1 03-30-2004 03:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:13 AM.

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