Slow application startup - Localhost error

Hi forums,

I recently installed OpenSUSE 11.3 amd64 from DVD on a new HP 625 Laptop. Whenever networking is activated, application startup slows down significantly. When I deactivate networking in the nm-applet application startup is fine. I am using the broadcom-wl package from packman for the broadcom wireless card (BCM4313)

Error message in terminal when trying to start an application is:

_IceTransSocketUNIXConnect: Cannot connect to non-local host linux
_IceTransSocketUNIXConnect: Cannot connect to non-local host linux

(gedit:14648): EggSMClient-WARNING **: Failed to connect to the session manager: Could not open network socket

The error message itself even appears when networking is disabled.

/etc/hosts:

# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1	linux.site	localhost.localdomain	localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       linux-igz1.site linux-igz1

Read this. This guide is from my friend Stathis Εγκατάσταση Cosmote Internet on the go (ZTE MF110)](http://forums.opensuse.org/greek/i-i-i-i/i-i-i-iui-i-i-i-i-i-i-i-i-i-i-i-i-isi-i-i-ioei-i-i-i-i/i-iui-i-i-i-i-i-i-i-documentation/452922-i-i-i-i-i-i-i-i-i-i-i-cosmote-internet-go-zte-mf110.html). I have written guides for opensuse fuctions so if you want help translate them Τεκμηρίωση(Documentation)](http://forums.opensuse.org/greek/i-i-i-i/i-i-i-iui-i-i-i-i-i-i-i-i-i-i-i-i-isi-i-i-ioei-i-i-i-i/i-iui-i-i-i-i-i-i-i-documentation/)

Thank you for trying to help, but I’m not able to speak greek and google translate seems to fail on that.
Google Übersetzer

I translated it

First In openSUSE wants some simple settings. I advise you, the PIN is four digits.

The lsusb gave the result

Bus 001 Device 006: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636

So put your USB in a usb port.

1)Open the Network Connections> Mobile broadband. Then select Add.

write

Connection Name: COSMOTE
Connect Automatically
Number: *99***1#
Username: user
Password: pass
PIN: your PIN who you have.

It looks like this:

http://diamond.comlu.com/suse/cosmote/2.png

Wait a minute to connect.:

http://diamond.comlu.com/suse/cosmote/3.png

You are online if you see the picture below.

http://diamond.comlu.com/suse/cosmote/4.png

You are connected to the Internet. You can open your browser.

http://diamond.comlu.com/suse/cosmote/5.png

Thank you for the translation, but that is absolutely not my current problem. I don’t have problems establishing a mobile broadband connection, I have problems with startup times, as mentioned in the title.

~> time gedit
_IceTransSocketUNIXConnect: Cannot connect to non-local host linux
_IceTransSocketUNIXConnect: Cannot connect to non-local host linux

(gedit:18558): EggSMClient-WARNING **: Failed to connect to the session manager: Could not open network socket

2011-02-27 16:40:46,688 DEBUG	resources - Initializing resource locating
2011-02-27 16:40:46,842 ERROR	Environment - /etc/texmf/texmf.cnf not found, using default search paths '/usr/share/texmf-texlive', '/home/andreas/texmf']
2011-02-27 16:40:46,950 DEBUG	Preferences - <value key='BibtexExtensions'> not found
2011-02-27 16:40:46,982 DEBUG	JobManager - Created JobManager instance 21385744
2011-02-27 16:40:47,023 DEBUG	GeditLaTeXPlugin - activate
2011-02-27 16:40:47,023 DEBUG	WindowContext - init
/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py:232: GtkWarning: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
  menu.add(gtk_action.create_menu_item())
2011-02-27 16:40:47,114 DEBUG	GeditWindowDecorator - _init_tab_decorators: initialized 0 decorators
2011-02-27 16:40:47,207 DEBUG	GeditWindowDecorator - active_tab_changed
2011-02-27 16:40:47,207 DEBUG	GeditTabDecorator - Created &lt;GeditLaTeXPlugin.src.base.decorators.GeditTabDecorator object at 0x149cc90&gt;
2011-02-27 16:40:47,207 DEBUG	GeditWindowDecorator - ---------- ADJUST: None
2011-02-27 16:40:47,209 DEBUG	GeditWindowDecorator - No window-scope views for this extension
2011-02-27 16:40:47,209 DEBUG	GeditWindowDecorator - _set_selected_bottom_view: 0
2011-02-27 16:40:47,210 DEBUG	GeditWindowDecorator - _set_selected_side_view: 0
2011-02-27 16:40:47,212 DEBUG	GeditWindowDecorator - tab_added
2011-02-27 16:40:47,212 WARNING	GeditWindowDecorator - There is already a decorator for tab &lt;gedit.Tab object at 0x149aa50 (GeditTab at 0x156f410)&gt;
2011-02-27 16:40:48,526 DEBUG	GeditWindowDecorator - tab_removed
2011-02-27 16:40:48,526 DEBUG	GeditTabDecorator - Properly destroyed &lt;GeditLaTeXPlugin.src.base.decorators.GeditTabDecorator object at 0x149cc90&gt;
2011-02-27 16:40:48,554 DEBUG	GeditLaTeXPlugin - deactivate
2011-02-27 16:40:48,558 DEBUG	WindowContext - Properly destroyed &lt;GeditLaTeXPlugin.src.base.WindowContext object at 0x158e650&gt;
2011-02-27 16:40:48,559 DEBUG	GeditWindowDecorator - Properly destroyed &lt;GeditLaTeXPlugin.src.base.decorators.GeditWindowDecorator object at 0x158ea10&gt;
2011-02-27 16:40:48,559 DEBUG	ToolView - Properly destroyed &lt;ToolView object at 0x148e500 (GtkHBox at 0x1549e40)&gt;

real	0m47.810s
user	0m1.205s
sys	0m0.108s

I thought maybe re- installing your broadband will fix this problem.>:(
I will try to find a solution. you broadband is…

Ah, OK. Maybe you confused Broadcom and broadband. I am using a Broadcom BCM4313 WLAN chip.

Sorry for confusion. Have you install drivers in your boadcom?
Read this http://forums.opensuse.org/english/get-technical-help-here/laptop/398146-proprietary-broadcom-drivers.html
and this http://www.susegeek.com/opensuse-110/how-to-install-broadcom-wireless-in-opensuse-110/

I have installed the official proprietary closed source driver from Broadcom, kernel module called “wl”, found at packman repository as package “broadcom-wl”. It is working fine. I don’t exactly know if it is related to the problem, but my /etc/hosts seems to be ok.

Could you give me the url?

Try to run it in a terminal and send me the output maybe a library must install.

@BuddelBob: I hope you realize that we cannot provide any help on the
performance of the closed-source wl driver. Broadcom is responsible for it.

Another possibility is to use 11.4 RC2, some other source of a 2.6.37 kernel, or
compat-wireless. That way you could use brcm80211 instead of wl. If you still
get the same problem, then we have the possibility of helping. Although that
driver is also written by Broadcom, its source is published.

Yes, I understand. I hoped for a workaround. I tried to unload the “wl” kernel module and it really seems to be the problem.

The problem is, that my current partition setup do not allow a second OS installation for testing (small boot partition, large LVM partition), so it is risky to install RC2 (shrink the LVM partition…). I will try the compat-wireless solution, and if that won’t work there’s no other choice than going for 11.4 (at least that may help testing).

PackMan :: Informationen zum Paket broadcom-wl

It is not a stable driver. Patience is the best doctor.
Have you checked this driver?

brcm80211

OK, problem is solved. Thank you for your help. I had to downgrade the kernel to install the package compat-wireless-kmp-desktop from the driver/wireless repository, but wifi is working and system is running fine again.

OpenSUSE 11.4 will have this driver in the kernel? I remember some discussion about that, but don’t know about the final decision. Maybe I should take the risk and install RC2, to test how it is working.

OpenSUSE 11.4 will have this driver in the kernel? I remember some discussion about that, but don’t know about the final decision. Maybe I should take the risk and install RC2, to test how it is working.

I wish it will.

Yes, I did and it is working now. It is the driver in the compat-wireless package lwfinger recommended.

The wl driver was the one provided to OEM vendors, as far as I know, so I hoped it is the same as on the preinstalled SLED 11, which is working perfectly.

Thank you for helping.

On 02/27/2011 12:36 PM, stamostolias wrote:
>
>> OpenSUSE 11.4 will have this driver in the kernel? I remember some
>> discussion about that, but don’t know about the final decision. Maybe I
>> should take the risk and install RC2, to test how it is working.
>
> I wish it will.

Would you guys please READ what I write??? My previous past said “Another
possibility is to use 11.4 RC2, some other source of a 2.6.37 kernel, or
compat-wireless. That way you could use brcm80211 instead of wl.”

Yes, I read that, sorry. Just wanted to be sure it is directly supported in the vanilla 11.4 kernel. That means I can test the functionality from a live cd.

The brcm80211 in 11.3 won’t survive a suspend, which makes it quite unusable in a laptop. I think I have to update the hcl again.

Pretty fascinating that HP is shipping a Linux laptop that gives you the possibility to either run the OEM SLED version or install Windows. It can’ be that hard to ship a Linux laptop with hardware that works well in Linux.