Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: cannot connect to X server :0.0 (Feisty Fawn)  (Přečteno 3495 krát)

cinan

cannot connect to X server :0.0 (Feisty Fawn)
« kdy: 01 Května 2007, 14:05:49 »
toto vypise kozola, ked spustim program kate ako root:
Kód: [Vybrat]
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /root/.DCOPserver_cinan-desktop__0
and start dcopserver again.
---------------------------------

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
WARNING: DCOP communication problem!
kdeinit: Communication error with launcher. Exiting!
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
KCrash: Application 'kate' crashing...
Warning: connect() failed: : Connection refused
KCrash cannot reach kdeinit, launching directly.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

drkonqi: cannot connect to X server :0.0
Vypisuje mi to, odkedy som naisntaloval FF (nanovo, nie upgrade). Neviem ako opravit tento problem, podla vypisu mi nic nenapada. Tento problem nastava len ako nieco spustam ako root, teda ak spustim len "kate" bez root. prav, tak ide vsetko v pohode. V com je chyba?
Blog-zapisky: http://blog.cinan.sk/

Jakub Lucký

  • Závislák
  • ***
  • Příspěvků: 3433
    • Jakub Lucký
cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #1 kdy: 01 Května 2007, 15:59:18 »
A Kate se předpokládám nezapne...
zkuste smazat rootovo nastavení kate...
bude se nacházet někde v /root/.kde/
FAQ-Často kladené otázky   Návody(wiki)     
Jakub@Life:~$ Ubuntu změnilo váš život, přejete si změny uložit?(Y/N)?
Děkujeme, že nekrmíte trolly Blogísek  :wq

cinan

cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #2 kdy: 01 Května 2007, 16:32:48 »
spravne kate sa nezapne... Skusil som opat nainstalovat edgy, a je velmi zaujimave, ze aj tam je ta ista chyba. Pokusim sa tento problem este vyriesit tak, ze urcite data z /home zalohujem a nanovo preinstalujem system, pretoze doteraz som pri instalacii formatoval len /, /home som mal na inej particii a pravdepodobne nejake konfiguraky ostali... Dam este vediet...

Este pre istotu moj vypis z xorg.conf:
Kód: [Vybrat]
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        Fontpath        "/usr/share/fonts/X11/misc"
        Fontpath        "/usr/share/fonts/X11/cyrillic"
        Fontpath        "/usr/share/fonts/X11/100dpi/:unscaled"
        Fontpath        "/usr/share/fonts/X11/75dpi/:unscaled"
        Fontpath        "/usr/share/fonts/X11/Type1"
        Fontpath        "/usr/share/fonts/X11/100dpi"
        Fontpath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        Fontpath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load            "i2c"
        Load            "bitmap"
        Load            "ddc"
        Load            "extmod"
        Load            "freetype"
        Load            "int10"
        Load            "vbe"
        Load            "glx"
        Load            "v4l"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "sk"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"        "/dev/input/mice"
        Option          "Protocol"      "ImPS/2"
        Option          "ZAxisMapping"  "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"  "stylus"
        Option          "ForceDevice"   "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"  "eraser"
        Option          "ForceDevice"   "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"  "cursor"
        Option          "ForceDevice"   "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Boardname       "nvidia"
        Busid           "PCI:4:0:0"
        Driver          "nvidia"
        Screen  0
        Option          "AddARGBVisuals"        "True"
        Option          "AddARGBGLXVisuals"     "True"
        Option          "NoLogo"        "True"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Modelname       "Custom 1"
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
        Gamma   1.0
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        Defaultdepth    24
        SubSection "Display"
                Depth   24
                Virtual 1024    768
                Modes           "1024x768@60"   "800x600@60"    "800x600@56"   "640x480@60"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
  screen 0 "Default Screen" 0 0
        Inputdevice     "Generic Keyboard"
        Inputdevice     "Configured Mouse"
        Inputdevice     "stylus"        "SendCoreEvents"
        Inputdevice     "cursor"        "SendCoreEvents"
        Inputdevice     "eraser"        "SendCoreEvents"
EndSection

Section "DRI"
        Mode    0666
EndSection
Section "device" #
        Identifier      "device1"
        Boardname       "vesa"
        Busid           "PCI:4:0:0"
        Driver          "vesa"
        Screen  1
EndSection
Section "screen" #
        Identifier      "screen1"
        Device          "device1"
        Defaultdepth    24
        Monitor         "monitor1"
EndSection
Section "monitor" #
        Identifier      "monitor1"
        Gamma   1.0
EndSection
Section "ServerFlags"
EndSection
Blog-zapisky: http://blog.cinan.sk/

cinan

cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #3 kdy: 01 Května 2007, 19:53:50 »
takze - mam system uplne nanovo, a problme pretrvava. Hardware som nemenil uz niekolko mesiacov, takze chybnym hw by to teda nemalo byt. Zmazal som /root/.kde, ale nepomohlo.

//edit:
wow, napolku to uz mam vyriesnene - staci zadat namiesto sudo kdesu, potom to ide... Ale aj tak by som chcel tento problem vyriesit...

//edit2:
teda, mam to vlastne cele vyriesene. Vysvetlenie/navod?: Najprv bolo treba zadat kdesu nieco, a az potom som mohol pisat klasicke sudo nieco. Neviem si to vysvetlit...
Blog-zapisky: http://blog.cinan.sk/

Jakub Lucký

  • Závislák
  • ***
  • Příspěvků: 3433
    • Jakub Lucký
cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #4 kdy: 01 Května 2007, 20:26:30 »
To je zvláštní...
FAQ-Často kladené otázky   Návody(wiki)     
Jakub@Life:~$ Ubuntu změnilo váš život, přejete si změny uložit?(Y/N)?
Děkujeme, že nekrmíte trolly Blogísek  :wq

Boris Filipovič

  • Návštěvník
  • Příspěvků: 65
cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #5 kdy: 01 Května 2007, 21:35:20 »
Zdravím,
řešení je zde: http://forum.ubuntu.cz/viewtopic.php?id=4562
Použijte příkaz sux.
(sux - wrapper around su which will transfer your X credentials)
"Problém" je právě s X credentials - pro více info doporučuji v oblíbeném vyhledávači klíčové slovo .Xauthority

b.f.

Jakub Lucký

  • Závislák
  • ***
  • Příspěvků: 3433
    • Jakub Lucký
cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #6 kdy: 01 Května 2007, 21:58:58 »
Hm... klobouk dolů...
FAQ-Často kladené otázky   Návody(wiki)     
Jakub@Life:~$ Ubuntu změnilo váš život, přejete si změny uložit?(Y/N)?
Děkujeme, že nekrmíte trolly Blogísek  :wq

Boris Filipovič

  • Návštěvník
  • Příspěvků: 65
cannot connect to X server :0.0 (Feisty Fawn)
« Odpověď #7 kdy: 02 Května 2007, 18:03:48 »
Citace: jakub.lucky
Hm... klobouk dolů...
a já myslel, že je to fórum k Ubuntu a ne k RadHatu :)

 

Provoz zaštiťuje spolek OpenAlt.