You are not logged in.
I started using a USB-C HDMI dock, and it worked great right away, but now it appears that my laptop is somehow STUCK in USB-C HDMI dock mode, where if the dock is unplugged, I can no longer run Xorg on my normal laptop display. The Xorg starts and it is running, but it is not visible on my laptop screen. If I had to guess, it's likely on some phantom screen on my attached USB-C dock.
How can I fix things to a sane state where if I unplug my dock and start Xorg OR have my dock unplugged ALL ALONG and start Xorg from a fresh boot, I see Xorg on my laptop screen again like normal?
Last edited by TheChuckster (2020-09-19 18:44:06)
Offline
You may use xrandr to manually change ouput to an internal screen output LVDS-1 before undocking.
$ xrandr
LVDS-1
DVI-D-0
HDMI-0
...
$ xrandr --output LVDS-1 --primary
$ xrandr --output HDMI-1 --offLast edited by solskog (2020-09-21 08:50:10)
Offline
If this does not affect the console, you either wrote or had nvidia-settings write an xorg config that selects a specific output or some overzealous randr daemon of your DE wrote a randr config and applies them w/ the session.
* Is the console affected?
* How do you start X11?
* What kind of session do you run?
* In doubt post at least your Xorg log, but if you have an /etc/X11/xorg.conf, that's likely the cause. Just move it away.
Offline