Using Xnest?

ok, I don't really understand the usage of Xnest...
it starts fine with "Xnest :1" but I cannot execute anything in that display (DISPLAY=":1" xterm fails... cannot connect to display :1.0)
I'd like to use xnest to mess with other window managers w/o leaving X... does anyone know how to do this?

i3839 wrote:
- Maybe the "+kb -ac" option takes care of the keyboard stuff, no idea where I got it from.
- For the size use -geometry, see the Xnest manpage.
- Probably not, as xrandr doesn't work.
- Don't think so, as it are two seperate X servers, and that's the whole point, isn't it?
- Buggy program that doesn't expect multiple X servers running. To see how it does it look at the source or do a strace.
For programs that don't check the DISPLAY environment variable but do have a -display option it is needed.
i3839, thank you very much for the comments
keyboard: i use +kb ... it is, as if it does not check the settings ... anyway
size: -geometry :oops: yes ... i forgot
resizable window: it is logical that you cannot resize an X server live (this would be a cool feature request ;-) ) ... the confusing part is, that kde let's you make the window with the nested :1 smaller but the nested X does not have scrollbars. when you resize :1 to it's original size, you get faulty graphics in the regions that were closed (feature request: scrollbars in nested X server, as moving of mouse does not scroll the virtual screen in the window the nested X is running in (in a real X server, if you have a virtual size that is larger that the effective resolution, the screen is moved by the mouse))
copy/paste: i use vnc to copy/paste between them, but this means having lots of windows around and the advantage of a nested X is lost ... that's why i asked ... if there is no simply way, never mind
i tried strace xfce4-panel in the nested X but after some seconds, strace crashed :1 and :0  :evil:  ... anyway, it is only a module of the xfce4-panel and i in most cases use xfce4 in the :0 and run something else in :1 so no problem with this

Similar Messages

  • Using Xnest -query localhost when in "netservices limited" mode?

    hi,
    I'm trying to get Xnest to work (so I can remote desktop over ssh) - on Solaris 10 1/08 express developer
    Xnest works fine when in "netservices open" mode but not when in "netservices limited" mode
    I'd rather runs as limited and just enable the things I need, like Xnest but I can't seem to find the way to enable it so it works.
    I've tried setting the option, as per:
    svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = true
    but it doesn't seem to do the trick, what do I need to enable to get this working in limited mode, going to open mode seems like opening up all the doors just for one purpose.
    since I'm x11 forwarding over ssh, the Xnest -query is to localhost, not sure if that's relevant or not?
    Also, can Xnest only ever run as root? I seem to have to login as my user account then su root, this is normal / preferable?

    problem solved :)
    the answer was right there in front of me all along but ho hum, I got there in the end!
    The answer was hiding in this thread:
    http://forum.java.sun.com/thread.jspa?forumID=844&threadID=5176358
    --- snip ---
    and then, as mentioned previously, fix the dtlogin command line args to stop it setting udpPort to 0. you do this with
    svccfg -s cde-login setprop dtlogin/args=\"\"
    svcadm restart cde-login
    --- snip ---
    So, in summary,
    set netservices limited
    set x11-server tcp_listen to true
    fix the dt-login command line args to prevent it setting updport 0 (disabling it)
    I did have to restart the server at least once (the graphical login screen wasn't coming up and the service was going in to maintenance)
    anyway, all working now, remote desktop using cygwin and ssh which is exactly what I needed
    hope this might help someone else

  • What happened to Xnest?

    Maybe I'm the only Mac user in the world who actually makes extensive use of the X11 support in Mac OS X, but here goes anyway.
    I use Xnest a LOT to get into Linux machines I use on a daily basis. When I upgraded to Leopard the other day, the Xnest application disappeared! Did something go wrong when I upgraded, or has Apple removed the Xnest program from the X11 distribution with Leopard?
    Yes, I looked in the usual places (/usr/X11R6/bin, etc.) and it indeed is not there. I have not tried copying the program from an older machine just to get it up and running.. but it would be nice to see if others have noticed this disappeared.

    Xnest is not universally installed on a lot of Linux boxes, either. The particular Debian box I'm working with does not have it installed either. (note: "apt-get install xnest" as super-user to fix this problem)
    To completely use this solution, you also need to have an SSH (or other such login system) installed and working. I have one machine that the only way to log in from remote is via XDMCP: ssh, telnet, rlogin are all disabled.
    Lastly, your instructions were a bit incomplete. Here's how to make this workaround "work". The following command works on a target Debian etch host, with the requisite X binaries and the xnest .deb installed.
    From the Mac running X11, open up an Xterm and issue the following command:
    +ssh -X user@remotehost 'Xnest :1 -geometry 1024x768 -query localhost'+
    The parameters after "geometry" can be modified to whatever you like.

  • Windowed gdm is not working, but xnest works :?

    I can use Xnest just fine, but gdmXnest, gdmflexyserver -xnest and gdmthemetester don't work, any ideas?
    btw here's the output of the three:
    gdmflexiserver -xnest:
    ~% gdmflexiserver -xnest
    gdmflexiserver[2511]: WARNING: Unable to open a display
    gdmXnest
    ~% gdmXnest
    DISPLAY=:20
    Fatal server error:
    Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.
    gdmthemechooser
    ~% gdmthemetester console archer-black
    GDM Theme Tester
    Be sure to test all the environments:
    console, console-timed, flexi, remote-flexi, xdmcp
    Also be sure to test using caps lock
    (gdmgreeter:2529): Gdk-WARNING **: cannot open display:
    Last edited by Phrodo_00 (2008-01-07 00:36:56)

    Ah, apparently there was a bug report to do with this (or the gdmflexiserver -n part at least), it's #8409.
    In your /usr/share/gdm/defaults.conf add the Xnest command to the line with "Xnest=" on it. It should look like:
    Xnest=/usr/bin/Xnest -audit 0 -name Xnest
    To get a menu entry for it (under applications->system tools), change the "TryExec=" line in /usr/share/gdm/applications/gdmflexiserver-xnest.desktop to (it's near the bottom):
    TryExec=/usr/bin/Xnest
    Works perfectly for me now

  • Xephyr[solved]

    good evening, everyone,
    i'm trying to use Xnest to spawn a new X server in a window. i did this years back, and there were no problems. now all i get is a black screen. the first command i used was this:
    Xnest :1 -geometry 800x600
    after some googling i found out that Xnest is considered to be obsolete in most distros, so i should use Xephyr instead. okay, so i typed:
    Xephyr :1
    blank screen again. so after some more searching, i found a post on some forum suggesting the use of:
    Xephyr :1 -query localhost -host-cursor -screen 800x600
    still just a black screen. so, someone on another forum said the following worked for him:
    Xephyr :1 -query 127.0.0.1 -screen 800x600
    same old black screen. i tried starting a window manager (Xnest blablabla & exec mwm), and the large hourglass of mwm showed up for a sec, but then.. you guessed it. blank screen.
    so i started reading the errors on the console. the one repeated lots of times was:
    (EE) config/hal: NewInputDeviceRequest failed (2)
    Ignoring device from HAL.
    now i'm stuck. i understand that this has to do something with hal, but that doesn't help me at all. i've seen some bug reports for fedora and ubuntu on the net, but no solution ('works for me' and 'i can confirm it' are not solutions).
    can someone help me with this?
    Last edited by bamdad (2010-05-23 22:21:51)

    It's a black screen because nothing is running in it. (It doesn't source .xinitrc)
    And this: "Xnest blablabla & exec mwm" runs mwm in the current DISPLAY
    I use this:
    Xephyr :1 -terminate -screen 1280x1024 &
    sleep 2
    DISPLAY=:1 xterm

  • How do I change twm to fvwm2 window manager switch?

    Apple's X11 offering uses twm, which unfortunately I don't really like, and would like to replace it with fvwm2. I've tried this little trick, and boy, so far, no luck. Too bad I'm not a better systems admin. Does anyone have a howto on getting the Apple to be happy with a different window manager??
    Failing that, has anyone found the dot file that defines the twm as using a "drawn" window placement system. This really is a bother when trying to use Unix apps in rootless mode, since there is no "background" on which to draw the new window.

    A-okay. This was resolved using the suggested enlightenment as my new window manager... light footprint, and excellent window control.
    Enlightenment is easy to use as a simple call from the .xinitrc file. Used xnest to try a variety of window managers out side by side, bringing up a window running each of several wm's in each of the xnest windows.
    Downloaded from fink...
    In .xinitrc file in home area (cd + carriage return location)
    exec /sw/bin/enlightenment

  • XDMCP non reachable

    Hello people,
    I installed Virtualbox on my Ubuntu host and I installed Arch in my guest machine.
    The network in the guest IS working: during installation it downloaded all the packages; I can even ping it from the host.
    I'd say the network is working.
    BUT
    I configured gdm in order to listen for XDMCP calls and NOT to try to start any local X server.
    I'm planning to use Xnest on my Ubuntu Host, so the guest doesn't need to have a X server. Does it ?
    Well, when I fire up Xnest, it can't find any XDMCP service on the network neighborhood. The XDMCP service of my guest machine doesn't show up !
    I looked in hosts.allow and hosts.deny and allowed ANY connection from ANYWHERE just to be sure, but still, I can't see mu XDMCP service.
    What am I missing ?
    Thanks for any help
    Catonano

    I forgot, I also made a portscan from the Host to the guest and found 2 open ports:
    111   open  sunrpc
    887  open  unknown
    hope this helps
    Thanks
    Catonano

  • While running the following script on Snow Leopard

    alamogordo:~ jhowland$ cat /usr/local/bin/logon
    #!/bin/bash
    # Log onto system $2 using Xnest on screen $1
    /usr/X11/bin/Xnest $1 -query $2 -once -geometry 1200x800 &
    I get the the following errors:
    alamogordo:~ jhowland$ logon :1 xena00
    alamogordo:~ jhowland$ (EE) AIGLX error: dlopen of /usr/X11/lib/dri/swrast_dri.so failed (dlopen(/usr/X11/lib/dri/swrast_dri.so, 5): image not found)
    (EE) GLX: could not load software renderer
    (EE) XKB: Couldn't open rules file /usr/X11/share/X11/xkb/rules/base
    (EE) XKB: No components provided for device Virtual core keyboard
    Couldn't get keyboard.
    Anyone else have a similar problem?

    You must have installed a broken version of XQuartz at some point.
    #306 (Xnest does not support AIGLX) – XQuartz

  • Switching users (xmonad)

    As the title states, I'll be using xmonad. Most people aren't quite accustomed to the interface - especially if they're coming from Ubuntu or Windows. So when people are over, I need a way for them to use my computer without me having to log out. I'm going to have LXDE with compiz-fusion so it looks all pretty and may possibly be able to convert Windows/Mac users as it has done in the past. I'll be setting up a guest account and everything for them.
    But I don't want them to log me out or anything. So how would I let them switch users? I was thinking about using Xnest, but I thought that didn't allow accelerated graphics (id est compiz-fusion won't be able to do its "pretty" little thing). It doesn't necessarily need to be within a window, I just need to be able to switch back to my session.
    Edit
    Found this: http://bbs.archlinux.org/viewtopic.php?id=38184
    So I guess it won't work with SLiM?
    Last edited by Berticus (2008-06-27 17:12:24)

    How would you go about switching? I was originally thinking about doing that, and ditching a display manager altogether. I'm actually not quite sure why I have a display manager, come to think of it. But anyway, I thought it would be a good idea to do startx in one vc, and then do Alt+F[1-9] and startx in another vc. Then all I would have to do is Alt+F[1-9] to any of the vc's and get the other desktop environment or window manager. The only issue would be if the wm/de took up Alt+F[1-9] keybindings, in which case I'd just change them. I thought it would work because it did with X's default window manager. However, I just tried it out with xmonad, and it didn't work out so swimmingly. Could be that I didn't set it to a different display (thought you needed a second monitor to do that).

  • Starting Xnest on Solaris 10 Sparc

    I cannot get an Xnest server to start under CDE or java/gnome on a Sun Blade running Solaris 10. I keep getting errors related like:
    Fatal server error:
    Failed to establish all listening sockets
    My $DISPLAY is :0.0
    I have tried many commands including:
    Xnews :1.0 -depth 8 -class Pseudocolor
    to no avail. Does anyone know of the exact command-line entry I should use?
    Thank you in advance...

    Great! Thank you very much for the info. I'll try that right away. The man pages for Xnest are not very helpful: they should give a few examples, and error messages.

  • How Configure Kiosk Mode to join an other linux server (by Xnest)

    Hello,
    I have a sun-ray server (srss 5.2 on Centos 5.6). I want my sun-ray clients to join a linux server by my sun-ray server. I think I can do that by using 'Kiosk Mode' with Xnest.
    Can you explain me how I can configure Kiosk Mode with a Xnest Session ?
    Are there some sites which deals about Kiosk mode configuration with examples ?
    Thans in advance,
    Alex

    Hi Leo Laohoo
    I think it is getting IP address
    Not in Bound state.
    *Mar  1 00:04:08.123: %CAPWAP-3-DHCP_RENEW: Could not discover WLC using DHCP IP. Renewing DHCP IP.
    *Mar  1 00:04:18.127: %CAPWAP-3-ERRORLOG: Invalid event 38 & state 2 combination.
    *Mar  1 00:04:18.235: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.0.0.13, mask 255.255.255.0, hostname AP6c41.6a29.7d2b
    it saids it is getting the 10.0.0.13, but can not discover the WLC.... why it is not discovering it???
    that's my problem.
    The AP is directly connected into the switch. there is no more connections beside this one. the WLC (Catalyst 3850) hasta the DHCP configuration, so, I don´t need an external DHCP server.
    How do I know that the WLC module is enable on the Catalyst??? I activate the 90 ap evaluation license.
    Best Regards

  • Bug? Xnest crashes when minmized to dock / keyboard driver in Xephyr?

    Hi,
    I suppose it is some kind of incompatibility between Aqua/dock and X11's Xnest/X.
    When I run a Xnest session and try to minimize it into the dock the Xnest session dies with
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 73 (X_GetImage)
    Serial number of failed request: 4244
    Current serial number in output stream: 4244
    I suppose it could be due to Xnest fixed size, or?
    I have already tried to use Xephyr but my keyboard mapping was totally screwed up on the server...
    There is an option for Xephyr
    '-keybd driver Specify the keyboard driver and its options'
    but I have no idea what keyboard driver could be selected here...?!
    Any ideas?
    Many thanks,
    Thomas

    Hi,
    I suppose it is some kind of incompatibility between Aqua/dock and X11's Xnest/X.
    When I run a Xnest session and try to minimize it into the dock the Xnest session dies with
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 73 (X_GetImage)
    Serial number of failed request: 4244
    Current serial number in output stream: 4244
    I suppose it could be due to Xnest fixed size, or?
    I have already tried to use Xephyr but my keyboard mapping was totally screwed up on the server...
    There is an option for Xephyr
    '-keybd driver Specify the keyboard driver and its options'
    but I have no idea what keyboard driver could be selected here...?!
    Any ideas?
    Many thanks,
    Thomas

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • How can multiple family members use one account?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

  • Iphoto crashing after using mini-dvi to video adapter

    Hi, IPhoto on my Macbook is crashing. I can open it, then as soon as I scroll down it locks up and I have to force quit.
    This started happening right after I used a Mini-DVI to Video Adapter cable to hook my macbook up to my TV. The adapter/s-video connection worked and I was able to see the video on the tv. But iphoto immediately locked up the computer when I went to slide show and now it locks every time I open it.
    Any ideas?
    Thank you:)
    Dorothy

    It means that the issue resides in your existing Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

Maybe you are looking for