LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xfce can't detect second display (https://www.linuxquestions.org/questions/linux-newbie-8/xfce-cant-detect-second-display-4175417490/)

jmvankeuren 07-18-2012 09:10 PM

xfce can't detect second display
 
I have a newly installed xubuntu 12.04 distro on my intel netbook and I'm trying to get the display on my tv through a VGA cable. My friends windows machine works fine but I can't detect the tv through the Display settings or through ARandR

Here is the output from xrandr
Quote:

~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x600 60.0*+
800x600 60.3 56.2
640x480 59.9
VGA1 connected (normal left inverted right x axis y axis)
1024x768 60.0
800x600 60.3 56.2
848x480 60.0
640x480 59.9
Please help! :(

TobiSGD 07-18-2012 09:43 PM

Try to activate the second screen with
Code:

xrandr --output VGA1 --auto

jmvankeuren 07-20-2012 02:34 PM

Some progress, thank you very much. Now the Display settings recognize the tv but the tv still isn't displaying anything

xrandr output again.
Quote:

~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x600 60.0*+
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0*
800x600 60.3 56.2
848x480 60.0
640x480 59.9
And here is a screenshot of my display settings. Thanks again for the help!

https://plus.google.com/photos/10201...CKuR0ZH5h4OOPQ

guyonearth 07-20-2012 04:44 PM

You need to go into your monitors applet in your System settings and tell the second output what to do.

jmvankeuren 07-22-2012 08:57 AM

The only other display related settings i can find are in the screenshot below. I tried playing around with it but couldn't get anything to change.

If this is the correct area what am I supposed to change the values to? If not where else am I supposed to go or what commands can I run?

https://plus.google.com/photos/10201...PqV8rSttobXlgE

Alchemikos 07-22-2012 12:48 PM

I resolved it to me using xorg and xinerama, but I'm not using a TV but two different vga cards, intel and nvidia

Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option        "Xinerama"
EndSection

Section "Files"
        ModulePath  "/usr/lib64/xorg/modules"
        FontPath    "/usr/share/fonts/local"
        FontPath    "/usr/share/fonts/TTF"
        FontPath    "/usr/share/fonts/OTF"
        FontPath    "/usr/share/fonts/Type1"
        FontPath    "/usr/share/fonts/misc"
        FontPath    "/usr/share/fonts/CID"
        FontPath    "/usr/share/fonts/75dpi/:unscaled"
        FontPath    "/usr/share/fonts/100dpi/:unscaled"
        FontPath    "/usr/share/fonts/75dpi"
        FontPath    "/usr/share/fonts/100dpi"
        FontPath    "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
        Load  "dbe"
        Load  "glx"
        Load  "extmod"
        Load  "dri2"
        Load  "record"
        Load  "dri"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    24 - 82
        VertRefresh  50 - 75
        Modeline "1440x900_75.00"  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    24 - 82
        VertRefresh  50 - 75
        Modeline "1440x900_75.00"  136.75  1440 1536 1688 1936  900 903 909 942 -hsync +vsync
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "AccelMethod"                # [<str>]
        #Option    "DRI"                        # [<bool>]
        #Option    "ColorKey"                  # <i>
        #Option    "VideoKey"                  # <i>
        #Option    "FallbackDebug"              # [<bool>]
        #Option    "Tiling"                    # [<bool>]
        #Option    "LinearFramebuffer"          # [<bool>]
        #Option    "Shadow"                    # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        #Option    "XvMC"                      # [<bool>]
        #Option    "XvPreferOverlay"            # [<bool>]
        #Option    "DebugFlushBatches"          # [<bool>]
        #Option    "DebugFlushCaches"          # [<bool>]
        #Option    "DebugWait"                  # [<bool>]
        #Option    "HotPlug"                    # [<bool>]
        #Option    "RelaxedFencing"            # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID      "PCI:0:2:0"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "SWcursor"                  # [<bool>]
        #Option    "HWcursor"                  # [<bool>]
        #Option    "NoAccel"                    # [<bool>]
        #Option    "ShadowFB"                  # [<bool>]
        #Option    "VideoKey"                  # <i>
        #Option    "WrappedFB"                  # [<bool>]
        #Option    "GLXVBlank"                  # [<bool>]
        #Option    "ZaphodHeads"                # <str>
        Identifier  "Card1"
        Driver      "nouveau"
        BusID      "PCI:2:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1440x900"
        EndSubSection
EndSection



Section "Screen"
        Identifier "Screen1"
        Device    "Card1"
        Monitor    "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes  "1440x900"
        EndSubSection
EndSection


jmvankeuren 07-22-2012 08:15 PM

I'm sorry I don't follow, am I supposed to put this into a text file somewhere?

273 07-22-2012 09:52 PM

You should have a Display entry under settings on your main menu? That should let you enable the second display.

guyonearth 07-23-2012 08:19 AM

In your menu under settings - monitors.

jmvankeuren 07-23-2012 02:59 PM

Thanks for putting up with me guys but I can't find any other display options, we're talking about xubuntu xfce right? In this gallery are screenshots of what's in my main menu and my settings page.

https://plus.google.com/photos/10201...CKuR0ZH5h4OOPQ

273 07-23-2012 03:04 PM

Is the TV set to use the correct input? Just a thought as I thought I had a problem not long ago until I set the input on my monitor.

guyonearth 07-23-2012 03:15 PM

You're missing some applets, my system has many more options under settings. How did you install Xfce, and did you do a full install? Of course, it could be because I have Gnome and KDE installed as well.

jmvankeuren 07-24-2012 10:37 AM

The tv is set up correctly.

Oh okay, it's a fresh install of Xubuntu 12.04 which only comes with xfce.

I was hoping there would be a way to do it within xfce but do I need to install KDE or gnome?

273 07-24-2012 10:47 AM

Where you're ticked "use this output" is that the TV you have ticked the box for? If so then XFCE is seeing it as an output and is sending a signal to the cable for it. Why it's not seeing that signal I'm not sure, which is why I asked whether you were sure the TV was set up correctly.
If that's not the TV that you've ticked "user this output" for does that mean you already have a monitor plugged in and you're trying to connect the TV too?

guyonearth 07-24-2012 12:40 PM

Quote:

Originally Posted by jmvankeuren (Post 4736850)
The tv is set up correctly.

Oh okay, it's a fresh install of Xubuntu 12.04 which only comes with xfce.

I was hoping there would be a way to do it within xfce but do I need to install KDE or gnome?

I don't know what else to suggest at this time, other than installing Gnome too. Xfce is a "lite" desktop, and not feature-complete when it comes to certain configuration tools, in my opinion. If you're using a one-display laptop, lite distros are fine, but on more complex setups it can be challenging to get things configured. There should be a monitor or display applet there, which makes me wonder if you installed everything you could. Look in your package manager under Xfce, there might be additional tools you can install.


All times are GMT -5. The time now is 09:29 PM.