You are not logged in.
Pages: 1
Topic closed
Hi,
I have a problem with X.
After starting gnome, my desktop opens up as usual. However, I cannot run any program. I cannot open terminal, firefox, etc.
However, when I restart X (ctrl + alt + backspace) Everything works normal.
I tried deleting xorg.conf and configuring a new one, but it didn't help. Here are some outputs and configs.
$k3b
No protocol specified
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
No protocol specified
kded: cannot connect to X server :0
kded: ERROR: KUniqueApplication: Registering failed!
kded: ERROR: Communication problem with kded, it probably crashed.
No protocol specified
k3b: cannot connect to X server :0
DCOP aborting call from 'anonymous-5364' to 'k3b'
ERROR: Communication problem with k3b, it probably crashed.
or generally
No protocol specified
Error: Can't open display: :0.0
$lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8039 PCI-E Fast Ethernet Controller (rev 14)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
07:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
07:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
07:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
07:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSectionSection "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
#Load "type1"
EndSectionSection "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Emulate3Buttons"
Option "Device" "/dev/input/mice"
EndSectionSection "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSectionSection "Monitor"
Identifier "Monitor0"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 28 - 64
VertRefresh 43 - 60
EndSectionSection "Device"
Identifier "Card0"
Driver "i810"
Card "** Intel i810 (generic) [i810]"
EndSectionSection "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Any suggestions?
Thanks
Last edited by Sir_Leon (2008-11-24 20:59:56)
Offline
After a bunch of tries like removing the latest installed packages and restoring old configs, the problem is solved. I don't know why or how, but I think the problem was related with wpa_supplicant. I might have misconfigured it, or sth else.
Offline
I wonder what your xorg.conf files looks like now ???
I'm having the same problem. I use wpa_supplicant, but I can't see how that ties in.
Regards,
Brian
Offline
im having the same problem... i havent done anything that would cause this... everything was running ok this morning... :(
EDIT: i found out why this happens... it looks like the hostname is changed somehow
EDIT: the hostname change happens when i connect to a wireless router... dhcpcd seems to be the culprit...
i cant find a way to stop the hostname changing.
Last edited by s3r1al (2009-03-01 22:33:18)
Offline
do you all have zombie processes?
i've got a similar problem with kde, and on my pc there are zombie processes as soon as the strange behaviour starts (process "true", by parent "ksmserver")
/edit:
solved it
try downgrading to "core/netcfg" and "core/wpa_supplicant", maybe additionally to nvidia 180.29 (i'm using testing repo)
Last edited by maddien (2009-03-02 17:18:51)
"we have no right to express an opinion until we know all of the answers"
Kurt D. Cobain
Offline
i didnt upgrade anything, and everything works fine on all routers except this one... no zombie processes, im 99% sure that dhcpcd is the cause, but i cant find where to disable it.
Offline
hey there .. s3r1al was right ..
I had the same issue few seconds ago, disabling dhcp just worked! Thx!
EDIT: it only works for few minutes after rebooting -.-
Last edited by xaxes (2009-04-28 07:22:47)
Offline
Why is this marked as solved?
I have this occuring right now - My workaround is disable wireless EVERYTIME i want to run a program. Seems to be selective on which wifi networks (only some WEP)..
Offline
<background>
Gnome would start, connect to network, but I couldn't run anything. Guake still came up as part of session, and everything X based I tried to run would result in errors similar to:
No protocol specified
Error: Can't open display: :0.0
Seems it had something to do with changing hostnames and X authorizations.
</background>
Found the problem with NetworkManager changing hostname. It will change it if the hostname variable is not set in /etc/NetworkManager/nm-system-settings.conf
So if you edit nm-system-settings.conf it should look similar to:
[main]
plugins = keyfile
[keyfile]
hostname = <your hostname>
After a recent upgrade mine dropped the last two lines...
Hope this helps others!
Cheers,
Wulf Solter
Offline
After a recent upgrade mine dropped the last two lines...
Hope this helps others!
Yup. That was it. What a completely bizarre bug. This happened to me just now when I was about to demonstrate some scientific work in oocalc to a fellow colleague. Why do these things always happen in front of smug Mac users!?
Anyways, your fix worked just fine. Thanx mate!
PS. Time to switch to wicd, again.
Offline
Found the problem with NetworkManager changing hostname. It will change it if the hostname variable is not set in /etc/NetworkManager/nm-system-settings.conf
So if you edit nm-system-settings.conf it should look similar to:
[main]
plugins = keyfile
[keyfile]
hostname = <your hostname>
After a recent upgrade mine dropped the last two lines...
I have tried this but didnt work for me. Please see the below description
my /etc/rc.conf file
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="gauranga"
my /etc/hosts file
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost gauranga
# End of file
my /etc/NetworkManager/nm-system-settings.conf file
[main]
plugins=keyfile
[keyfile]
hostname=gauranga
But after rebooting the computer the following thing happens
my /etc/hosts file : Notice that gauranga was removed automatically after reboot
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
# End of file
And after I connect my vodafone net connect the following happens
my /etc/hosts file : Notice that 112-79-209-128.live.vodafone.in was added automatically after reboot.
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 112-79-209-128.live.vodafone.in localhost.localdomain localhost
# End of file
This is causing my programs not to open in KDE or any Desktop environment.
As it gives the error:
No Protocol specified
Error cannot open display :0.0
I have tried ten times changing the /etc/hosts. But nothing happens. So how can I set my hostname to gauranga only.
Last edited by sant527 (2010-05-28 14:59:31)
Offline
Seems strange.. /etc/hosts shouldn't affect this. Lets start with:
Can you post the results of
echo $HOSTNAME
Try editing your nm-system-settings.conf to have spaces on either side of the = like
[keyfile]
hostname = gauranga
Offline
Same problem here (still a bug after more than 2 years?). Some wired or wirless routers give me the same display protocol error. illektr1k suggestion fixed the problem. Thank you!
Offline
Thank you [user=illektr1k]illektr1k[/user] that was my problem too. I might never have puzzled it out without you!
Offline
I had the same problem and was quite desperate about it, because I couldn't find any thread that would help me solve this problem. Fortunately, I finally did and your solution works just fine for me, so thanks a lot.
Offline
Hi jakub50,
Welcome to Arch Linux. I am glad you solved your problem, but be careful of old threads. After more than five years, the original participants are probably no longer watching this thread
I think it is time to close this thread....
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Pages: 1
Topic closed