LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-03-2018, 09:05 PM   #1
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Rep: Reputation: Disabled
Trying to configure 3 monitors on Ubuntu and Kali


Hello,

I'm trying to configure three monitors on Ubuntu and Kali.

I have download and installed "nouveau" driver to substituie de Nvidia Driver. I'm working on a Dell xps 8900, Nvidia GTX 745 Graphic Card. I have two HDMI monitors and one VGA.

When I was trying to config those 3 monitors on Nvidia graphic card, I received the "xrandr -q" response:

root@:~# xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1600 x 900, maximum 1600 x 900
default connected primary 1600x900+0+0 0mm x 0mm
1600x900 0.00*
1024x768 0.00
800x600 0.00
640x480 0.00
1024x768_60.00 (0x282) 63.500MHz -HSync +VSync
h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.82KHz
v: height 768 start 771 end 775 total 798 clock 59.92Hz


Now, with the "Nouveau" driver installed, i get the following "xrandr -q" answer:

~$ xrandr -q
Screen 0: minimum 8 x 8, current 1600 x 768, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
1920x1080_60.00 59.96
HDMI2 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 440mm x 250mm
1600x900 60.00*+
1440x900 74.98 59.90
1280x800 74.93 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1024x768_60.00 (0x17f) 63.500MHz -HSync +VSync
h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.82KHz
v: height 768 start 771 end 775 total 798 clock 59.92Hz

Now that the others two monitors are being recognize, but still have the "disconnected" status, I don't know how to config them. I don't know if I have to modify the xorg.conf, although the xorg.conf have already been modified to "nouveau driver", or if I have to edit the xrandr in a proper way.

When I try to change the resolution on HDMI2( that have been recognized), it works... But I still can't add the others two monitors, like I said before. I have been trying to do "xrandr --addmode HDMI1 1600x900_60.00" ( XRANDR --addmode <resolution>) I have the following answer:

"xrandr:configure crtc 1 failed"

What am'I doing wrong? How can I get the others 2 monitors to be

I appreciate very much any kind way for a solution!
 
Old 07-05-2018, 07:35 AM   #2
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
This might help https://wiki.archlinux.org/index.php/xrandr

To change your resolution you might have to use --newmode before --addmode. The link explains.

I really like using gui tools for monitor configuration. I've had good luck with LXrandR and ArandR, and once again these can be found in the link.

Hope this helps.
 
Old 07-05-2018, 06:24 PM   #3
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
I had try to use "arandr", but it still didn't accept the others two monitors as "connected", although they are recognize as "off". I can't acess or choose them.

I was trying to edit my Xorg.conf, but now my Ubuntu dosen't start. The X server is working. The login screen appears, but when I put my password, it flash out and get back to the same login page, until it frozen in the starting window.( using Ubuntu)

I have modified the xorg.conf in the "Identifier" field adding the others two monitors "xrandr" identifiers. I only can acess the root terminal by the Recovery Mode. I'm trying to re-edit the xorg.conf using emacs, but I only can acess the "buffer is read-only mode".

How can I edit( write) the xorg.conf file by the root terminal in rescue mode using emacs? ( so I can post my Xorg here, too)

It seems to me that the way to solve the question, add the others two monitors, is changing the xorg.conf by hand.
 
Old 07-06-2018, 03:17 PM   #4
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
How do I get "Write" privilege to modify xor.conf in Emacs using root terminal in Ubuntu rescue mode?

I'm not able to modify the archive. I'm only getting "read-only-mode"

Last edited by Rinkon; 07-06-2018 at 03:19 PM.
 
Old 07-06-2018, 09:57 PM   #5
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I guess I'm not much help when it comes to manually editing xorg files.

To give a file write permissions, use
Code:
chmod +w ./fileNameHere
 
Old 07-07-2018, 02:50 AM   #6
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
I have done: "mount -o remount,rw /" and it work just fine.

now I'm trying to re-write my Xorg.conf. I dont know why I cannot do my login. The login page works, the Xserver works, but when I write my password, the login page flahs out and then it came back to login again. I try 4,5 times until it freezes in the red Ubuntu background.
I don't know, now, how to login and if it has to do with my Xorg that I modify.( I have already undo my Xorg.conf modifications, but the login problem continues )

Anyone know whats going on?

Last edited by Rinkon; 07-07-2018 at 03:39 AM.
 
Old 07-07-2018, 04:38 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
and how can we help with that if you don't show us what changes you made?

have you considered using something other than gnome? it's notoriously picky with graphics.
 
Old 07-07-2018, 07:42 AM   #8
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by Rinkon View Post
I have done: "mount -o remount,rw /" and it work just fine.

now I'm trying to re-write my Xorg.conf. I dont know why I cannot do my login. The login page works, the Xserver works, but when I write my password, the login page flahs out and then it came back to login again. I try 4,5 times until it freezes in the red Ubuntu background.
I don't know, now, how to login and if it has to do with my Xorg that I modify.( I have already undo my Xorg.conf modifications, but the login problem continues )

Anyone know whats going on?
A friend of mine has the same problem after he renamed his home folder of all things

My guess is its one of the xsession, xresource, xsignature, etc files in your home folder.

However I do second the advice above. try installing another Desktop Environment or window manager and see if you can login to those.
 
1 members found this post helpful.
Old 07-08-2018, 07:20 PM   #9
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ok,

I'm trying to install KDE by "apt-get install kubuntu-desktop" or "apt-get install kde-desktop", but the installation abort: "unable to solve 'br.archive.ubuntu.com". How do I change the mirror? Or, is it the problem?

In emacs I have change xorg.conf in the section "ServerLayout". In the "Screen" section of "ServerLayout" I have add to "Screen0", "Screen1" and "Screen2". So, in the Section "Monitor", I have done the same: to " Monitor0", I have add "Monitor1" and "Monitor2". And, I think that is worse, in the Section "Screen" I have copy "the "Screen0" config, but to "Screen1" I modified the "Identifier" os "Screen" Section, with the xrandr output, that is, HDMI1 and DP1.

I have been able to write the archive using emacs. I have erased my modifications but I still cannot login in my Ubuntu.

What should I do?
 
Old 07-08-2018, 07:50 PM   #10
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Have you tried creating a new temporary account and logging in with that account?
 
Old 07-08-2018, 08:06 PM   #11
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
I just try that, but the problem persists.
 
Old 07-08-2018, 10:47 PM   #12
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
dmesg might shed some light on the matter. Try logging in then when you return to the login screen switch to a virtual terminal e.g. Ctrl-Alt-f4 and login then run dmesg. It should show an error close to the end of the thousands of lines.


Is this pc connected to the internet? This might help https://help.ubuntu.com/community/Re...es/CommandLine
 
Old 07-09-2018, 02:33 PM   #13
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
I have try "dmesg". Nothing change. I didn't get any usable info.

Searching, I notice that KDE works well on Kubuntu, but not with Ubuntu. Is that correct? Perhaps install KDE would be the best solution. Any advice to how can I get KDE-desktop working properly, I mean, how can I download and install? " apt-get install kde-desktop" is not working.

I don't want to edit source.list now.

Last edited by Rinkon; 07-09-2018 at 04:08 PM.
 
Old 07-09-2018, 04:20 PM   #14
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Well it's been a while since I ran Ubuntu but it looks like you're not connected to the internet? Try
Code:
sudo apt-get update
So you didn't see any errors when running dmesg? Try running it through less
Code:
dmesg | less
This will allow you to scroll through all the kernel messages, press q to quit. I suppose it would also work to run
Code:
dmesg | grep error
 
Old 07-09-2018, 04:46 PM   #15
Rinkon
LQ Newbie
 
Registered: Jul 2018
Posts: 24

Original Poster
Rep: Reputation: Disabled
With "dmesg | grep error" I get a error in a partition ("sda5") and in the config of "Bluetooth". Nothing usable.

I really believe that my problem starts with the xorg.conf . My login is starting the 3 monitors, than crashs and return to login page in the "Screen0", the initial monitor(Screen0). I can affirm that my login problem starts after I modify my xorg.conf . That's why I would like to restart everything with a new KDE, for example.
 
  


Reply



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
configure 3 monitors on Ubuntu and Kali Rinkon Linux - Desktop 1 07-05-2018 09:13 AM
Nvidia Geforce Gt710 video card do not sign two monitors on Kali Linux? zarakike Linux - Hardware 2 05-16-2018 05:41 AM
VGA HDMI adapter to run 2 additional monitors with Kali? MrsCowher Linux - Hardware 8 12-13-2013 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:19 PM.

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