Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 49

Thread: How to Xephyr ~ AKA Multiple, nested X sessions

  1. #21
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Basic steps :

    1. Start Xephyr on a new display, say :1.0

    2. export display = :1.0. (You can test it is working by entering xeyes and it should appear in Xephyr).

    3. SSH into your server. Whey you use the -X, the display in the ssh session is changed to :10.0 (this is normal).

    4. Forward X applications. Fluxbox is started with startfluxbox.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  2. #22
    Join Date
    Sep 2006
    Location
    Allentown, PA; USA
    Beans
    484
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    I am good at some things, but the syntax for getting this kind of thing to work escapes me... So please correct/add/delete what this should look like for me:

    $ Xephyr -ac -screen 1152x864 -br -reset -terminate 2> /dev/null :1 &
    $ export=DISPLAY=:1.0
    $ xeyes (I should see this in the new 1152x864 "screen" just to test it)
    $ ssh -XfC -c blowfish brian@brian-laptop xterm (this should open xterm in the new 1152x864 "screen")
    If xterm opens in the new screen, I can type
    -> in xterm
    $ startfluxbox
    Last edited by maestrobwh1; November 18th, 2008 at 08:53 PM.

  3. #23
    Join Date
    Sep 2006
    Location
    Allentown, PA; USA
    Beans
    484
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Results
    xeyes opens on my kde desktop, not the one created by xephyr

    using

    ssh -XfC brian@brian-laptop xterm
    with or without the -c blowfish

    opens xterm on my kde desktop, not the one created by xephyr

    Seriously, I don't "get" how this works...

    Even running
    $ brian@brian-laptop:~/bin$ Xephyr :1 & export DISPLAY=:1; xterm
    [1] 12086
    xterm Xt error: Can't open display: :1
    brian@brian-laptop:~$ _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
    _XSERVTransOpen: transport open failed for inet6/brian-laptop:1
    _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    I get a blank xephyr screen (but with little cross hatches) Screenshot attached and some errors in konsole.
    Attached Images Attached Images
    Last edited by maestrobwh1; November 18th, 2008 at 11:03 PM.

  4. #24
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Here is a step-by-step :

    bodhi@hardy:~$ Xephyr -ac -screen 800x600 -br -reset -terminate :1.0 &
    [1] 6389

    #This output can be suppressed (re-directed)
    bodhi@hardy:~$ expected keysym, got XF86KbdLightOnOff: line 70 of pc08 3:15 PM
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!

    # Set the display to :1.0, or Xephyr
    bodhi@hardy:~$ export DISPLAY=:1.0

    #Run xeyes
    bodhi@hardy:~$ xeyes
    After that last command xeyes is running in the Xephyr window.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #25
    Join Date
    Sep 2006
    Location
    Allentown, PA; USA
    Beans
    484
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Thanks... I understand the directions and will try it when I get home... assuming if xeyes shows up in the Xephyr screen... then xterm will

  6. #26
    Join Date
    Apr 2007
    Location
    Finland
    Beans
    41
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Is it possible to use evdev or something similar to set specified input devices (mice, keyboards) to control specified Xephyr session?

    So I'd assign a set of mouse and keyboard so that they always control the Xephyr screen A and another set to control screen B. Then I would put those screens next to each other (both visible) and have multiseat configuration with one physical monitor.

  7. #27
    Join Date
    Sep 2006
    Location
    Allentown, PA; USA
    Beans
    484
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Thanks... it works

  8. #28
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Quote Originally Posted by Ape3000 View Post
    Is it possible to use evdev or something similar to set specified input devices (mice, keyboards) to control specified Xephyr session?

    So I'd assign a set of mouse and keyboard so that they always control the Xephyr screen A and another set to control screen B. Then I would put those screens next to each other (both visible) and have multiseat configuration with one physical monitor.
    I have not heard of that but it sounds interesting.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  9. #29
    Join Date
    Apr 2008
    Location
    Houston, TX USA
    Beans
    590
    Distro
    Ubuntu Development Release

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Quote Originally Posted by Ape3000 View Post
    Is it possible to use evdev or something similar to set specified input devices (mice, keyboards) to control specified Xephyr session?

    So I'd assign a set of mouse and keyboard so that they always control the Xephyr screen A and another set to control screen B. Then I would put those screens next to each other (both visible) and have multiseat configuration with one physical monitor.
    The method mentioned here: https://help.ubuntu.com/community/MultiseatX ought to be easily adapted to this article.
    Locke
    Try Dropbox, it's FREE! (gratis) http://db.tt/J7Sm9iC
    Try Dropbox experimental build updater http://forums.dropbox.com/topic.php?id=12153

  10. #30
    Join Date
    Nov 2006
    Beans
    67

    Re: How to Xephyr ~ AKA Multiple, nested X sessions

    Tnnx

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

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