Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Monitor 2 worked when I plugged in the HDMI cable whilst the computer was running. However, when I restarted the computer with both monitors connected grub hung.
I turned off Monitor 2 and rebooted with same result. I removed the HDMI connection from the monitor and grub booted correctly.
I tried using Windows and again it hung after it booted to the desktop when both monitors were connected.
I seem to remember that I had this problem weeks ago when I was using 20.04. I have not tried since, even while I was using the kernel from 21.04. Having updated to 21.04 I thought I would try again.
I will look at the Bios to see if there is anything there that needs changing for 2 monitors. It may be that I need to specify the order of the monitors as Monitor 2 became primary. Or It could be the drivers as the GPU is quite new.
I would give it a try except for the fact that my xorg.conf file is not at /etc/X11/xorg.conf but instead is at /usr/share/doc/xserver-xorg-video-intel/ and it only contains:
I would give it a try except for the fact that my xorg.conf file is not at /etc/X11/xorg.conf but instead is at /usr/share/doc/xserver-xorg-video-intel/ and it only contains:
Files in /usr/share/doc are not configuration files - the are documentation files.
This is the top result for "ubuntu missing /etc/X11/xorg.conf":
Quote:
Originally Posted by https://askubuntu.com/questions/25746/etc-x11-xorg-conf-doesnt-exist
You COULD create your own xorg.conf by typing in a tty (not running gdm) the following:
X -configure
That will create a file called xorg.conf.new
To test the file type X -config xorg.conf.new
If you can load X and see the mouse and a good resolution then you can press CTRL+ALT+BACKSPACE to quit.
Copy then xorg.conf.new to the new location
cp xorg.conf.new /etc/X11/xorg.conf
Run startx to test.
Also the file does not exist since X.org does not needed anymore for some video cards (as i understand) only some Video cards have xorg.conf because of specific configurations (Like Nvidia and Ati). The rest of the X.org configuration options are in /usr/share/X11 like synaptics.
This is the top result for "ubuntu missing /etc/X11/xorg.conf":
Thank you but the post you refer to is 10 years old so I don't think I should try that. However, thank you for pointing out the obvious, if I had looked closely - these are docs.
Thank you but the post you refer to is 10 years old so I don't think I should try that. However, thank you for pointing out the obvious, if I had looked closely - these are docs.
That is just wrong. vi is also more than 10 (20) years old and still in use....
Thank you but the post you refer to is 10 years old so I don't think I should try that.
Age doesn't make things wrong.
But if we assume X has broken backwards compatibility in such a way that those instructions are wrong, all you have to do is remove is remove/rename the file you copied.
Also, have you checked the Ubuntu Wiki - it has a bunch of pages on X troubleshooting and X.org config, including an example dual monitor ("multihead") example config.
Although, re-checking the thread, it seems your current issue is no longer getting the monitors working, but that XFCE is treating the wrong monitor as primary?
That might be an XFCE issue rather than an X one - have you checked whether XFCE has its own config relating to this?
But if we assume X has broken backwards compatibility in such a way that those instructions are wrong, all you have to do is remove is remove/rename the file you copied.
Also, have you checked the Ubuntu Wiki - it has a bunch of pages on X troubleshooting and X.org config, including an example dual monitor ("multihead") example config.
Although, re-checking the thread, it seems your current issue is no longer getting the monitors working, but that XFCE is treating the wrong monitor as primary?
That might be an XFCE issue rather than an X one - have you checked whether XFCE has its own config relating to this?
I have 2 problems currently: failure to complete boot and wrong monitor chosen as primary when the HDMI is connected AFTER booting the Display Port monitor.
I believe I have checked the wiki you refer to but will read again.
I think the driver which has now been fixed (it failed to load) is still the problem and have referred it as a bug to:
I think before I try to fix the wrong monitor being chosen I need to fix the boot problem. If I cannot use the machine when both monitors are connected, I cannot make any changes.
Why does grub not complete and hangs when the HDMI cable is connected, whether the second monitor is switched or not? This also affects Windows similarly except that it does boot to the desktop but is unusable, hanging, waiting for something.
for me that looks like a hardware error. you may try a live CD too.
Yes, that is a great idea. I will do that today.
Edit: With the ASUS BIOS I am using it is not possible to easily boot from USB. It has a secure boot facility involving keys which I have never come across. I am going to have to investigate that at some stage to be able to boot from a USB in the future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.