Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Boot debian without monitor

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
supersu
Posts: 6
Joined: 2017-09-10 10:54

Boot debian without monitor

#1 Post by supersu »

Hello everybody. I want to as for help with Debian 9 configuration.
I made a little fileserver and I want to use it as home theatre.
My problem is I can't boot my server without monitor.
On the 8th version of debian I edited /etc/X11/xorg.conf and it was possible to boot without monitor. But with 9th version I have no luck.

And the second problem I want to connect my server to TV via hdmi. Should I use any extra configuration for hdmi connection?

motherboard - gigabyte b150m
CPU - Celeron g3900
OS - Debian 9 x64
DE - LXDE

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Boot debian without monitor

#2 Post by Segfault »

My problem is I can't boot my server without monitor.
Why not? What does it say? It tells you "no dude, I will not boot" and turns off by itself?

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Boot debian without monitor

#3 Post by TonyT »

I made a little fileserver and I want to use it as home theatre.
One might assume that the TV will be the monitor. Have you tried that yet?

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Boot debian without monitor

#4 Post by Segfault »

I have similar setup. I keep it simple. No xorg.conf, no DE or WM of any kind, no login managers of course, Kodi runs directly on Xorg. It is set up to autologin and to autostart Kodi. No problems.

If the box does not boot then there must be a booloader or kernel issue, there is no way even a misconfigured xorg.conf could stop box from booting.

supersu
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

#5 Post by supersu »

TonyT wrote:
I made a little fileserver and I want to use it as home theatre.
One might assume that the TV will be the monitor. Have you tried that yet?
I tried to boot without monitor and with hdmi connected. At first time it didn't boot properly and I don't know on which stage it stopped. At the second time TV's screen was black and I haven't seen hdd activity led blinking. So it's stops on initial stages of boot.

When I started my box without monitor and after couple minutes I connected it, I haven't seen anything because monitor in standby mode 0_o
I wanted to find some errors during startup....

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Boot debian without monitor

#6 Post by Segfault »

It seems you are unable to interpret Xorg log? Debian has pastebin utility.

supersu
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

#7 Post by supersu »

Yes you are quite right.

ordinary boot https://pastebin.com/8GPvHKKy (Xorg.0.log)
boot without monitor https://pastebin.com/3032AeFZ (Xorg.0.log.old)

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Boot debian without monitor

#8 Post by Segfault »

You are using VESA driver, this is a fallback driver and should not be used. I'm even not sure if VESA supports HDMI, maybe not. Why don't you use the driver that matches your hardware? Can't be more specific, you have chosen not to reveal what graphics chipset is in use.

supersu
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

#9 Post by supersu »

Thank you for your reply!
Can you provide my with instruction, how to install proper driver for my hardware?

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: Boot debian without monitor

#10 Post by bryanmc »

It would be much easier if you told us what your hardware is... :wink:

supersu
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

#11 Post by supersu »

bryanmc wrote:It would be much easier if you told us what your hardware is... :wink:
supersu wrote: motherboard - gigabyte b150m d3h
CPU - Celeron g3900
OS - Debian 9 x64
DE - LXDE
I found that topic http://forums.debian.net/viewtopic.php?t=131122 and tried to install all packages listed there.

Code: Select all

firmware-misc-nonfree xserver-xorg-core xserver-xorg-video-intel libegl1-mesa libgl1-mesa-glx libgl1-mesa-dri
But they were installed by default except firmware-misc-nonfree. I added nonfree repository and installed last of them - firmware-misc-nonfree. But nothing changed, when I tried to connect my box via hdmi with TV I so black screen and informational about resolution 1920x1280i.
HDMI connection not working and I can't boot my box without VGA monitor, any ideas?

PS: How can I check is hardware video decoding working when I'm using Debian?
PSS:

Code: Select all

inxi -Gxx
Graphics:  Card: Intel HD Graphics 510 bus-ID: 00:02.0 chip-ID: 8086:1902
           Display Server: X.Org 1.19.2 drivers: vesa (unloaded: modesetting,fbdev)
           Resolution: 1280x1024@0.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
           GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes

supersu
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

#12 Post by supersu »

I'm here to describe results of my work.
I spent a lot of time trying to fix my fileserver but I've done that task.

First try was to install Windows 10 but it can't start without monitor to.
After that I used 3 resistors to delude video card, so it think that there is a monitor connected to VGA.
Next step was playing with UEFI settings and as a result my system boot without monitor.

So it was not OS, it was an hardware problem (or characteristic).

Post Reply