No Desktop after Nvidia Install on OpenSuSE 11.4 VM?

Hello All,

Friday of last week I installed the Nvidia Software using Yast and the Software Manager. After installing this I did not
reboot my system because I was in the middle of doing some stuff, so I just let it go till the end of the day when I shutdown completely.

Now this morning when I got in, I boot up my Laptop then turned on my OpenSuSE 11.4 Virtual Machine. After starting it up and after GRUB, I got directly booted to
a console login instead of the Desktop. I am assuming this is from installing the Nvidia stuff Friday… After googling for about the last 4 hours I read that
a Linux VM can’t use the nvidia drivers (if I can find that link again I will post it).

How can I revert back to the way it was before I installed the Nvidia Drivers/Software. I’ve already uninstalled the Nvidia stuff, and it still won’t get me to a Desktop.

Graphics Card -and- OS:


# lspci | grep i vga
VGA compatible controller: VMware SVGA II Adapter

# cat /etc/SuSE-release
openSUSE 11.4 (i586)
VERSION = 11.4
CODENAME = Celadon

# uname -r
2.6.37.6-0.11-default

*These are some of the Error I saw before uninstalling the Nvidia Drivers/SW: **
Sorry I don’t have all of them because I’ve rebooted a few times and the Xorg..log(s) that had those errors are gone


## From what I remember these are some of the errors I saw before I uninstalled Nvidia...
### Not in any particular order:

(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
........
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.


So I tried to uninstall all the nvidia stuff using “yast2” from the command line.
Here are the Errors I’m seeing after the uninstall from Xorg.0.log:


(EE) No devices detected.
Fatal server error: no screens found

Also, here is “/var/log/messages”:


May 21 09:40:47 Matt-suse-vm kernel:     7.475394] nvidia: module license 'NVIDIA' taints kernel.
May 21 09:40:47 Matt-suse-vm kernel:     7.475399] Disabling lock debugging due to kernel taint
May 21 09:40:47 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:47 Matt-suse-vm sshd[1410]: Server listening on 0.0.0.0 port 22.
May 21 09:40:47 Matt-suse-vm sshd[1410]: Server listening on :: port 22.
May 21 09:40:47 Matt-suse-vm kernel:     7.608454] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:47 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.731212 seconds
May 21 09:40:47 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:47 Matt-suse-vm kernel:     7.777221] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
May 21 09:40:47 Matt-suse-vm kernel:     7.780303] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:47 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.170715 seconds
May 21 09:40:47 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:47 Matt-suse-vm kernel:     8.002759] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:47 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.221719 seconds
May 21 09:40:47 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:47 Matt-suse-vm kernel:     8.200196] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:47 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.196489 seconds
May 21 09:40:47 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:47 Matt-suse-vm kernel:     8.426975] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:47 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.226722 seconds
May 21 09:40:48 Matt-suse-vm acpid: 1 client rule loaded
May 21 09:40:48 Matt-suse-vm kernel:     8.581699] NVRM: No NVIDIA graphics adapter found!
May 21 09:40:48 Matt-suse-vm gdm[1117]: WARNING: GdmDisplay: display lasted 0.154744 seconds
May 21 09:40:48 Matt-suse-vm gdm[1117]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors

:.........
May 21 10:16:13 Matt-suse-vm kernel:     6.445945] nvidia: module license 'NVIDIA' taints kernel.
May 21 10:16:13 Matt-suse-vm kernel:     6.445950] Disabling lock debugging due to kernel taint
:.........
May 21 10:16:13 Matt-suse-vm kernel:     6.688998] NVRM: No NVIDIA graphics adapter found!
May 21 10:16:13 Matt-suse-vm gdm[1180]: WARNING: GdmDisplay: display lasted 0.160296 seconds
May 21 10:16:13 Matt-suse-vm kernel:     6.533026] NVRM: No NVIDIA graphics adapter found!

Is there a way for me to get back to whatever the default Graphics stuff was before I installed the Nvidia Drivers and Software…?
Any thoughts/suggestions would be great.

Thanks in Advance,
Matt

Forgot to include my xorg.conf file:

Not sure what it was before installing the Nvidia Drivers/SW…
You’ll see I tried a couple of different drivers for the Graphics card section.


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 295.40  (buildmeister@swio-display-x86-rhel47-04.nvidia.com)  Thu Apr  5 22:33:07 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nv"
#   Driver         "nvidia"
#   Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Does anyone think re-installing the Xserver would do anything…?
I am totally at a loss for what else I can do…

Thanks in Advance,
Matt

Ughhh… Sorry guys about triple posting but I just tried using “vesa” as the driver for that section and I was able to get to a desktop.

But now I can’t change the resolution to be higher than “1280x720”… My Monitor’s max resolution is “1680x1050”.
Before all this **** happened my VM’s Desktop would resize to whatever the window size was in my Host’s OS but it won’t change at all now.

Is there another driver or something that I should use?

Thanks in Advance,
Matt

I got it working… Sighhhhhhh

In case anyone has the same issue with you Linux VM this is what I did**:**

**1. **First I removed anything in the Software Manager related to Nvidia.

**2. **Next I changed this section of my xorg.conf:


     Section "Device"
         Identifier     "Device0"
         Driver         "nv"     #-or- "nvidia"
         VendorName     "NVIDIA Corporation"
     EndSection

To This:


     Section "Device"
         Identifier     "Device0"
         Driver         "vmware"
         VendorName     "NVIDIA Corporation"
     EndSection

Hope that helps someone someday lol… Took me most of the day to figure out which driver I should have been using.

Thanks,
Matt