You are not logged in.

#1 2007-05-20 04:28:39

Cows
Member
From: Brooklyn, NY
Registered: 2007-05-20
Posts: 101

Errors starting beryl or any graphical application ( via terminal )

I keep getting these errors and they won't start unless I manually open the program up ( only kate opened up since thats the only 1 i tested via gui )

[cows@myhost ~]$ su -
Password:
[root@myhost ~]# kate /etc/rc.conf
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
kate: cannot connect to X server :0.0
[root@myhost ~]# beryl-manager
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
[root@myhost ~]# beryl
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xvinfo:  Unable to open display :0.0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
xdpyinfo:  unable to open display ":0.0".
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Error: unable to open display (null)
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
beryl: Couldn't open display :0.0
[root@myhost ~]#
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "record"
    Load  "glx"
    Load  "xtrap"
    Load  "type1"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "GeForce 7600 GS"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Also would you mind telling me how to unininstall a application? I install like this:

pacman -S  <application name>

but when I type:

pacman -R <application name>

It says it removed the application but I can still execute it.. I think that this only removes package but not the actually application itself.

Last edited by Cows (2007-05-20 04:31:09)

Offline

#2 2007-05-20 08:42:46

mitsoko
Banned
From: In the Coal Chamber
Registered: 2007-05-08
Posts: 143

Re: Errors starting beryl or any graphical application ( via terminal )

they need to be made X Aware[?]
issue the command

xhost localhost

on the terminal and it should work.

Offline

#3 2007-05-20 13:58:18

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: Errors starting beryl or any graphical application ( via terminal )

What possible reason would you have for running beryl or any other X application (maybe a text editor) in root?


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#4 2007-05-20 14:58:00

Cows
Member
From: Brooklyn, NY
Registered: 2007-05-20
Posts: 101

Re: Errors starting beryl or any graphical application ( via terminal )

I just installed the Archlinux at the time of post and was trying to setup the beryl via cows@myhost. but i had to su - to do it first since i didnt have rights to use pacman.

[cows@myhost root]$ beryl
**************************************************************
* Beryl system compatiblity check                            *
**************************************************************

Detected xserver                                : NVIDIA

Checking Display :0 ...

Checking for XComposite extension               : failed

No composite extension
134706409 screens detected.
Currently we cannot guarantee that Beryl will work correctly with multiple X screens.
Using the --no-context-share command line option can help.
Please report any success to the beryl developer mailing list. The list can be found at lists.beryl-project.org
[cows@myhost root]$

Offline

#5 2007-06-04 20:47:20

bartsick
Member
Registered: 2007-06-04
Posts: 2

Re: Errors starting beryl or any graphical application ( via terminal )

This problem can be solved by configuring XOrg for Composite.

Follow this guide:
http://wiki.archlinux.org/index.php/Con … _Composite

Good luck

Offline

Board footer

Powered by FluxBB