gdm3 broken after installion of various X11 packages

Forum rules
Before you post please read this

gdm3 broken after installion of various X11 packages

Postby pattonia on Tue Aug 16, 2011 9:55 am

Yesterday I installed several x11 and GLU development libraries on my laptop (nvidia graphics card, I think) that were required as dependcies for a software package I was building from source (mbsystem). Today on bootup, gdm3 fails to start, and I am left with a command prompt login, and no desktop.

I don't know how to get gdm3 fixed; removing it and re-installing via apt-get doesn't help. I also don't know how to find out what packages I installed via Synaptic yesterday, in order to remove them to see if gdm3 will start up again.

The specific error message I get on the command line when I try to manually start gdm3 is:

Code: Select all
**(gdm3:7259) WARNING ** :Failed to acquire org.gnome.DisplayManager
**(gdm3:7259) : Could not acquire name; bailing out


I should also note that my system is pointing to the Linux Mint Debian Latest repos, so no libraries from Debian Testing would have been avilable for me to install through Synaptic.

Any ideas really appreciated!
pattonia
Level 1
Level 1
 
Posts: 13
Joined: Fri Jul 15, 2011 8:05 am

Linux Mint is funded by ads and donations.
 

Re: gdm3 broken after installion of various X11 packages

Postby pattonia on Wed Aug 17, 2011 2:48 pm

After more digging, the problem seems to be that I don't have the right nvidia driver installed for an NVidia GT218 card.

Does anyone know what driver I need to install to support this card? In Synaptic, nvidia-glx-legacy-173xx and nvidia-glx-legacy-96xx are available, but selecting either of those results in dozens and dozens of xserver-xorg packages being selected for removal, which makes me kind of nervous.

Thanks for your time,

~ Eric.
pattonia
Level 1
Level 1
 
Posts: 13
Joined: Fri Jul 15, 2011 8:05 am

Re: gdm3 broken after installion of various X11 packages

Postby remoulder on Wed Aug 17, 2011 2:59 pm

[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7674
Joined: Fri May 09, 2008 1:14 pm

Re: gdm3 broken after installion of various X11 packages

Postby pattonia on Wed Aug 17, 2011 5:56 pm

Thanks. I've downloaded the NVIDIA-Linux-x86-260.19.12.run script. After stopping X and setting my runlevel to 3, I logged in as root, and executed the script. I received a dialog to accept the EULA, and after selecting OK, the script exits to the command prompt with the message:
Code: Select all
Received signal SIGTERM; aborting


Any idea what may have caused this?
pattonia
Level 1
Level 1
 
Posts: 13
Joined: Fri Jul 15, 2011 8:05 am

Re: gdm3 broken after installion of various X11 packages

Postby remoulder on Thu Aug 18, 2011 7:28 am

[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7674
Joined: Fri May 09, 2008 1:14 pm

Re: gdm3 broken after installion of various X11 packages

Postby pattonia on Thu Aug 18, 2011 9:12 pm

Thanks. I made a little progress:

I ran apt-get remove "*nvidia*", all nvidia packages successfully removed. Next I ran NVIDIA-Linux-x86-260.19.12.run, and it complained that my gcc-4.6 doesn't match the gcc-4.4 the driver was compiled against. So I tried changing the symlinks in /usr/bin for gcc to point to version gcc-4.4 instead of 4.6. Re-running the Nvidia script again, and I made it further into the install sequence, but it exited with the following error message:

Code: Select all
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Aug 18 21:53:26 2011
installer version: 260.19.12

PATH: /sbin:/usr/sbin:/bin:/usr/bin

option status:
  license pre-accepted               : false
  update                             : false
  force update                       : false
  expert                             : false
  uninstall                          : false
  driver info                        : false
  precompiled interfaces             : true
  no ncurses color                   : false
  query latest version               : false
  no questions                       : false
  silent                             : false
  no recursion                       : false
  no backup                          : false
  kernel module only                 : false
  sanity                             : false
  add this kernel                    : false
  no runlevel check                  : false
  no network                         : false
  no ABI note                        : false
  no RPMs                            : false
  no kernel module                   : false
  force SELinux                      : default
  no X server check                  : false
  no cc version check                : false
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  force tls                          : (not specified)
  X install prefix                   : (not specified)
  X library install path             : (not specified)
  X module install path              : (not specified)
  OpenGL install prefix              : (not specified)
  OpenGL install libdir              : (not specified)
  utility install prefix             : (not specified)
  utility install libdir             : (not specified)
  installer prefix                   : (not specified)
  doc install prefix                 : (not specified)
  kernel name                        : (not specified)
  kernel include path                : (not specified)
  kernel source path                 : (not specified)
  kernel output path                 : (not specified)
  kernel install path                : (not specified)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed to run).
-> License accepted.
-> Installing NVIDIA driver version 260.19.12.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.39-2-686-pae/source'
-> Kernel output path: '/lib/modules/2.6.39-2-686-pae/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.39-2-686-pae/so
   urce SYSOUT=/lib/modules/2.6.39-2-686-pae/build'...
   NVIDIA: calling KBUILD...
   make -C /lib/modules/2.6.39-2-686-pae/build \
      KBUILD_SRC=/usr/src/linux-headers-2.6.39-2-common \
      KBUILD_EXTMOD="/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel" -f /usr/s
   rc/linux-headers-2.6.39-2-common/Makefile \
      modules
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (      \
      echo;                        \
      echo "  ERROR: Kernel configuration is invalid.";      \
      echo "         include/generated/autoconf.h or include/config/auto.conf are
   missing.";\
      echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";   \
      echo;                        \
      /bin/false)
   mkdir -p /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/.tmp_versions ; r
   m -f /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/.tmp_versions/*
   make -f /usr/src/linux-headers-2.6.39-2-common/scripts/Makefile.build obj=/t
   mp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel
     cc -Wp,-MD,/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/.nv.o.d  -nos
   tdinc -isystem /usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.4.6/include -I/u
   sr/src/linux-headers-2.6.39-2-common/arch/x86/include -Iinclude  -I/usr/src/
   linux-headers-2.6.39-2-common/include -include include/generated/autoconf.h
    -I/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel -D__KERNEL__ -Wall -Wun
   def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
   ror-implicit-function-declaration -Wno-format-security -fno-delete-null-poin
   ter-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred
   -stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestan
   ding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCO
   NFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tabl
   es -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fomit-fr
   ame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-o
   verflow -fconserve-stack   -I/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kern
   el -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE
   -DNVRM -DNV_VERSION_STRING=\"260.19
   .12\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BA
   SENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/sel
   fgz1530/NVIDIA-Linux-x86-260.19.12/kernel/.tmp_nv.o /tmp/selfgz1530/NVIDIA-L
   inux-x86-260.19.12/kernel/nv.c
   In file included from /usr/src/linux-headers-2.6.39-2-common/include/linux/k
   ernel.h:17,
                    from /usr/src/linux-headers-2.6.39-2-common/include/linux/s
   ched.h:55,
                    from /usr/src/linux-headers-2.6.39-2-common/include/linux/u
   tsname.h:35,
                    from /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv-l
   inux.h:27,
                    from /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv.c
   :13:
   /usr/src/linux-headers-2.6.39-2-common/include/linux/bitops.h: In function '
   hweight_long':
   /usr/src/linux-headers-2.6.39-2-common/include/linux/bitops.h:49: warning: s
   igned and unsigned type in conditional expression
   In file included from /usr/src/linux-headers-2.6.39-2-common/arch/x86/includ
   e/asm/uaccess.h:571,
                    from /usr/src/linux-headers-2.6.39-2-common/include/linux/p
   oll.h:14,
                    from /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv-l
   inux.h:84,
                    from /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv.c
   :13:
   /usr/src/linux-headers-2.6.39-2-common/arch/x86/include/asm/uaccess_32.h: In
   function 'copy_from_user':
   /usr/src/linux-headers-2.6.39-2-common/arch/x86/include/asm/uaccess_32.h:209
   : warning: comparison between signed and unsigned integer expressions
   In file included from /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv.c
   :13:
   /tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv-linux.h:90:75: error: l
   inux/smp_lock.h: No such file or directory
   make[4]: *** [/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel/nv.o] Error
   1
   make[3]: *** [_module_/tmp/selfgz1530/NVIDIA-Linux-x86-260.19.12/kernel] Err
   or 2
   make[2]: *** [sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.


So the first error I see is "Kernel configuration is invalid." And the script suggests to "Run 'make oldconfig && make prepare' on kernel src to fix it". I might need some pointers on this part; I am currently running kernel version linux-image-2.6.39-2-686-pae; I have what I assume is the matching source package installed, that is, linux-source-2.6.39. Is it safe to run the command the script suggests above, and if so, where does this command need to be run?

Thanks for your help,

~ Eric.
pattonia
Level 1
Level 1
 
Posts: 13
Joined: Fri Jul 15, 2011 8:05 am

Re: gdm3 broken after installion of various X11 packages

Postby remoulder on Fri Aug 19, 2011 7:19 am

pattonia wrote:linux/smp_lock.h: No such file or directory

This looks like a missing header to me, do you have all the necessary libs installed? Other than that I'm afraid I don't know, maybe someone else may step in.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7674
Joined: Fri May 09, 2008 1:14 pm

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 1 guest