Debian doesn't boot to GUI

Can you try this... (it's recommended, not to do this as root)

startx


Assuming that works, and your desktop Xwindows comes up. Try this...

systemctl set-default graphical.target

reboot.
 


I reinstalled Debian. After I installed linux-headers-amd64 and gcc packages. Then I succesefully installed driver for my video card from run file. But It's still doesn't boot to GUI.
Are there any errors in your Xorg.log?

That log can be found in /var/log/Xorg.0.log

When you type startx what output does the terminal return?
 
Here is Xorg.0.log
Code:
[     9.763]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[     9.763] Build Operating System: Linux 4.19.0-10-amd64 x86_64 Debian
[     9.763] Current Operating System: Linux debian 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64
[     9.763] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-11-amd64 root=UUID=fa65657d-b70b-4bd6-a33a-20a6d80e5980 ro quiet
[     9.763] Build Date: 27 August 2020  08:51:48AM
[     9.763] xorg-server 2:1.20.4-1+deb10u1 (https://www.debian.org/support)
[     9.763] Current version of pixman: 0.36.0
[     9.763]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     9.763] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.764] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 14 21:05:04 2020
[     9.764] (==) Using config file: "/etc/X11/xorg.conf"
[     9.764] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.764] (==) ServerLayout "Layout0"
[     9.764] (**) |-->Screen "Screen0" (0)
[     9.764] (**) |   |-->Monitor "Monitor0"
[     9.765] (**) |   |-->Device "Device0"
[     9.765] (**) |-->Input Device "Keyboard0"
[     9.765] (**) |-->Input Device "Mouse0"
[     9.765] (==) Automatically adding devices
[     9.765] (==) Automatically enabling devices
[     9.765] (==) Automatically adding GPU devices
[     9.765] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.765] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     9.765]     Entry deleted from font path.
[     9.765] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[     9.765] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.765] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     9.765] (WW) Disabling Keyboard0
[     9.765] (WW) Disabling Mouse0
[     9.765] (II) Loader magic: 0x556b14bc8e20
[     9.765] (II) Module ABI versions:
[     9.765]     X.Org ANSI C Emulation: 0.4
[     9.765]     X.Org Video Driver: 24.0
[     9.765]     X.Org XInput driver : 24.1
[     9.765]     X.Org Server Extension : 10.0
[     9.766] (++) using VT number 7

[     9.766] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     9.766] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.769] (--) PCI: (1@0:0:0) 10de:1f91:1043:109f rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[     9.769] (--) PCI:*(5@0:0:0) 1002:15d8:1043:18f1 rev 194, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf7500000/524288, I/O @ 0x0000c000/256, BIOS @ 0x????????/131072
[     9.769] (II) LoadModule: "glx"
[     9.769] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.770] (II) Module glx: vendor="X.Org Foundation"
[     9.770]     compiled for 1.20.4, module version = 1.0.0
[     9.770]     ABI class: X.Org Server Extension, version 10.0
[     9.770] (II) LoadModule: "nvidia"
[     9.770] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     9.771] (II) Module nvidia: vendor="NVIDIA Corporation"
[     9.771]     compiled for 1.6.99.901, module version = 1.0.0
[     9.771]     Module class: X.Org Video Driver
[     9.771] (II) NVIDIA dlloader X Driver  430.09  Thu Apr 18 02:31:13 CDT 2019
[     9.771] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     9.771] (II) Loading sub module "fb"
[     9.771] (II) LoadModule: "fb"
[     9.771] (II) Loading /usr/lib/xorg/modules/libfb.so
[     9.771] (II) Module fb: vendor="X.Org Foundation"
[     9.771]     compiled for 1.20.4, module version = 1.0.0
[     9.771]     ABI class: X.Org ANSI C Emulation, version 0.4
[     9.771] (II) Loading sub module "wfb"
[     9.771] (II) LoadModule: "wfb"
[     9.771] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     9.771] (II) Module wfb: vendor="X.Org Foundation"
[     9.771]     compiled for 1.20.4, module version = 1.0.0
[     9.771]     ABI class: X.Org ANSI C Emulation, version 0.4
[     9.771] (II) Loading sub module "ramdac"
[     9.771] (II) LoadModule: "ramdac"
[     9.771] (II) Module "ramdac" already built-in
[     9.772] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     9.772] (==) NVIDIA(0): RGB weight 888
[     9.772] (==) NVIDIA(0): Default visual is TrueColor
[     9.772] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.772] (**) NVIDIA(0): Enabling 2D acceleration
[     9.772] (II) Loading sub module "glxserver_nvidia"
[     9.772] (II) LoadModule: "glxserver_nvidia"
[     9.772] (II) Loading /usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[     9.776] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     9.776]     compiled for 1.6.99.901, module version = 1.0.0
[     9.776]     Module class: X.Org Server Extension
[     9.777] (II) NVIDIA GLX Module  430.09  Thu Apr 18 02:29:10 CDT 2019
[    10.324] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    10.324] (--) NVIDIA(0):     DFP-0
[    10.325] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1650 (TU117-A) at PCI:1:0:0 (GPU-0)
[    10.325] (--) NVIDIA(0): Memory: 4194304 kBytes
[    10.325] (--) NVIDIA(0): VideoBIOS: 90.17.4c.00.23
[    10.325] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    10.326] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    10.326] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    10.326] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[    10.326] (--) NVIDIA(GPU-0):
[    10.326] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[    10.326] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[    10.326] (EE) NVIDIA(0):     to start anyway
[    10.326] (EE) NVIDIA(0): Failing initialization of X screen
[    10.442] (II) UnloadModule: "nvidia"
[    10.442] (II) UnloadSubModule: "glxserver_nvidia"
[    10.442] (II) Unloading glxserver_nvidia
[    10.442] (II) UnloadSubModule: "wfb"
[    10.442] (II) UnloadSubModule: "fb"
[    10.442] (EE) Screen(s) found, but none have a usable configuration.
[    10.442] (EE)
Fatal server error:
[    10.442] (EE) no screens found(EE)
[    10.442] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[    10.442] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.442] (EE)
[    10.443] (EE) Server terminated with error (1). Closing log file.
 
Last edited:
here is startx output
IMG_20201014_211304.jpg
 
Last edited:
It mentions "server" a few times. Most servers are headless that is, they don't have a GUI. Is xorg actually installed?
 
Debian 10 Stable (Buster release) poorly supports third generation Ryzen, in addition of not having the newer versions of the nvidia drivers required for the gtx 1660 series and rtx 2000 series cards.
Off topic question but if I may ask, why are you using Debian on relatively new hardware?
 
These instructions worked for me. (Debian is a pain)


]# lspci -nn | egrep -i "3d|display|vga"
0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] [10de:1e81] (rev a1)

Cat Xorg.0.log

[ 6.547] (II) This device may have been added with another device file.
[ 6.552] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "evdev keyboard catchall"
[ 6.552] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[ 6.552] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "system-keyboard"
[ 6.552] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[ 6.552] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[ 6.552] (**) Option "Device" "/dev/input/event3"
[ 6.552] (**) Option "_source" "_driver/libinput"
[ 6.552] (II) libinput: Logitech Wireless Keyboard PID:4023: is a virtual subdevice
[ 6.552] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.2/3-9.2:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input20/event3"
[ 6.552] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: KEYBOARD, id 11)
[ 6.552] (**) Option "xkb_layout" "us"
[ 628.454] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): connected
[ 628.454] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): Internal TMDS
[ 628.454] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): 600.0 MHz maximum pixel clock
[ 628.454] (--) NVIDIA(GPU-0):
[ 628.486] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): connected
[ 628.486] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): Internal TMDS
[ 628.486] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): 600.0 MHz maximum pixel clock
[ 628.486] (--) NVIDIA(GPU-0):
[ 634.192] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): connected
[ 634.192] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): Internal TMDS
[ 634.192] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): 600.0 MHz maximum pixel clock
[ 634.192] (--) NVIDIA(GPU-0):
[ 634.224] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): connected
[ 634.224] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): Internal TMDS
[ 634.224] (--) NVIDIA(GPU-0): HPN HP 24m (DFP-1): 600.0 MHz maximum pixel clock
[ 634.224] (--) NVIDIA(GPU-0):
[100120.636] (II) config/udev: removing device Logitech Wireless Keyboard PID:4023
[100120.636] (II) UnloadModule: "libinput"
[100120.636] (II) config/udev: removing device Logitech Wireless Keyboard PID:4023
[100120.636] (II) event3 - Logitech Wireless Keyboard PID:4023: device removed
[100120.652] (II) UnloadModule: "libinput"
[100120.657] (II) config/udev: removing device Logitech Wireless Mouse
[100120.657] (II) event4 - Logitech Wireless Mouse: device removed
[100120.670] (II) UnloadModule: "libinput"
[100136.256] (--) NVIDIA(GPU-0): DFP-1: disconnected
[100136.256] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[100136.256] (--) NVIDIA(GPU-0): DFP-1: 600.0 MHz maximum pixel clock
[100136.256] (--) NVIDIA(GPU-0):
 
It mentions "server" a few times. Most servers are headless that is, they don't have a GUI. Is xorg actually installed?
The output from startx says:
Unable to connect to x server: connection refused.
Furthermore, the Xorg.log confirms 2 things.

1. Failed to assign any connected display devices to x screen and:

2. Screens found but none have a usable configuration.
 
Last edited:
To see if you have x11 installed, simply run this command from a terminal:
dpkg -l | grep xserver-xorg-core


 
Last edited:
Code:
dpkg -l | grep xserver-xorg-core
 

Attachments

  • IMG_20201015_111328.jpg
    IMG_20201015_111328.jpg
    1.2 MB · Views: 422
Install the package nvidia-detect. Then run it as normal user, what does it return? Do you really need the nvidia driver, otherwise you could try the nouveau driver.
 
I already installed drivers, but Debian still doesn't boot to GUI.
You did some that is mentioned there not everything, read everything from this reply.
 
But in this case there is also Intel video card. How to configure /etc/X11/xorg.conf.d/10-nvidia.conf for my laptop?
 
But in this case there is also Intel video card. How to configure /etc/X11/xorg.conf.d/10-nvidia.conf for my laptop?
So you have dual graphics in your pc?

In other words you have a nVidia gpu and an Intel gpu?
 

Staff online


Top