Boot debian without monitor

Kernels & Hardware, configuring network, installing services

Boot debian without monitor

Postby supersu » 2017-09-10 11:04

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
supersu
 
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

Postby Segfault » 2017-09-10 12:06

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?
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24

Re: Boot debian without monitor

Postby TonyT » 2017-09-10 12:34

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?
TonyT
 
Posts: 525
Joined: 2006-09-04 11:57

Re: Boot debian without monitor

Postby Segfault » 2017-09-10 13:04

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.
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24

Re: Boot debian without monitor

Postby supersu » 2017-09-10 13:40

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....
supersu
 
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

Postby Segfault » 2017-09-10 14:17

It seems you are unable to interpret Xorg log? Debian has pastebin utility.
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24

Re: Boot debian without monitor

Postby supersu » 2017-09-11 15:23

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)
supersu
 
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

Postby Segfault » 2017-09-11 17:08

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.
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24

Re: Boot debian without monitor

Postby supersu » 2017-09-16 06:20

Thank you for your reply!
Can you provide my with instruction, how to install proper driver for my hardware?
supersu
 
Posts: 6
Joined: 2017-09-10 10:54

Re: Boot debian without monitor

Postby bryanmc » 2017-09-16 11:55

It would be much easier if you told us what your hardware is... :wink:
bryanmc
 
Posts: 65
Joined: 2016-11-18 12:21

Re: Boot debian without monitor

Postby supersu » 2017-09-17 16:14

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 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

Postby supersu » 2017-10-16 07:59

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).
supersu
 
Posts: 6
Joined: 2017-09-10 10:54


Return to System configuration

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable