startx not working in all version 4.10~ linux kernal. ubuntu 16.04

Asked by Aravind R on 2017-10-28

I will like to tell you in advance that I have already preformed . Removing ~/.Xauthrity file. Reinstalling NVidia drivers. And all other stuffs in wiki.ubuntu.

The exact story line:-

I was very happy with linux kernel 4.10.0-37 till a week back. All of sudden GUI for desktop version fails to start. After a day of sleepless night I found that kernel fails to access .Xauthority file during boot up.

I have removed the file as per askubuntu article. but not helped me. I finally decided to remove remove 4.10.0-37 and stay in 4.10.0-35 till you send stable release.

 Today I have received some upgrade. Now 4.10.0-35 is also not working.

I have tried 4.11.0-14, same error and not working.

For the past 5hr I tried all the steps told in your wiki page.

My current working kernel is 4.4.0-97-generic.

I think some patch is by getting released for all kernel which is causing problems.

I fear I will lose the kernel 4.4.0-97 functionality too.

It is becoming nightmare for me. Just like getting virus in windows pc.

I am a new linux user . Kindly help me fixing this issue.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Aravind R
Solved:
2017-10-31
Last query:
2017-10-31
Last reply:
2017-10-28

Does the 4.4 kernel do what you need? All hardware working etc?

Aravind R (araviaravi) said : #3

I actually want new kernel 4.10~. But I fear i should at least should have 4.4. Sir could you please help me getting 4.10.0-37 fixed.

Aravind R (araviaravi) said : #4

All hardware are working . It works if i boot in 4.4.

Aravind R (araviaravi) said : #5

Sir what information you need?

Then why do you want to change the kernel if everything works under the 4.4 kernel?

Aravind R (araviaravi) said : #9

Sir I have 2 concern.

1). I want to use new kernel which is avalible in backport and safe to use with 16.04.

2). Somthing is there in my ppa that is breaking kernel configration after I run apt upgrade.

I fear it is going to break 4.4 too. The reason is i have reinstalled the kernel too. Still same problem.
I have tried 4.11 4.10.0-35 4.10.0-37 4.10.0-38.
I doubt nvidia driver or beat version grub. But can't find that.
Please note that all were fine before a week.

Even i tried to install 4.4.0-98 new version priscribed to relese. It is the same.

Aravind R (araviaravi) said : #10

[ 95.952]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 95.953] X Protocol Version 11, Revision 0
[ 95.953] Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu
[ 95.954] Current Operating System: Linux comp 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64
[ 95.955] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic root=UUID=3bdb5792-d2a2-4f98-97bd-f274c3d0dde1 ro quiet splash crashkernel=384M-:128M crashkernel=384M-:128M vt.handoff=7
[ 95.957] Build Date: 13 October 2017 01:57:05PM
[ 95.958] xorg-server 2:1.18.4-0ubuntu0.7 (For technical support please see http://www.ubuntu.com/support)
[ 95.958] Current version of pixman: 0.33.6
[ 95.959] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[ 95.959] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 95.962] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 29 08:32:03 2017
[ 95.962] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 95.963] (==) No Layout section. Using the first Screen section.
[ 95.963] (==) No screen section available. Using defaults.
[ 95.963] (**) |-->Screen "Default Screen Section" (0)
[ 95.963] (**) | |-->Monitor "<default monitor>"
[ 95.963] (==) No monitor specified for screen "Default Screen Section".
 Using a default monitor configuration.
[ 95.963] (==) Automatically adding devices
[ 95.963] (==) Automatically enabling devices
[ 95.963] (==) Automatically adding GPU devices
[ 95.963] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 95.963] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 95.963] Entry deleted from font path.
[ 95.963] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 95.963] Entry deleted from font path.
[ 95.963] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 95.963] Entry deleted from font path.
[ 95.963] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 95.963] Entry deleted from font path.
[ 95.963] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 95.963] Entry deleted from font path.
[ 95.963] (==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/Type1,
 built-ins
[ 95.963] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 95.963] (II) The server relies on udev to provide the list of input devices.
 If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 95.963] (II) Loader magic: 0x563cdcf0ddc0
[ 95.963] (II) Module ABI versions:
[ 95.963] X.Org ANSI C Emulation: 0.4
[ 95.963] X.Org Video Driver: 20.0
[ 95.963] X.Org XInput driver : 22.1
[ 95.963] X.Org Server Extension : 9.0
[ 95.963] (++) using VT number 1

[ 95.965] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 95.966] (--) PCI:*(0:0:2:0) 8086:5916:1025:1094 rev 2, Mem @ 0xb2000000/16777216, 0xc0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 95.966] (--) PCI: (0:1:0:0) 10de:179c:1025:1094 rev 162, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 95.966] (II) LoadModule: "glx"
[ 95.966] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 95.967] (II) Module glx: vendor="X.Org Foundation"
[ 95.967] compiled for 1.18.4, module version = 1.0.0
[ 95.967] ABI class: X.Org Server Extension, version 9.0
[ 95.967] (==) AIGLX enabled
[ 95.967] (==) Matched intel as autoconfigured driver 0
[ 95.967] (==) Matched modesetting as autoconfigured driver 1
[ 95.967] (==) Matched fbdev as autoconfigured driver 2
[ 95.967] (==) Matched vesa as autoconfigured driver 3
[ 95.967] (==) Assigned the driver to the xf86ConfigLayout
[ 95.967] (II) LoadModule: "intel"
[ 95.967] (WW) Warning, couldn't open module intel
[ 95.967] (II) UnloadModule: "intel"
[ 95.967] (II) Unloading intel
[ 95.967] (EE) Failed to load module "intel" (module does not exist, 0)
[ 95.967] (II) LoadModule: "modesetting"
[ 95.967] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 95.967] (II) Module modesetting: vendor="X.Org Foundation"
[ 95.967] compiled for 1.18.4, module version = 1.18.4
[ 95.967] Module class: X.Org Video Driver
[ 95.967] ABI class: X.Org Video Driver, version 20.0
[ 95.967] (II) LoadModule: "fbdev"
[ 95.967] (WW) Warning, couldn't open module fbdev
[ 95.967] (II) UnloadModule: "fbdev"
[ 95.967] (II) Unloading fbdev
[ 95.967] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 95.967] (II) LoadModule: "vesa"
[ 95.967] (WW) Warning, couldn't open module vesa
[ 95.967] (II) UnloadModule: "vesa"
[ 95.967] (II) Unloading vesa
[ 95.967] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 95.967] (==) Matched intel as autoconfigured driver 0
[ 95.967] (==) Matched modesetting as autoconfigured driver 1
[ 95.967] (==) Matched fbdev as autoconfigured driver 2
[ 95.967] (==) Matched vesa as autoconfigured driver 3
[ 95.967] (==) Assigned the driver to the xf86ConfigLayout
[ 95.967] (II) LoadModule: "intel"
[ 95.967] (WW) Warning, couldn't open module intel
[ 95.967] (II) UnloadModule: "intel"
[ 95.967] (II) Unloading intel
[ 95.967] (EE) Failed to load module "intel" (module does not exist, 0)
[ 95.967] (II) LoadModule: "modesetting"
[ 95.967] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 95.967] (II) Module modesetting: vendor="X.Org Foundation"
[ 95.967] compiled for 1.18.4, module version = 1.18.4
[ 95.967] Module class: X.Org Video Driver
[ 95.967] ABI class: X.Org Video Driver, version 20.0
[ 95.967] (II) UnloadModule: "modesetting"
[ 95.967] (II) Unloading modesetting
[ 95.967] (II) Failed to load module "modesetting" (already loaded, 0)
[ 95.967] (II) LoadModule: "fbdev"
[ 95.967] (WW) Warning, couldn't open module fbdev
[ 95.968] (II) UnloadModule: "fbdev"
[ 95.968] (II) Unloading fbdev
[ 95.968] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 95.968] (II) LoadModule: "vesa"
[ 95.968] (WW) Warning, couldn't open module vesa
[ 95.968] (II) UnloadModule: "vesa"
[ 95.968] (II) Unloading vesa
[ 95.968] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 95.968] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 95.968] (EE) open /dev/dri/card0: No such file or directory
[ 95.968] (EE) open /dev/dri/card0: No such file or directory
[ 95.968] (WW) Falling back to old probe method for modesetting
[ 95.968] (EE) open /dev/dri/card0: No such file or directory
[ 95.968] (EE) open /dev/dri/card0: No such file or directory
[ 95.968] (EE) Screen 0 deleted because of no matching config section.
[ 95.968] (II) UnloadModule: "modesetting"
[ 95.968] (EE) Screen 0 deleted because of no matching config section.
[ 95.968] (II) UnloadModule: "modesetting"
[ 95.968] (EE) Device(s) detected, but none match those in the config file.
[ 95.968] (EE)
Fatal server error:
[ 95.968] (EE) no screens found(EE)
[ 95.968] (EE)
Please consult the The X.Org Foundation support
  at http://wiki.x.org
 for help.
[ 95.968] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 95.968] (EE)
[ 96.042] (EE) Server terminated with error (1). Closing log file.

Aravind R (araviaravi) said : #11

Please close this question or ignore. I have upgraded the system to 17.04 to solve this issue.