I mirrored my 2 monitors , now I can't login because I see the laptop screen instead of my secondary monitor screen
by tuxthegreat from LinuxQuestions.org on (#6G002)
I set to mirror my monitors, yes I know what a dumb thing to do with a laptop and a tv as the secondary tv, now when I log in I get the screen which is the green logo from mate ubuntu, I cannot get my screen back. I don't know the proper config files. I set i cat my ~/.config/monitors.xml and this is the output I get Code:cat ~/.config/monitors.xml
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="eDP-1">
<vendor>AUO</vendor>
<product>0x142d</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>1360</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="DP-1">
</output>
<output name="HDMI-1">
</output>
<output name="HDMI-2">
<vendor>SAM</vendor>
<product>0x067a</product>
<serial>0x00000000</serial>
<width>1360</width>
<height>768</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
</configuration>
<configuration>
<clone>yes</clone>
<output name="eDP-1">
<vendor>AUO</vendor>
<product>0x142d</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>120</rate>
<x>1920</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="DP-1">
</output>
<output name="HDMI-1">
</output>
<output name="HDMI-2">
<vendor>SAM</vendor>
<product>0x0b60</product>
<serial>0x00000001</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
</configuration>
</monitors> i don't what what changes to make in that conf file to get my normal nonmirrored screen back, any help is appreciated.
I have triedCode:xrandr --output HDMI-2 --primary
Can't open displayI tried Code: echo > mate-control-center displayBut that spat out an error Code:(mate-control-center:3559) IBUS-WARNING **: The owner of /home/tuxthegreat/.config/ibus/bus is not root!
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="eDP-1">
<vendor>AUO</vendor>
<product>0x142d</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>1360</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="DP-1">
</output>
<output name="HDMI-1">
</output>
<output name="HDMI-2">
<vendor>SAM</vendor>
<product>0x067a</product>
<serial>0x00000000</serial>
<width>1360</width>
<height>768</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
</configuration>
<configuration>
<clone>yes</clone>
<output name="eDP-1">
<vendor>AUO</vendor>
<product>0x142d</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>120</rate>
<x>1920</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>no</primary>
</output>
<output name="DP-1">
</output>
<output name="HDMI-1">
</output>
<output name="HDMI-2">
<vendor>SAM</vendor>
<product>0x0b60</product>
<serial>0x00000001</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
</output>
</configuration>
</monitors> i don't what what changes to make in that conf file to get my normal nonmirrored screen back, any help is appreciated.
I have triedCode:xrandr --output HDMI-2 --primary
Can't open displayI tried Code: echo > mate-control-center displayBut that spat out an error Code:(mate-control-center:3559) IBUS-WARNING **: The owner of /home/tuxthegreat/.config/ibus/bus is not root!