x11 - Using Xnest between Mac OS X (Snow Leopard) and Ubuntu 10.10 -
i installed ubuntu 10.10 desktop on system development work. run x server environment on macbook instead of keyboard hopping (the graphics system on ubuntu box not great).
poking around on web uncovered following command can run terminal in mac os x:
/usr/x11/bin/xnest -geometry 1280x900 :1 & display=:1 ssh -x -y grog@ubuntusys gnome-session note have ssh set authentication happens automatically.
this seems work great -- ubuntu desktop appears on mac os x screen! (it seems smart enough start x11 if isn't running already). if try open program, dies out. close.
any suggestions appreciated.
update: answer below provides tutorial link learned how basic x forwarding. can x terminal window on mac this:
ssh -x -y username@targetsystem then can start x applications run on remote system windows on mac x server. issue have want start gnome desktop session:
gnome-session but problem there session takes on whole mac desktop. cannot resize or move it. worse, top part of windows managed window manager end underneath menu bar mac os puts there cannot access controls. think problem xnest intended solve, or misunderstanding about?
depending on version of osx you're running, best bet native mac x11 distribution. it's on install cd (or if you're me got lion through app store, available in utilities folder default).
launching (applications > utilities > x11) brings specific x11 x-terminal, can use ssh forward on ubuntu system. link in answer 1 pretty old, found 1 more helpful: http://www.craigryder.com/linux-ubuntudebetc/x11-forwarding-and-ssh-for-remote-linux-ubuntu-desktop/
the option use -c flag enable compression when run ssh command. please note not have run full gnome-session use x features - can run program want (ie, $ gedit&). gets out of using whole desktop, kind of weird since mac desktop still gets blacked out. can find more on technique @ http://ubuntuforums.org/showthread.php?t=1373823&page=2
i noticed on 10.10 ubuntu, system showed same odd ui control behaviors mention, disappeared when upgraded distribution ubuntu 11. didn't go deep see if upgrading x latest version on 10.10 ubuntu system have fixed issue, can confirm not appear in 11.
one final note, still seems force mac x11 server full-screen mode, if press command-alt-a takes out of x desktop , lion desktop, allows me have both running , still productive when need jump out of ubuntu system. seem able access title , menu bars of x apps though sitting @ ubuntu desktop.
one caveat - i'm running above connect vmware workstation vm running ubuntu (with 3d acceleration enabled) on workstation - connecting actual hardware may (though can't fathom how) result in different behavior.
hope helped!
Comments
Post a Comment