Announcement

Collapse
No announcement yet.

issue with X

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    issue with X

    Hello,

    Since i moved to Dapper, i'm facing problems with graphical apps.
    Launching an app from console, here is what i get :


    skaboss@AlBundy:~$ mysql-query-browser
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device


    Nonetheless, the app runs well, but when i perform certain operation, it crashes with this message :


    ** (mysql-query-browser:14804): WARNING **: requested widget 'charset_combo' with the wrong type
    segmentation fault



    Does anyone have a clue ?

    Thanks.

    #2
    Re: issue with X

    That is similar to what I get when I run KWrite. Everything still runs fine though.


    myname@computname:~$ sudo kwrite /etc/apt/sources.list
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 168
    Major opcode: 145
    Minor opcode: 3
    Resource id: 0x0
    Failed to open device
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    kdeinit: Can't connect to the X Server.
    kdeinit: Might not terminate at end of session.
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified

    kded: cannot connect to X server :0.0
    kded: ERROR: KUniqueApplication: Registering failed!
    kded: ERROR: Communication problem with kded, it probably crashed.
    ScimInputContextPlugin()
    ~ScimInputContextPlugin()
    myname@computname:~$

    Comment


      #3
      Re: issue with X

      this happens because ?ubuntu adds support for touchpads and their "pencils" in the xorg.conf by default which you don't seem to have.

      goto your /etc/X11/xorg.conf file and remove all the lines in the input sections with "touchpad" and "wacom". don't forget to also remove them at the "ServerLayout" - section. then restart the x-server (ctrl+alt+backspace).

      if you don't want to alter your xorg.conf you can also safely ignore these warnings.

      see my xorg.conf if you are unsure
      Code:
      # /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 /etc/X11/xorg.conf manual page.
      # (Type "man /etc/X11/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/X11/fonts/misc"
       FontPath "/usr/share/X11/fonts/cyrillic"
       FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
       FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
       FontPath "/usr/share/X11/fonts/Type1"
       FontPath "/usr/share/X11/fonts/100dpi"
       FontPath "/usr/share/X11/fonts/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 "type1"
       Load "vbe"
       load "glx"
      # load "GLcore"
       load "dri"
       load "v4l"
      EndSection
      
      Section "InputDevice"
       Identifier "Generic Keyboard"
       Driver "kbd"
       option "CoreKeyboard"
       option "XkbRules" "xorg"
       option "XkbModel" "pc105"
       option "XkbLayout" "de"
       option "XkbVariant" "nodeadkeys"
      EndSection
      
      Section "InputDevice"
       Identifier "Configured Mouse"
       Driver "mouse"
       option "CorePointer"
       option "Device" "/dev/input/mice"
       option "Protocol" "ExplorerPS/2"
       option "ZAxisMapping" "4 5"
       option "Emulate3Buttons" "true"
      EndSection
      
      Section "Device"
       identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
       boardname "Intel 85x"
       busid "PCI:0:2:0"
       driver "i810"
       screen 0
       vendorname "Intel"
      EndSection
      
      Section "Monitor"
       identifier "Standardbildschirm"
       vendorname "Generic"
       modelname "Flat Panel 1024x768"
       HorizSync 31.5-55
       VertRefresh 40-70
       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
       modeline "1152x768@54" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync
       modeline "1280x854" 80.0 1280 1309 1460 1636 854 857 864 896 +hsync +vsync
       gamma 1.0
      EndSection
      
      Section "Screen"
       Identifier "Default Screen"
       Device "Intel Corporation 82852/855GM Integrated Graphics Device"
       Monitor "Standardbildschirm"
       DefaultDepth 24
       SubSection "Display"
        depth 24
        modes "1024x768@60" "1152x768@54" "800x600@60" "1280x854" "800x600@56" "640x480@60"
       EndSubSection
      EndSection
      
      Section "ServerLayout"
       Identifier "Default Layout"
       screen 0 "Default Screen" 0 0
       InputDevice "Generic Keyboard"
       InputDevice "Configured Mouse"
      EndSection
      
      Section "DRI"
       Mode 0666
      EndSection

      Comment


        #4
        Re: issue with X

        Hey, thanks! I commented out the parts that noted it was for Tablet PCs and it did eliminate half of what I get. I still get the following, but I can live with that for now. Thanks!


        Xlib: connection to ":0.0" refused by server
        Xlib: No protocol specified

        kdeinit: Can't connect to the X Server.
        kdeinit: Might not terminate at end of session.
        Xlib: connection to ":0.0" refused by server
        Xlib: No protocol specified

        kded: cannot connect to X server :0.0
        kded: ERROR: KUniqueApplication: Registering failed!
        kded: ERROR: Communication problem with kded, it probably crashed.
        ScimInputContextPlugin()
        ~ScimInputContextPlugin()

        Comment


          #5
          Re: issue with X

          Are you using SCIM? You should be using SKIM with KDE. It's one of the reasons to upgrade to Dapper.

          Comment


            #6
            Re: issue with X

            Hi, and thaks for the tip.
            I commented out all lines related to wacom, and i don't get warnings anymore.
            However, my app still crashes when i perform certain operations :


            ** (mysql-query-browser:14804): WARNING **: requested widget 'charset_combo' with the wrong type
            segmentation fault


            The exact same app worked fine in Breezy...

            Comment


              #7
              Re: issue with X

              segmentation fault = reinstall the app in my experience

              Open synaptic, right click the app and click completely remove.
              <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

              Comment


                #8
                Re: issue with X

                No, I'm not using SCIM. I don't even know what that is. other than what I've done to get AMAROK 1.4 and Citrix working I've done nothing but the base install of the last Beta. Where would I remove references to SCIM?

                Comment


                  #9
                  Re: issue with X

                  Originally posted by Nirvana
                  segmentation fault = reinstall the app in my experience

                  Open synaptic, right click the app and click completely remove.
                  I reinstalled, but still have the same problem...
                  Actually, the message
                  requested widget 'charset_combo' with the wrong type

                  makes me think of a QT/gtk problem, but i don't have the skills to investigate further...

                  Comment


                    #10
                    Re: issue with X

                    Originally posted by skaboss
                    Originally posted by Nirvana
                    segmentation fault = reinstall the app in my experience

                    Open synaptic, right click the app and click completely remove.
                    I reinstalled, but still have the same problem...
                    Actually, the message
                    requested widget 'charset_combo' with the wrong type

                    makes me think of a QT/gtk problem, but i don't have the skills to investigate further...
                    Bug Report Time: https://launchpad.net/distros/ubuntu/+bugs
                    <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

                    Comment


                      #11
                      Re: issue with X

                      Moonfish: SCIM is a program that permits people to use languages (primarily, but not exclusively asian) that do not lend themselves to iso-8859 representations. SKIM is the KDE version. Your error message:
                      kded: cannot connect to X server :0.0
                      kded: ERROR: KUniqueApplication: Registering failed!
                      kded: ERROR: Communication problem with kded, it probably crashed.
                      ScimInputContextPlugin()
                      ~ScimInputContextPlugin()
                      seems to imply difficulties with Scim. Since you shouldn't have any references to scim, I have no idea wher to look to delete them. I would suggest starting a konsole and giving the command "locate scim".

                      Comment


                        #12
                        Re: issue with X

                        Thanks! This is the output of that - long BTW. It finds references to Keyboard and Desktop settings, I think. Could it have been something I had to load to get Citrix Client working?

                        /var/lib/dpkg/info/libscim8c2a.shlibs
                        /var/lib/dpkg/info/libscim8c2a.list
                        /var/lib/dpkg/info/libscim8c2a.postinst
                        /var/lib/dpkg/info/libscim8c2a.postrm
                        /var/lib/dpkg/info/libscim8c2a.md5sums
                        /var/lib/dpkg/info/scim-qtimm.md5sums
                        /var/lib/dpkg/info/scim-qtimm.list
                        /var/cache/apt/archives/libscim8c2a_1.4.4-1ubuntu10_i386.deb
                        /usr/share/doc/libscim8c2a
                        /usr/share/doc/libscim8c2a/changelog.Debian.gz
                        /usr/share/doc/libscim8c2a/NEWS.Debian.gz
                        /usr/share/doc/libscim8c2a/changelog.gz
                        /usr/share/doc/libscim8c2a/copyright
                        /usr/share/doc/scim-qtimm
                        /usr/share/doc/scim-qtimm/changelog.Debian.gz
                        /usr/share/doc/scim-qtimm/changelog.gz
                        /usr/share/doc/scim-qtimm/NEWS.gz
                        /usr/share/doc/scim-qtimm/README
                        /usr/share/doc/scim-qtimm/TODO
                        /usr/share/doc/scim-qtimm/copyright
                        /usr/share/apps/skim/pics/scim_keyboard.png
                        /usr/share/apps/skim/pics/scim.png
                        /usr/share/apps/skim/pics/scim_help.png
                        /usr/share/apps/skim/pics/scim_setup.png
                        /usr/share/services/skimconfiguredialog/skimplugin_scim_global_config.desktop
                        /usr/share/services/skimconfiguredialog/skimplugin_scim_imengines_config.desktop
                        /usr/share/services/skimconfiguredialog/skimplugin_scim_x_config.desktop
                        /usr/share/services/skimplugin_scim.desktop
                        /usr/share/app-install/desktop/scim-setup.desktop
                        /usr/share/app-install/icons/scim-setup.png
                        /usr/share/config.kcfg/scimkdeconfig.kcfg
                        /usr/bin/scim-panel-kde
                        /usr/lib/qt3/plugins/inputmethods/libqscim.so
                        /usr/lib/qt3/plugins/inputmethods/libqscim.la
                        /usr/lib/kde3/kcm_skimplugin_scim_imengines.la
                        /usr/lib/kde3/kcm_skimplugin_scim_global.la
                        /usr/lib/kde3/kcm_skimplugin_scim_x.la
                        /usr/lib/kde3/skimplugin_scim.la
                        /usr/lib/kde3/kcm_skimplugin_scim_imengines.so
                        /usr/lib/kde3/kcm_skimplugin_scim_global.so
                        /usr/lib/kde3/kcm_skimplugin_scim_x.so
                        /usr/lib/kde3/skimplugin_scim.so
                        /usr/lib/libscim-x11utils-1.0.so.8.1.0
                        /usr/lib/libscim-1.0.so.8.1.0
                        /usr/lib/libscim-x11utils-1.0.so.8
                        /usr/lib/libscim-1.0.so.8
                        /usr/lib/scim-1.0
                        /usr/lib/scim-1.0/1.4.0
                        /usr/lib/scim-1.0/1.4.0/Config
                        /usr/lib/scim-1.0/1.4.0/Config/kconfig.la
                        /usr/lib/scim-1.0/1.4.0/Config/kconfig.so
                        /usr/lib/libscim-kdeutils.so.0.1.0
                        /usr/lib/libscim-kdeutils.so.0

                        Comment


                          #13
                          Re: issue with X

                          It's got to be due to something, because the only refrences I have when I run "locate scim" are
                          Code:
                          /usr/share/gnome-app-install/icons/scim-setup.png
                          /usr/share/gnome-app-install/scin-setup.desktop
                          which indicates that they only appeared when I loaded Ubuntu-desktop just to see whether Gnome had gotten any better in the last five or six years. So a stock Kubuntu installation has no scim.

                          One way to check would be to find the skim packages in synaptic (not adept) mark them for removal and see what else synaptic would remove if you tried to remove scim. Don't try this in Adept because Adept won't give the output of other things that will get removed; and getting that output is the only reason for doing this.

                          Comment


                            #14
                            Re: issue with X

                            Thanks! I will give that a try.

                            Comment

                            Working...
                            X