Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu 12.04 was the April 2012 version. It is "end of life" and totally unsupported. I recommend you try either the current Ubuntu 17.10 or the long-term support 16.04 release.
Once you have replaced Ubuntu 12.04 with a supported release, you can follow these instructions if you want to install the Nvidia drivers (but you might not need to; it might just magically work fine for your needs with the open source Nouveau drivers): https://help.ubuntu.com/community/Bi...erHowto/Nvidia
Hi snowpine,
thank you for the answer. But my problem is of more banal, general nature. I wanted to know how it generally possible to run the display manager and the X server (and other GUI applications) when one hasn't any working graphics driver? Here the old one is purged.
so after purging the old one it's switches automatically to the default os driver, right?
But in this case I ask myself why it's necessary to stop the x server resp. change runlevel before install the the new driver? Or what whould not work if one would don't do it?
Hi snowpine,
thank you for the answer. But my problem is of more banal, general nature. I wanted to know how it generally possible to run the display manager and the X server (and other GUI applications) when one hasn't any working graphics driver? Here the old one is purged.
Are you referring to the official 2018 instructions from help.ubuntu.com or to some unofficial 2012 instructions from a random dude's blog? The official 2018 instructions from help.ubuntu.com do not recommend or require you to "purge" anything. Follow unofficial/outdated instructions at your own risk!
To answer your broader question, the way that 'apt-get' works is that when you remove a package, it doesn't kill the currently-running instance of that software. For example if I were to remove Firefox right now, I could still finish typing this message to you. (But once I quit Firefox, I won't be able to re-launch it.)
To answer your broader question, the way that 'apt-get' works is that when you remove a package, it doesn't kill the currently-running instance of that software. For example if I were to remove Firefox right now, I could still finish typing this message to you. (But once I quit Firefox, I won't be able to re-launch it.)
But if I restart after purging the old driver without installing to new one, how the x-server will run?
Does then the os start automatically in lower runlevel (so without graphic manager) or does it automatically switching to the given default drivers like nouveau_dri.so, nouveau.ko which are given with the distribution if I understood knudfl's explanation correctly?
There are fallback drivers, VESA and fbdev, these will work virtually with any VGA compatible video card. Hardware acceleration won't be available and resolution may be limited.
But if I restart after purging the old driver without installing to new one, how the x-server will run?
I'm not sure I understand your question. Installing the new driver is the very first step of the tutorial, and purging the old driver is not recommended.
I'm not sure I understand your question. Installing the new driver is the very first step of the tutorial, and purging the old driver is not recommended.
I refering to following part of the refered guide above : Before installing to new driver there is ordered to purge to old one by the command:
$ sudo apt-get auroremove --purge nvidia-*
The point is that I'm curious how the x server will run after making this command and restarting again. As you explained in your previous post the driver will not be killed instantly after "be purged" but for example after beeing closed or restarting. So my question is what will happen with x server after restart. Will the os switching automatically to lower runlevel or will it run the x server with an defalult driver as knudfl has explained?
You decided to ignore my answer. What's the point asking the same question again?
Excuse me. If I understand you explanation correctly then after purging the old driver and restarting the os uses these "fallback drivers" like VESA and fbdev to run the x server by default?
I refering to following part of the refered guide above : Before installing to new driver there is ordered to purge to old one by the command:
$ sudo apt-get auroremove --purge nvidia-*
The point is that I'm curious how the x server will run after making this command and restarting again. As you explained in your previous post the driver will not be killed instantly after "be purged" but for example after beeing closed or restarting. So my question is what will happen with x server after restart. Will the os switching automatically to lower runlevel or will it run the x server with an defalult driver as knudfl has explained?
You are following the wrong how-to. Please refer to the guide I linked to in my post #2. If you want to follow the obsolete 2012 tutorial to "see what happens" then do so at your own risk. My educated guess is that you might experience lower resolution and lack of 3D acceleration due to generic/fallback drivers, or perhaps worst-case, Linux will boot to text mode.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.