Fedora 17 and Xephyr
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2012

    Fedora 17 and Xephyr

    Hi everyone, I hope, I'm in the right forum.
    I must say, that I'm a noob when it comes to fedora linux and Xephyr.
    I have a problem with a dual screen setup under X. The first monitor is a touch screen, where everything is setup accordingly. The second one is a small lcd display, which is used for advertising. Since that computer uses a 2nd Generation Intel Integrated Graphics Controller (kernel module i915) two problems occur:

    - After reading [1], I can't define two separate xscreens in xorg, because the driver does not support it.
    - Since there is one xscreen for both physical monitors, the touchscreen dimensions are enlarged to the second monitor, which leads to a wrong cursor position when touching the screen

    I also have tested, or in better words, tried to test the xaphodmode, but intel also removed the xaphodmode support from it's drivers. This is why I need to accomplish my solution with Xephyr.

    For clarifying my wanted setup, I will describe the requirements.

    When I boot the system, I want to start an Xserver with two Xephyr instances in it, one for each monitor. The monitor connected to VGA1 is a small 9" monitor which displays a video or a slideshow with advertisements. It does not need any controlling devices, such as a keyboard or a mouse. The main monitor connected to LVDS should then start the default loginmanager for XFCE, so the user is able to log in.

    Now here is what I tried to do:
    - Start Fedora 17 to the multi-user runlevel.
    - configuring xorg for one big virtual screen spanning over the two monitors.
    - configuring the .xinitrc file for the use with startx.

    my xorg configuration:
    [root@host ~]# for x in /usr/share/X11/xorg.conf.d/0*.conf ; do echo $x; cat $x; done
    Section "Serverflags"
        Option	"Xinerama" "on"
        Option	"ZapWarning" "on"
        Option	"AllowMouseOpenFail" "on"
        Option	"AIGLX" "on"
    Section "ServerLayout"
        Identifier  "Layout0"
        Screen      0 "Screen0"
        Screen      1 "Screen1" RightOf "Screen0"
        Option	"Xinerama" "on"
        Option	"Clone" "off"
        Option	"AutoEnableDevices" "false
        Option	"AutoAddDevices" "false"
        Option	"AllowEmptyInput" "true""
    Section "Device"
    	Identifier	"Card0"
    	Driver		"intel"
    	BusID		"PCI:0:2:0"
    	Option		"monitor-DP2" "Monitor0"
    	Option		"monitor-VGA1" "Monitor1"
    Section "Screen"
        Identifier     "Screen0"
        Device	   "Card0"
        Monitor	   "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
    	Modes	   "1366x768"
            Depth       24
    	Virtual	   2390 768
    Section "Monitor"
    	Identifier	"Monitor0"
    	Option		"Position"	"0 0"
    	Option		"DPMS"
    Section "Monitor"
    	Identifier	"Monitor1"
    	Option		"RightOf"	"Monitor0"
    	Option		"DPMS
    	Option		"Position"	"1366 0"
    Section "Extensions"
    	Option	"Composite"	"on"
    the startx script of my user (not root):
    [user@host ~]$ cat .xinitrc 
    /bin/Xephyr :1 -screen 1366x768+0+0 -query localhost -keybd evdev,,device=/dev/input/event2 -mouse evdev,,device=/dev/input/event3,4 &
    export DISPLAY=:1
    DISPLAY=:1 xterm &
    /bin/Xephyr :2 -screen 1024x768+1366+0 -use-evdev &
    export DISPLAY=:2
    DISPLAY=:2 xterm &
    Since I do not have much expirience with fedora 17 and Xephyr, could someone provide me some information, tipps and tricks or assistance in configuring my desired setup? I would really apreciate any help i can get. I think I'm missing something or did not correctly understand the concept of Xephyr.

    If I did not provide all information needed to solve my problem, just ask and I will provide it.


  2. #2
    Join Date
    Aug 2012

    Re: Fedora 17 and Xephyr

    does no one have any expirience on this topic? I would also take other solutions. At the moment, I'm trying to get the things done with an separate Xserver startet for each monitor, but I have some problems, because X allways automatically adds both monitors. this does also happen, when I define the following two directives in the ServerLayout:
    Option   "AutoAddDevices" "false"
    Option   "AutoEnableDevices" "false"
    any suggestion or tipp on how to have two separate screens for each monitor would be appreciated.

Similar Threads

  1. Transaction Check Error with installing Xephyr
    By yifiy in forum Using Fedora
    Replies: 0
    Last Post: 2nd February 2008, 06:45 PM
  2. Replies: 0
    Last Post: 6th November 2006, 02:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts