Coherence 4 Linux

Discussion in 'Feature Suggestions' started by WimDS, Sep 30, 2007.

  1. WimDS

    WimDS Hunter

    Messages:
    141
    Hi, i'm running Linux (Ubuntu) too on my MacPro. I would be great if there was coherence support comming for Linux.
     
  2. Leauki

    Leauki Hunter

    Messages:
    157
    This subject comes up every now and then.

    I'm not sure what exactly a coherence mode would do for Linux, as

    a) Mac OS X already natively runs most of the programs Linux runs

    and

    b) Linux uses X11 for application windows, hence a "coherence" mode already exists if you just point your Linux session to Mac OS X's X11 server (X11.app).

    What exactly should a Linux coherence mode do apart from what X already does?
     
    Last edited: Oct 3, 2007
  3. WimDS

    WimDS Hunter

    Messages:
    141
    Well, i want to use Linuxapps in the easy coherence mode like Windows in Parallels...
     
  4. Leauki

    Leauki Hunter

    Messages:
    157
    Which particular part is missing in X11?

    I can see that a shared clipboard is not working for me, but I think that has something to do with my X11 settings. Note that the left gedit is running in the Linux VM and the right gedit is the Mac OS X (X11) version. (Ignore time and date on the Linux desktop. I just unfroze a Linux test machine and immediately started gedit without waiting for Linux to sync date and time.)

    http://www.netneurotic.net/bin/geditboth.png

    And here is Yast2 from SuSE Linux:

    http://www.netneurotic.net/bin/yast2.png

    Which feature is missing? Do you want Mac icons/shortcuts to start Linux apps? I am not a great X11 GUI user and always start Linux programs from a terminal window anyway, apart from obvious icons like Firefox or Skype. Which Linux programs do you want to run in coherence mode and are you sure they don't run on Mac OS X natively anyway?

    Clipboard support would be great, but it seems to me that in X11 the clipboard doesn't work between X11 apps running on the same machine, let alone on two different machines.
     
    Last edited: Oct 3, 2007
  5. WimDS

    WimDS Hunter

    Messages:
    141
    I want to run the leatest KNode (0.10.5). I don't want to config a lot and i want a easy install. If you run (K)Ubuntu and if the coherence mode was ok, i could do that in 2 seconds :)
     
  6. Leauki

    Leauki Hunter

    Messages:
    157
    I'm still not sure how coherence would make that easier.

    Perhaps we are talking at cross-purposes here. :-(

    Anyway, using Yast I installed kdepim3 which I believed contained knode. Knode installed and I could start it:

    http://www.netneurotic.net/bin/knode.png

    Started it with "knode&" to send it to the background. Don't know how to configure it though.

    I did receive many errors of the style:

    X Error: BadWindow (invalid Window parameter) 3
    Major opcode: 2
    Minor opcode: 0
    Resource id: 0x77

    But I suppose that has to do with how my X server is set up. My Linux installation, although it uses Gnome, appears to have had most KDE libraries installed and can thus run knode.

    My Linux machine in Parallels has a fixed IP and a name (xerxes-02v).
     
  7. its1louder

    its1louder Bit poster

    Messages:
    3
    here's how I do coherrence for Linux:

    1) open a terminal
    2) ssh -X mylogin@myvmname
    3) run all QT and gtk problems on mac desktop.

    For me, clip board works with the X11 programs I have tried it with.

    when I start up the vm, it boots, and then I minimize it and never use that window again. I like the way I have terminal set up better. I never start the X server in the vm. Why should I, the macos has an X11 server and the vm applications are clients. If you don't know this, then the problem is you don't understand how to use X11. Even starting the X server on the VM is a senseless waste of resources.
     
  8. Leauki

    Leauki Hunter

    Messages:
    157
    Yes, that's the normal method and how I did it. As I said I never start UNIX programs (except for Firefox etc.) from a GUI. I always feel more comfortable in the shell.


    Cool. Well, I tried the clipboard between a X11 program running on Linux and one on the host system. But then I am not an X11 expert (or even real user).


    Yes.

    In fact, I would love a stateless mode for Parallels, where the VM is running in the background with no window associated with it (unless the user wants to have direct access), and where the VM would survive a logout and re-login on the host side.
     
  9. Leauki

    Leauki Hunter

    Messages:
    157
    Have you found a way to add the guest OS (i.e. the Linux VM) to the xhost list automatically? I always have to add it manually: "xhost +xerxes-02v", with xerxes-02v being the Linux VM.
     
  10. mloskot

    mloskot Bit poster

    Messages:
    4
    These X11 hints are great. Thanks!

    Is there any way to connect to existing X11 session running on Linux VM?
    IOW, I have Ubuntu Linux VM with X11 running on it, plus there are some applications open like Firefox.
    Now, I'd like to connect from the host OS (Mac OS X) to this running X11 session to be able to operate the running Firefox, and other apps.

    Is it feasible at all?
     
  11. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    you cannot connect to existing session,
    but you can run application on your mac from Ubuntu
    ssh -X Vm.ip.add.ress
     
  12. mloskot

    mloskot Bit poster

    Messages:
    4
    Understood. Thanks John.

    BTW, here is an interesting introduction to connecting to GNOME with ssh: Forwarding GNOME via SSH. Perhaps it will be helpful for other newbies.
     
  13. M-Rick

    M-Rick Bit poster

    Messages:
    46

    The new version of VMWare has it, I am not a programmer, i don't want to have to install the dev tools Fink and so on and wait for hours a compilation and deal with compilation bugs and the dev to correct them while i can have that done in just a few minuts directly in Linux and with host OS integration with just a few click without dealing with complicated compilation process.

    Plus a lot of softwares are more stable and have fewer bugs in their Linux version than the Fink or MacPorts ones ...

    Simple to understand no ?

    A lot of users are like me.
     
    Last edited: Oct 25, 2008
  14. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    Agree, MacPorts are not stable, more features are coming in Parallels Desktop version 4, you will be able to test it soon, and see the difference with VmWare too
     
  15. VENICIO

    VENICIO Bit poster

    Messages:
    1
    Coherence for Linux hosts (desktop 4 windows and linux)

    The coherence feature is not available for Linux hosts (ubuntu 9.10) with windows guests on the desktop 4 windows and linux. Are There plans for this
    implementation?
     

Share This Page