{"id":2230,"date":"2022-08-30T15:23:08","date_gmt":"2022-08-30T15:23:08","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/problem-about-xserver-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:23:08","modified_gmt":"2022-08-30T15:23:08","slug":"problem-about-xserver-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-xserver-collection-of-common-programming-errors\/","title":{"rendered":"problem about xserver-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/268c7fd466f1554f480e8faab29dd8d1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1064504<br \/>\nlinux gtk gtk+ xlib xserver<br \/>\nHow you keep gtk window fixed on screen like a taskbar or keep some space like taskbar reserved for our gtk window, Do i need to write some WM plugin. if it helps my wm is metacity, and can you integrate gtk with xlib program, actually I was developing a basic WM and feels the need for both xlib and gtk, doing anything with gtk in my wm simply crashes it.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6e7b7e210d48d99188e89d6bbcea841b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMichal<br \/>\npython ssh pyqt4 xserver<br \/>\nI&#8217;m writing a linux application which uses PyQt4 for GUI and which will only be used during remote sessions (ssh -XY \/ vnc).So sometimes it may occur that a user will forget to run ssh with X forwarding parameters or X forwarding will be unavailable for some reason. In this case the application crashes badly (unfortunately I am force to use an old C++ library wrapped into python and it completely messes user&#8217;s current session if the application crashes).I cannot use something else so my idea is<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/383724e63ab04b146277912c16f27f54?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNemo<br \/>\nqt qt4 x11 xlib xserver<br \/>\nSorry for my english, but I have the next problem. I am writing a window manager using Qt 4.7 and Xlib. I have class Manager that inherits QApplication and reimplemented method X11EventFilter in it. In X11EventFilter method I catch necessary events from XServer. When I receive MapRequest event, I catch appearing of new window and reparent it to my own widget. And when I create that widget and call QWidget::show() or QWidget::winId() methods, program crashes. What is the problem?Here is a method<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bfef10a428769701aeee1db978951461?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nThomas Koch<br \/>\nlinux security xserver<br \/>\nI hate the attitude of java developers to download and run all kind of untrusted stuff from the net and run it on their developers machine. But it&#8217;s hard to fight it. Maven artifacts, Build tools, Eclipse plugins &#8211; all without any signature.Now I also wanted to avoid working in a virtual machine all the time and thus created an untrusted user on my Debian box, gave him an XAuth cookie and run untrusted stuff (eclipse) as this user on the DISPLAY of my main user.Now eclipse crashes sometimes when<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/86ff730213f38daef1cf4f028b361454?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ns.chris<br \/>\n12.04 xorg intel-graphics xserver dell-vostro<br \/>\ntoday I updated per update-manager: xserver-xorg-video-intel Version: 2:2.17.0-1ubuntu4.1 to 4.2 and then the following issues appeared:The mouse cursor was flickering when draging a window or scrolling through the main menu The x crashed when switching into console mode or logging out (freezed with grey background)With the 4.1 everything works very nice on my Dell Vostro 3460 with that card:$ lspci -vv VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09) (prog-if<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/de85c185f39ef9feef79d9933409d400?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njrg<br \/>\n12.04 nvidia restart xserver<br \/>\nI&#8217;m using a desktop pc with 64bit Ubuntu 12.04 (Kernel 3.2.0-24-generic). Hardware specs are &#8211; Intel Core i7 CPU 860 @ 2,80GHz x 8 &#8211; Nvidia GeForce GTS 250 &#8211; 750 GB Hard Disk ATA WDC WD7501AALS-00E3A0 (for my \/home partition) &#8211; 128 GB Solid-State Disk ATA PLEXTOR PX-128M2S (for all other partitions)Since I reinstalled the PC with Ubuntu 12.04 the xserver restarts randomly. Most times when I watch a video in the browser (maybe a flash issue?) but sometimes the restart\/crash appears when I&#8217;m worki<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/631f04176f88084e982e7b343c7973f8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEliah Kagan<br \/>\ndrivers graphics xserver<br \/>\nI tried to install new video drivers manually, which failed entirely. I only was able to use a GUI again after doingsudo apt-get install &#8211;reinstall ubuntu-desktopandsudo apt-get intsall fglrxAnd now I&#8217;ve got my desktop and everything back. But, I can no longer use Minecraft or Steam, they both crash, complaining about an X error:Bad Request (invalid request code or no such operation)What should I do to fix it?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e0b8540dc6cd87a0f477e1f50e8adca5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nWoozie<br \/>\nnvidia xorg proprietary xserver<br \/>\nFirstly i want to apologise for any mistakes, English is not my native language.My problem is I can&#8217;t get NVIDIA proprietary drivers to work. I tried to install it on Ubuntu 12.04.1 32 and 64 bits, Ubuntu 12.10 Beta 2, Linux Mint 13 Cinnamon 64 bits and openSUSE 12.2 64 bits and the error code and symptoms (logging to tty1 instead of GUI logging, low-res bootscreen) are the same for all of these distros.Right, I didn&#8217;t tell what&#8217;s the error code. It appears on sudo startx.NVIDIA: could not open<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/83705abea1d1db5c7c531c2387f47fd8?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\ndustin<br \/>\n12.04 intel xserver<br \/>\nI keep receiving a crash report and when I view the details it says xserver-xorg-video-intel not installed. I receive this crash report constantly. 5-10 times in a row. It is very annoying and I need to find a way to stop this. I am using Ubuntu 12.04 clean install.If I try to install (sudo apt-get install xserver-xorg-video-intel), it saysSome packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f7d15de2abdec49cacaac7d14f00fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJorge Castro<br \/>\nxorg reset xserver<br \/>\nxserver keeps crashing on my general user account both in unity 3d and 2d. It doesn&#8217;t do it on the guest account. That&#8217;s why I want to reset \/ rollback everything xserver related, hoping this is going to fix it.Most answers on this involve sudo dpkg-reconfigure xserver-xorg. However, this does nothing for me (generates no output) and I read in other forums, that it&#8217;s deprecated. So, what&#8217;s the current way to reset all xserver \/ xorg options; what&#8217;s the alternative to sudo dpkg-reconfigure xserv<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c9cc3ebf1dbd655b6ff0fb79aab4d1b3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nfuyou001<br \/>\nlogin xserver<br \/>\nI can&#8217;t log in to my ubuntu 12.10 Once I login I got returned back to the original screen after ente r right passwordthe xserver crash log is crash log<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8bfa3d624cdb4f087d8d8ffcaf786315?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njokerdino<br \/>\nfirefox kubuntu nvidia-optimus xserver<br \/>\nWhenever I minimise Firefox by using the minimise button or clicking the icon in the taskbar, within 10 seconds xserver crashes and brings me back to the login screen.This has only been verified on my laptop as I do not have another computer available to run Kubuntu.Laptop dell 7720 (17r se) Kubuntu 13.10 clean install Nvidia 650M (using bumblebee drivers for optimus)Memtest comes back OK.Output from \/var\/log\/kern.logNov 10 22:48:37 Kubuntu-7720 kernel: [ 680.327504] virtuoso-t[5111]: segfault<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/98ed22c3e08243b8634b3121db53e938?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nkarel<br \/>\nnvidia freeze minecraft xserver crash<br \/>\nI have done a dry run of the Alt + SysRq + REISUB keys (I manually re-enabled them) and they worked perfectly, however when my system actually freezes while using a 3D graphics program (namely Minecraft), nothing (Magic Keys included) works at all. The computer is completely frozen, while looping half a second of audio that was playing before it froze, and the cursor is unmovable. From what I was able to find from similar cases it possibly has something to do with the Nvidia X server drivers, bu<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/061c8ada167a492f5ff58163162fee1f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMatthew<br \/>\n12.10 lubuntu xserver teamviewer<br \/>\nI try to start Teamviewer on a server without screen:export DISPLAY=:0&lt;br&gt; \/opt\/teamviewer8\/tv_bin\/script\/teamviewerThe result is:Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. wine: Unhandled page fault on read access to 0x0000008c at address 0x7d8e197a (thread 0009), starting debugger&#8230; err:seh:start_debugger Couldn&#8217;t start debugger (&#8220;winedbg &#8211;auto 8 5332&#8221;) (2) Read the Wine Developers Gui<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8b87a9393257af827979dd4fdb7fa418?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAmmar Lakis<br \/>\nnvidia xorg xserver<br \/>\nRecently I&#8217;ve added ppa:xorg-edgers to software sources and upgraded all packages. After I restarted and logged in the screen flashed and closed xserver and the same thing happened when I typed startx in terminal. Lightdm works correctly but xserver encounter some problems so that I purged the previous ppa using ppa-purge xorg-edgersto rollback changes , reinstalling or reconfiguring xserver but it didn&#8217;t work. This is my log file \/var\/log\/Xorg.1 :[ 2913.764] X.Org X Server 1.13.0 Release Date<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e2a67252321fff7649be8e0055494d1a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngsv<br \/>\n12.04 ati xserver<br \/>\nI have a problem with xserver on my laptop. Ubuntu 12.04.1 is installed. First, I can boot only in terminal mode. When I try to start xserver with command startx it fails.lspci | grep VGA output: 01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Radeon Xpress 1250 xorg.0.log: [ 3947.214] X.Org X Server 1.11.3 Release Date: 2011-12-16 [ 3947.223] X Protocol Version 11, Revision 0 [ 3947.226] Build Operating System: Linux 2.6.42-26-generic i686 Ubuntu [ 3947.228] Current<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7b77d2d5cb4fd047f284fca784357544?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRaster<br \/>\nnvidia xserver multiseat<br \/>\nMy X server consistently crashes. It seems like this is happening when the X server is idle. This behaviour is new with 12.04. This is only happening on the second display of a multiseat system. Is there a configuration change I can make to stop this?X.Org X Server 1.11.3 Release Date: 2011-12-16 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.42-26-generic x86_64 Ubuntu Current Operating System: Linux Desktop 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/de68b1e5991b7c034148671fb4282c53?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJai<br \/>\n12.04 xorg display xserver<br \/>\nI originally wrote this question on http:\/\/unix.stackexchange.com but didn&#8217;t really get any response and that forum isn&#8217;t as busy as this one so hoping to get better luck here.I&#8217;m currently running Mint 14 on this computer, but I also run Ubuntu 12.04 on it and have previously happened with Fedora 16 and all 3 OS&#8217;s have given me the same problem so I&#8217;m guessing it&#8217;s a general problem with my drivers.The display will not start up after the laptop hard disk goes to sleep. If I close the lid it wil<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d7912ba2ab72397e157148de151cd9e9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTomas Lycken<br \/>\n12.04 xorg xserver<br \/>\nI&#8217;m having problems with my Xserver sometimes failing to start. It doesn&#8217;t happen consistently, but when it happens, instead of showing the login screen I get some vague one-line error message about some service failing to start (can&#8217;t remember exactly what it says now, and it&#8217;s not copy-pasteable&#8230;) the following error message:** (plymouthd:313): WARNING **: Command line `dbus-launch &#8211;autolaunch=56a6ab7418a994dcd756ff100000002 &#8211;binary-syntax &#8211;close-stderr&#8217; exited with non-zero exit status 1<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7497d58f658b1894b9acbd876b4f2b87?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nOliver Seeliger<br \/>\nxserver openvz<br \/>\nI&#8217;v set up an Ubuntu 12.04 from the precreated OpenVZ template. The host system is configured as follows: # $ cat \/etc\/issue Debian GNU\/Linux 6.0# $ uname -a Linux openvz-02 2.6.32-16-pve #1 SMP Fri Nov 9 11:42:51 CET 2012 x86_64 GNU\/Linux# $ apt-cache showpkg proxmox-ve-2.6.32 Package: proxmox-ve-2.6.32# $ tail -n 3 \/etc\/apt\/sources.list # PVE packages provided by proxmox.com deb http:\/\/download.proxmox.com\/debian squeeze pveFor a software project I need a minimal xserver and followed the instr<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b50cc863e7ab2aa3ea84d5f882c13a40?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMatt<br \/>\n12.04 updates gpu xserver apport<br \/>\nI am aware that this has already been reported in various places, I&#8217;ve searched using the forum and the &#8216;similar questions&#8217; but I&#8217;ve not seen any solutions as of yet. Hopefully this question will aid in identifying the issue and creating a fix and apologies if there is already a fix and I&#8217;ve missed it. I recently updated 12.04 using the System Update manager, rebooted and system would crash within seconds of loading X Server. Sometimes with a generic &#8220;System Error&#8221; popup, and sometimes with noth<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a605b3174e4bdbed4ac133cc91c471c8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nrefik<br \/>\ncross-compiling ld xserver jhbuild<br \/>\nI am trying to cross-compile xserver using jhbuild on an Ubuntu box. The error I receive occurs after running make and looks like this:\/usr\/local\/arm\/4.2.2-eabi\/usr\/bin-ccache\/..\/lib\/gcc\/arm-unknown-linux-gnueabi\/4.2.2\/..\/..\/..\/..\/arm-unknown-linux-gnueabi\/bin\/ld: warning: libfontenc.so.1, needed by \/home\/refik\/code\/xdep\/usr\/local\/lib\/libXfont.so, not found (try using -rpath or -rpath-link) \/home\/refik\/code\/xdep\/usr\/local\/lib\/libXfont.so: undefined reference to `FontEncIdentify&#8217; &#8230; collect2: ld<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-01-05 09:09:16. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>user1064504 linux gtk gtk+ xlib xserver How you keep gtk window fixed on screen like a taskbar or keep some space like taskbar reserved for our gtk window, Do i need to write some WM plugin. if it helps my wm is metacity, and can you integrate gtk with xlib program, actually I was developing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2230","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2230"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2230\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}