Path: csiph.com!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail From: "Adam" Newsgroups: alt.os.linux.ubuntu,comp.lang.python Subject: Re: crash while using PyCharm / Python3 Date: Tue, 22 Mar 2016 14:52:06 -0700 Organization: albasani.net Lines: 124 Message-ID: References: <56f03080$0$5924$e4fe514c@news.xs4all.nl> X-Trace: news.albasani.net t28JthJakS1o52HfGJdcDme50gLS6ZcH1YrGVq13tiUNv1nW8l2QMDYsD1s/xvGLRx8nRJNyvD4tOXs3d3qj1MgI9btM75sVGIlzjDov2MLsXXNzy0f8hU/VMTpMjUEa NNTP-Posting-Date: Tue, 22 Mar 2016 21:52:08 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="0OcHJaxiVV9BvpK5U7DSauYGAXpB6NAmwRiI/hrcox4r5RKu/NLYWbZkGXB3h7f2GVLLNH2Ce99a5PFYpEjWcU00tKh+syOEbHzeIGy6bPt+etC3I+rs+wovVa31R8G8"; mail-complaints-to="abuse@albasani.net" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:msrBZsnKGy8QvdY5LmG/HvSi4y4= X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com alt.os.linux.ubuntu:188851 comp.lang.python:105501 "Big Bad Bob" wrote in message news:mp6dnaVAhbnh6GzLnZ2dnUU7-Y_NnZ2d@earthlink.com... > On 03/21/16 17:23, Adam so wittily quipped: >> "Adam" wrote in message >> news:ncprqb$tl9$1@news.albasani.net... >>> >>> "Jonathan N. Little" wrote in message >>> news:ncpjj0$7ug$1@dont-email.me... >>>> Adam wrote: >>>>> There ought to be a way to just reinstall the graphics subsystem >>>>> rather >>>>> than >>>>> an all-or-none installation approach. >>>> >>>> Yes you can. Did it for a borked install of the nVidia driver. >>>> reference >>>> this: >>>> >>>> >>> >>> Thanks, even after doing the following... >>> >>> Problem: Need to purge -fglrx >>> >>> Typically, the following manual commands will properly uninstall -fglrx: >>> >>> $ sudo apt-get remove --purge xorg-driver-fglrx fglrx* >>> $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri >>> xserver-xorg-core >>> $ sudo dpkg-reconfigure xserver-xorg >>> >>> I still get that dreaded "The system is running in low-graphics mode" >>> error. >>> And, recovery mode failsafeX and Ctrl+Alt+F1 hangs with the following... >>> >>> >>> Initializing built-in extension MIT-SCREEN-SAVER >>> Initializing built-in extension DOUBLE-BUFFER >>> Initializing built-in extension RECORD >>> Initializing built-in extension DPMS >>> Initializing built-in extension Present >>> Initializing built-in extension DRI3 >>> Initializing built-in extension X-Resource >>> Initializing built-in extension XVideo >>> Initializing built-in extension XVideo-MotionCompensation >>> Initializing built-in extension SELinux >>> Initializing built-in extension XFree86-VidModeExtension >>> Initializing built-in extension XFree86-DGA >>> Initializing built-in extension XFree86-DRI >>> Initializing built-in extension DRI2 >>> Loading extension GLX >>> >>> >> >> After trying the following... >> >> http://askubuntu.com/questions/577093/how-to-install-gnome-desktop >> >> $ sudo apt-get update >> $ sudo apt-get install gnome-shell >> >> >> http://tipsonubuntu.com/2014/06/06/change-display-manager-ubuntu-14-04/ >> >> $ sudo dpkg-reconfigure lightdm >> >> I am now able to login. But, >> not sure what happened to the "lightdm" display manager. >> I am now using "gdm" display manager. > > if you're able to boot up by changing things *like* the display manager, > you might want to take a look at the X11 configuration directly. Adding > "more cruft" to your system (i.e. gdm) isn't necessarily going to 'fix' > a problem that's related to the X11 configuration. > > [it's one reason why I generally prefer to boot to command line rather > than into a GUI for a typical linux install] > > as an example, you could save your xorg.conf file > /etc/X11/xorg.conf No such file on my system. Is it even needed ? > > and generate a new one, using 'xorg -configure' (as root). > > I'm guessing that when you installed the 'PyCharm' package, "some other > dependent package" did something undesirable to your xorg.conf file. I no longer think PyCharm / Python3 is the cause of the crash. It was just a coincidence. Search for "lightdm problem ubuntu 14.04" > > That would MOST CERTAINLY cause a hang during the desktop startup. lightdm was failing. > > it might also be fixable by re-configuring your installed packages, > rather than a full-blown re-install from scratch. > > dpkg-reconfigure -a > > [the man page warns "it may take a long time" - yeah, probably will] > > > Keep in mind that adding gdm afterwards *might* have done the > 'reconfigure' on the problem package(s) already. So adding 'gdm' > instead of whatever login manager you were using before [along with all > of its dependent packages] would most likely have forced "the problem > package" to re-configure. That very well might have "fixed" the problem > on its own. So my suggestion here would be to remove this 'new' package > and see if the problem comes back. Most likely it won't. > Thanks, but it's working fine now. :-)