LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-10-2023, 01:35 PM   #1
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Rep: Reputation: 18
Console is lost if DVI is unplugged


This happens with both Ubuntu 22.04 and Oracle Linux 9.2.

if the DVI cable to the monitor is unplugged and then re-plugged, the monitor does not connect. The machine has to be rebooted, actually powered off and then booted.

Can this problem be solved via a command without rebooting?
 
Old 08-10-2023, 02:06 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721

Rep: Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169
Quote:
Originally Posted by etcetera View Post
This happens with both Ubuntu 22.04 and Oracle Linux 9.2.
if the DVI cable to the monitor is unplugged and then re-plugged, the monitor does not connect. The machine has to be rebooted, actually powered off and then booted. Can this problem be solved via a command without rebooting?
Can you provide details (as you've been asked before) (such as what desktop environment, using what kind of video card???). Could be as simple as going into your system settings, and setting the "Brightness and Lock" feature to OFF. Because when you disconnect the monitor, it's inactive...which may give you a black screen. Could also be driver related, but since you don't give us anything to work with, we can't tell.

Did you try restarting X (CTRL-ALT-BACKSPACE)???
 
Old 08-10-2023, 11:12 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,533
Blog Entries: 1

Rep: Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241
Quote:
Originally Posted by etcetera View Post
Can this problem be solved via a command without rebooting?
Possibly. This could be a software issue, or a hardware issue. If it's a hardware issue, likely not. If it's a software issue, you may be able to trigger a graphics reset by switching to a different video mode as normally happens when you switch between your normal GUI environment and the virtual terminals with e.g. Ctrl-Alt-F3, Ctrl-Alt-F7, Ctrl-Alt-F1 or similar. If you are logged into a GUI session you might try xrandr in an Xterm or via run-command hotkey like Alt-F2 offers in KDE.
 
Old 08-11-2023, 12:35 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386Reputation: 5386
Try a different DVI cable.
 
Old 08-13-2023, 11:18 AM   #5
etcetera
Member
 
Registered: Aug 2004
Posts: 436

Original Poster
Rep: Reputation: 18
Already tried multiple DVI cables. Full size DP to DP, and mini DP to DP.

Tried running xrandr, says cannot open the screen.
 
Old 08-13-2023, 11:33 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,721

Rep: Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169Reputation: 8169
Quote:
Originally Posted by etcetera View Post
Already tried multiple DVI cables. Full size DP to DP, and mini DP to DP. Tried running xrandr, says cannot open the screen.
Again:
  • What desktop environment???
  • What kind of video card???
  • Version of the video driver (possibly bug related)
  • Did you look at system settings, and setting the "Brightness and Lock" feature to OFF. Because when you disconnect the monitor, it's inactive...which may give you a black screen.
  • Did you try restarting X (CTRL-ALT-BACKSPACE)???
Been given lots to try, still haven't answered questions asked or said anything about the other suggestions.
 
Old 08-13-2023, 11:40 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,533
Blog Entries: 1

Rep: Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241Reputation: 2241
Quote:
Originally Posted by etcetera View Post
Tried running xrandr, says cannot open the screen.
It only works if X is running, e.g. simply xrandr if run in an Xterm or other GUI terminal, or using its -d switch if not, e.g. xrandr -d :0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux console remains blank after HDMI cable unplugged and replugged in updat Linux - Hardware 5 06-05-2023 08:25 AM
[SOLVED] Can I get dual monitors using DVI-i and DVI-D outputs? Habitual Linux - Hardware 3 01-06-2014 03:57 PM
Dual Monitors VGA + DVI (HDMI) Lenovo T410 in docking st - DVI no output??? Berwhale Linux - Hardware 7 03-18-2013 01:34 AM
Strange things on Randeon X800 (DVI-0 / DVI-1) using AVLinux 5 touchstyle Linux - Hardware 3 01-17-2012 04:14 PM
DVI-D DVI-I DVI-A Dual Link Single Link WTF? Crito Linux - Hardware 0 06-05-2004 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration