LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-05-2020, 06:23 AM   #1
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Rep: Reputation: Disabled
Can't install Nvidia driver while X is running


I just got a new laptop and am trying to get Linux Mint all set up on it, but when I try to run the Nvidia gpu driver installer, it says it can't run while an X server is running. I tried pressing Ctrl-Alt-F2, but running it from the command line I got the same error. How do I run a program without X running?
 
Old 05-05-2020, 07:00 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,962

Rep: Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331Reputation: 7331
Ctrl-Alt-Fx will not stop X server, just switch to another tty. You need to boot into single user or command line mode (when GUI is not started at all).
 
Old 05-05-2020, 07:04 AM   #3
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
What is a tty and how do I switch to one?
 
Old 05-05-2020, 07:10 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Read carefully what pan64 said. You switched to another TTY by pressing Ctrl-Alt-F2, but this didn't help because it didn't stop the running X server. Try to reboot into rescue target:
Code:
sudo systemctl isolate rescue.target
 
Old 05-13-2020, 08:29 PM   #5
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
Oooohh, I misunderstood that post. I thought they were telling me I needed to switch to another tty.

Ok, I did manage to quit X and run the installer, but after rebooting, my panels had disappeared, there were no title bars on windows, I couldn't move windows even with Alt, and couldn't close them with Alt+F4. Basically the computer was completely unusable. I reinstalled the OS and tried again, in case something else I did combined with the driver had caused it, but was met with the same result. I've now reinstalled again and have everything working except for the GPU and wireless card (though I'm dealing with that in a different thread).
 
Old 07-30-2020, 01:43 AM   #6
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
Turns out all I needed to do was install Mint 20!
 
Old 10-01-2020, 03:14 AM   #7
Michealfrins
LQ Newbie
 
Registered: Sep 2020
Posts: 5

Rep: Reputation: 0
Cant install Nvidia driver while X is running

If you had the same problem, a blank screen with a flashing cursor, how did you manage to install anything? Did you manage to switch to another virtual terminal and get a login screen on the CLI?
 
Old 10-01-2020, 03:24 AM   #8
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
No, I backed up my files, wiped the partition, and reinstalled the later version of the OS, Mint 20.
 
  


Reply

Tags
gpu, nvidia, nvidia driver



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
while compiling nvidia driver, the script complains that nouveu driver still running in tumbleweed sirius57 SUSE / openSUSE 5 11-08-2019 07:31 PM
nvidia-driver SBo The symbolic link '/usr/lib/libGL.so.1' does not point to 'tmp/SBo/package-nvidia-driver/usr/lib64/libGL.so.1' Gerardo Zamudio Slackware 5 07-30-2017 10:44 PM
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 09:17 PM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration