Linux Find Out GNU gcc Compiler Version Used To Compile Running Kernel

Posted on in Categories last updated February 23, 2012

I‘ve multiple version of gcc installed on my systems as follows:

ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 7 Jan 11 05:20 /usr/bin/gcc -> gcc-4.4
-rwxr-xr-x 1 root root 239528 Sep 21 2010 /usr/bin/gcc-4.3
-rwxr-xr-x 1 root root 255536 Nov 15 2010 /usr/bin/gcc-4.4

I need to build a nvidia device driver using the same version of GNU compiler as was used to compile the currently running kernel. How do I find out the version of my GNU gcc compiler that was used by upstream Linux distribution to compile and pack my binary Linux kernel?

No xauth Program; Cannot Forward With Spoofing Error and Solution

Posted on in Categories , , , last updated March 15, 2017

I want to use my local machine as the X server over ssh. But when I try to run ssh -X -v [email protected] to the remote machine, I get the following error:

debug1: Remote: No xauth program; cannot forward with spoofing

How do I fix this problem and use X over ssh?