LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   No GUI after update Fedora 20 and NVidia Card (https://www.linuxquestions.org/questions/fedora-35/no-gui-after-update-fedora-20-and-nvidia-card-4175501003/)

jpro6363 04-08-2014 11:52 AM

No GUI after update Fedora 20 and NVidia Card
 
I recently installed a new NVIDIA card GK106 [GeForce GTX 660]. I tried to install the nvidia drivers and didn't see anything different but once I restarted i cannot get any GUI. I can ctrl+alt+f2 and get to a terminal. I've tried to remove all Nvidia drivers but still that's no help.

I'm still a novice by most standards so any help is greatly appreciated!

John VV 04-08-2014 01:14 PM

you said you tried to install the nvidia driver ?

if you did NOT read the fedora install instructions and user guide you will find that that is hard to do unless you fallow the INSTRUCTIONS
http://docs.fedoraproject.org/en-US/...ide/index.html
release notes
http://docs.fedoraproject.org/en-US/...tes/index.html
http://docs.fedoraproject.org/en-US/...ide/index.html

have a look at the fedoraforum nvidia guide
http://www.forums.fedoraforum.org/sh...d.php?t=280750

and at the TOP of EVERY page on the forum is a bold yellow link to guides
and the very FIRST one is "mjmwired"
http://www.fedoraforum.org/?view=fedora_setup
http://www.mjmwired.net/resources/mjm-fedora-f19.html

jpro6363 04-08-2014 01:44 PM

I didn't come here first. :-(
 
http://www.if-not-true-then-false.co...0-nvidia-guide

Above is the what I found for installing and uninstalling which is what I have tried. I admit I should have came here first but thought I could find a faster solution by going to Google and I'm now paying the price. I hate to have to re-image my machine especially because anytime I mess it up my wife insist I go back to windows!

jpro6363 04-08-2014 01:49 PM

Quote:

Originally Posted by John VV (Post 5148889)
you said you tried to install the nvidia driver ?

if you did NOT read the fedora install instructions and user guide you will find that that is hard to do unless you fallow the INSTRUCTIONS
http://docs.fedoraproject.org/en-US/...ide/index.html
release notes
http://docs.fedoraproject.org/en-US/...tes/index.html
http://docs.fedoraproject.org/en-US/...ide/index.html

have a look at the fedoraforum nvidia guide
http://www.forums.fedoraforum.org/sh...d.php?t=280750

and at the TOP of EVERY page on the forum is a bold yellow link to guides
and the very FIRST one is "mjmwired"
http://www.fedoraforum.org/?view=fedora_setup
http://www.mjmwired.net/resources/mjm-fedora-f19.html

Thank you for the great information (I never thought about first). I am getting some errors when I issue "yum grouplist -v hidden | grep desktop"

root@localhost ~]# yum grouplist -v hidden | grep desktop

(process:1753): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing primary.xml error: Start tag expected, '<' not found

Traceback (most recent call last):
File "/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 355, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 174, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 570, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 1030, in doCommand
self._grp_setup_doCommand(base)
File "/usr/share/yum-cli/yumcommands.py", line 920, in _grp_setup_doCommand
base.doGroupSetup()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 880, in doGroupSetup
return self._getGroups()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 910, in _getGroups
self.pkgSack
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 776, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 260, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 46, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Document is empty

Could this be part of my problem?

jpro6363 04-08-2014 02:03 PM

[root@localhost ~]# yum update kernel\* selinux-policy
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.utexas.edu
* rpmfusion-free: mirror.web-ster.com
* rpmfusion-free-updates: mirror.nexcess.net
* rpmfusion-nonfree: mirror.nexcess.net
* rpmfusion-nonfree-updates: mirror.nexcess.net
* updates: www.gtlib.gatech.edu

(process:1790): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing primary.xml error: Start tag expected, '<' not found

Traceback (most recent call last):
File "/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 355, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 174, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 570, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 489, in doCommand
ret = base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
File "/usr/share/yum-cli/cli.py", line 1024, in updatePkgs
txmbrs = self.update(pattern=item, update_to=update_to)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5094, in update
m = self.pkgSack.returnNewestByNameArch(patterns=pats)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 776, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 260, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 46, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Document is empty

[root@localhost ~]# rpm -qa *\nvidia\* *\kernel\*|sort;uname -r;lsmod |grep -e nvidia -e nouveau;cat /etc/X11/xorg.conf
abrt-addon-kerneloops-2.1.11-1.fc20.x86_64
abrt-addon-kerneloops-2.1.12-1.fc20.x86_64
kernel-3.11.10-301.fc20.x86_64
kernel-3.12.7-300.fc20.x86_64
kernel-3.12.8-300.fc20.x86_64
kernel-3.12.9-301.fc20.x86_64
kernel-3.13.7-200.fc20.x86_64
kernel-3.13.8-200.fc20.x86_64
kernel-headers-3.13.8-200.fc20.x86_64
kernel-modules-extra-3.12.7-300.fc20.x86_64
kernel-modules-extra-3.13.7-200.fc20.x86_64
kernel-modules-extra-3.13.8-200.fc20.x86_64
kmod-nvidia-3.13.7-200.fc20.x86_64-331.49-1.fc20.6.x86_64
libreport-plugin-kerneloops-2.1.12-1.fc20.x86_64
3.12.7-300.fc20.x86_64
nouveau 952612 3
video 19104 1 nouveau
mxm_wmi 12865 1 nouveau
wmi 18804 2 mxm_wmi,nouveau
i2c_algo_bit 13257 1 nouveau
drm_kms_helper 50287 1 nouveau
ttm 79787 1 nouveau
drm 283349 5 ttm,drm_kms_helper,nouveau
i2c_core 38476 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
cat: /etc/X11/xorg.conf: No such file or directory

John VV 04-08-2014 05:26 PM

Quote:

yum grouplist -v hidden | grep desktop
-------------
yum update kernel\* selinux-policy
??????????????????????????????
what is it you are doing ?

and where did you get those very odd and weird commands
( and change the "odd" command that are on "if-not-true-then-false"
that first one ??? "yum grouplist -v hidden | grep desktop"
mind bogglingly odd

i would really use the operating system's forum than some random webpage
"http://www.if-not-true-then-false.com/2014/fedora-20-nvidia-guide/"

"if-not-true-then-false" sometimes is fine

but , use the official fedora guide
on fedoraforum


This error
Quote:

GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
i am guessing you used ONLY "su" to become root

fedora uses TWO very different commands to become root
"su"
and
"su -"
that "-" makes a VERY big difference
su = root BUT!!! with the NORMAL users' $PATH and OLNY using the normal users settings
( only PARTLY the root administrators account )

su - = ROOT and with the full ROOT $PATH
and full root settings

there is a SAFETY check in gnome
the GUI really SHOULD NOT !!! be ran as root ( very big security MESS )

you have to use "su -" or the long version of that shortcut " su -l root" to be able to do most things as root

Quote:

kernel-3.11.10-301.fc20.x86_64
kernel-3.12.7-300.fc20.x86_64
kernel-3.12.8-300.fc20.x86_64
kernel-3.12.9-301.fc20.x86_64
kernel-3.13.7-200.fc20.x86_64
kernel-3.13.8-200.fc20.x86_64
How did you manage to get 6 kernels installed

fedora defaults to 3
the current one being used
the last as a back up
and the one before that as an EMERGENCY back up


can you post the output of these two commands
Code:

su -
---- type in your root password when asked ------------
yum repolist all
------- then this one ----------
yum update


jpro6363 04-09-2014 09:32 PM

**solved**
 
Quote:

Originally Posted by John VV (Post 5149031)
??????????????????????????????
what is it you are doing ?

and where did you get those very odd and weird commands
( and change the "odd" command that are on "if-not-true-then-false"
that first one ??? "yum grouplist -v hidden | grep desktop"
mind bogglingly odd

i would really use the operating system's forum than some random webpage
"http://www.if-not-true-then-false.com/2014/fedora-20-nvidia-guide/"

"if-not-true-then-false" sometimes is fine

but , use the official fedora guide
on fedoraforum


This error

i am guessing you used ONLY "su" to become root

fedora uses TWO very different commands to become root
"su"
and
"su -"
that "-" makes a VERY big difference
su = root BUT!!! with the NORMAL users' $PATH and OLNY using the normal users settings
( only PARTLY the root administrators account )

su - = ROOT and with the full ROOT $PATH
and full root settings

there is a SAFETY check in gnome
the GUI really SHOULD NOT !!! be ran as root ( very big security MESS )

you have to use "su -" or the long version of that shortcut " su -l root" to be able to do most things as root


How did you manage to get 6 kernels installed

fedora defaults to 3
the current one being used
the last as a back up
and the one before that as an EMERGENCY back up


can you post the output of these two commands
Code:

su -
---- type in your root password when asked ------------
yum repolist all
------- then this one ----------
yum update



Thanks for all your help! After seeing your post as well as others I've choosen to just re-intsll Fedora 20 on my desktop.

Thanks again for your help!


All times are GMT -5. The time now is 10:18 PM.