Using Mac as X11 display server for app running on Linux

Hello all,
I am in the midst of learning Arabic, and am trying to get to the point of becoming comfortable with computing on Arabic screens with Arabic menus, etc. The Mac doesn't support this for Arabic, although it does for many other languages. (Neither does the Windows box, apparently, on a user by user basis. It looks like I would have to install Arabic Windows to get Arabic GUI. Somebody please correct me if I'm wrong.)
On my Linux server, however, I have most of my applications set up for multiple languages, and this works fine. I have a user set up who is my Arabic-speaking alterego with his default language set to Arabic and most applications respect it. However, the display for my Linux server is in a cramped corner, while the iMac, of course, sits proudly on my desk. It occurs to me that I should be able to use X11 for Mac so I can learn to think in Arabic in regal splendor.
I have X11 installed on here - I use it for OpenOffice locally - but am having trouble getting an application on the Linux box to see my display. Here is what I am doing:
- I do xhost + on the Mac side (merepoint) to permit remote connections.
- From the X11 terminal program on the Mac, I ssh over to my Linux server (openocean). I have tried ssh with no command line switches and with -X and with -Y. None of them appear to set the DISPLAY environment variable on the Linux box.
- I run a Gnome or KDE application in the Linux session and it immediately doesn't find a display. It indicates an empty display string. (What a surprise.)
- I run the command over there specifying -display merepoint:0 and it pauses and then doesn't find the display. This feels like the Mac isn't listening for remote connections or listens on some other port or display ID. I can ping back to my iMac just fine so it isn't confused about IP address or naming.
What do I need to do (at either end) to allow the connection to go through?
There appear to be no hardware issues. I'm not sure how the security, etc. works with X beyond opening or closing stuff from the display server with xhost. ssh and .Xauthority also comes into the mix somewhere, I think, but I'm confused as to the role they play and how they interact. I don't know if the X stuff on the Mac needs some special tweak to listen for remote connections. I didn't see any switches about that in the X11 preferences.
Eventually, I'd like to use Command-Opt-A to switch between my Mac screen and full-screen kdm login to the Linux box so I don't need to run over there. Any hints for getting that arrangement working - beyond the obvious user preference for full-screen, which works fine - would be valuable as well.
RalphM
iMac G4 20"   Mac OS X (10.4.4)  

Thank you! Setting up "X11Forwarding yes" on the server side and restarting sshd did the trick. Now from my ssh session, I can do "LANG=ar_LB gedit" on the command line and get gedit with Arabic menus.
I found that I could even get my whole desktop up, albeit with some amusing things happening with sound across the room, using startkde. Is there a better way to get this effect?
Now I can just log in as my Arabic alterego and it should all work pretty well.
RalphM

Similar Messages

  • Can I use Mac Mini as a "server" for a MacBook Pro and iMac?

    I want to develop a simple system for accessing my files from multiple devices.
    I heavily use iTunes (190 GB), iPhoto (120 GB) and iMovie (30 GB, but want to do more when I get time).  Additionally, I store lots of old videos on circa 10 portable hard drives (1 TB each), which I access occasionally. 
    The family use all this content and we currently have a MacBook Pro and are considering buying a new computer - either a new MacBook Pro or an iMac. We also have iPads, iPhones etc and a Time Capsule. We use wireless fibre optic broadband.
    I don't really want multiple iTunes and iPhoto libraries.  We want all our music and pictures in single master libraries that we can all access and update.
    As there is seemingly too much data to store on iCloud, we need to find an alternative solution. 
    My possible solution is:
    (1) Load my master iTunes, iPhoto and iMovie libraries ("iTPM libs") on a Mac mini
    (2) Buy a new MacBook Pro or iMac (probably doesnt matter which)
    (3) Link the MacBook Pro(s) and iMac to the Mac mini to access iTunes, iPhoto and iMovie and the master iTPM libs
    (4) Plug the portable hard drives into the Mac mini whenever I need to access the video content stored on the portable hard drives
    (5) Add "users" to the system (i.e. family members), in the same way you would access a shared server at work
    (6) Over time, buy more computers to access the system in the same way
    My questions are:
    (1) Is this system feasible?
    (2) If so, can I edit the iTPM libs from the MacBook Pro or iMac?
    (3) If so, what happens if both the MacBook Pro and iMac are accessing the libraries at the same time? Which takes precedent?
    (4) Would this solution be significantly slower than having separate libraries on the different computers?
    (5) Is there an alternative approach that might work better for my needs? (which are, after all, relatively straight forward).  When I went to the Apple store they were unsure!
    Many thanks.

    I heavily use iTunes (190 GB), iPhoto (120 GB) and iMovie (30 GB, but want to do more when I get time).  Additionally, I store lots of old videos on circa 10 portable hard drives (1 TB each), which I access occasionally.
    The family use all this content and we currently have a MacBook Pro and are considering buying a new computer - either a new MacBook Pro or an iMac. We also have iPads, iPhones etc and a Time Capsule.
    […] We want all our music and pictures in single master libraries that we can all access and update.
    The "update" portion of this is where your problems will arise.  You'd be better to consider your proposed system initially in terms of content "consumption", before getting into the nitty-gritty of editing shared content.
    iTunes has the Home Sharing feature built-in, which solves the content consumption issue.
    I don't know anything about sharing iPhoto libraries, but this KB article looks useful.
    As for iMovie, I think there are two things you want to do: share the raw data (sound effects, music, photos etc.) that are used to create iMovie content; and share the finished results.  Is that right?  I'm not sure how you'd go about doing that, but if you clarify your aims in this regard, it'll help the next person who comes along.
    When it comes to updating content, such as adding new music to iTunes or iPhoto, I'd suggest you do it through the Mac mini directly.  This seems the least problematic solution.  You wouldn't necessarily need a dedicated display for the Mac mini - you could use remote desktop or VNC or what-have-you.
    As for speed: doing anything across a network is always going to be slower than doing it locally.  But, it probably won't matter for content consumption (though if you're all watching different movies at the same time the drives on the server may struggle, and the wifi bandwidth might be tight).
    I hope this represents a good initial response to your query.

  • I want to install Snow Leopard Server on our MacPro (2.66) using Mac Mini Snow Leopard Server disks?  I kept getting an error for backwards compatibility.   Is this possible or do I need to purchase another copy of Snow Leopard Server?

    I want to install Snow Leopard Server on our MacPro(2.66) using Mac Mini Snow Leopard Server disks?  I kept getting an error for backwards compatibility.   Is this possible or do I need topurchase another copy of Snow Leopard Server?

    The OS disks that are shipped with a particular product
    are set up so that tey will only install on that product.
    It will install on any Mini of that exact vintage, but that
    is all.
    This is to prevent people from doing exactly what you
    are trying to do.  The license for OSX shipped with any
    is only valid for that product.  Also, Snow Leopard,
    including Server, is only permitted to be run on one
    computer at a time.  Bottom line, unlike Lion, legally
    you cannot install the same copy on multiple
    computers unless some "family pack" or site license
    is purchased.
    Yes, you need to purchase another copy.
    The copy of Snow Leopard license is here:
    http://images.apple.com/legal/sla/docs/macosx_snowleopard.pdf

  • Thinking about using Mac Mini's as desktops for 20 employee business.  Pro's Vs. Con's

    Thinking about using Mac Mini's as desktops for 20 employee business.  Pro's Vs. Con's

    Your best bet would be to buy a single 2012 MacMini Server model that you can use to manage the balance of the other machines. Either that or upgrade one of the MM's to OS X Yosemite Server . You can find information about the Server edition at:
    https://www.apple.com/osx/server/
    However I would STRONGLY recommend visiting your local Apple Store and ask to speak to their business specialist, they are trained to manage customer needs such as yours.
    The major advantage of using Macs over any PC is the stability of OS X itself and the overall quality of support that you will never get with HP.

  • How can I use mac pro as a server?

    I want to use mac pro as a server which 4-5 people can use it at the same time.
    Our computers are all macbook or iMac.
    I want to share files when I edit videos and photos with my coworkers at a time.
    1. Can we connect each mac to mac pro and share our files as a big memory storage?
    2. And what can we do with this sharing system as a server?
    3. Lastly, how can 4-5 macbooks/iMacs connect to mac pro? Airdrop or other network exists?
    Thank you for reading!

    The short answer is: no, they can't use the server as a compute server.
    That's not quite true, but setting the server up in this way is complicated.
    A single user could log on to the Server via screen sharing, assuming that was enabled for them, but only one user at a time could do this.
    Many users can log on to the server simultaneously using the command line (using the Terminal and ssh) but they would not have access to any graphical applications, just UNIX command line programs.
    There is also a distributed system called Xgrid that ceased to be distributed or developed since 10.7, that allows you to set up particular compute tasks on the server. However, this is not at all like running Photoshop on the server instead of the local machine.

  • Mac as a file server for windows -- mounting a mac disk at windows startup

    Is there any way to use the Mac as a file server for a windows XP home service pack 1 system?
    The best I can do is "mount disk at login". However, this fails to use the right username/password, and even then it fails to deal with programs that run outside of a user context, or with fast user switching (it seems every program gets a different set of drive letters to remote volume mappings).
    Mac Mini 1.42 1G   Mac OS X (10.4.3)  

    And this is my problem.
    In windows terms:
    I want to assign a drive letter to a network drive, and have that be a machine-wide assignment, that is activated during bootup, and is visible to all users and services.
    I can do that for an arbitrary partition that is physically attached to the machine.
    I cannot seem to do that for any partition that is mounted over the network.
    The problems are:
    1. It doesn't map for every user,
    2. It doesn't map for services that run when a user isn't logged in
    3. It generates annoying inconsistencies in what programs see what.
    Is there really no way for an XP box to use a file server? Even a microsoft file server? (if there is, how do I make my mac os with samba look like a real microsoft file server).
    Annoying tidbit: The "conncet at login" information is stored in the user profile; if you rely on that, then the user profile cannot be stored with the rest of the user's personal files. If it weren't for that, I could probably live with a work around.
    (2 to 1 someone will say "Xp Professional can do that trivially" and tell me to upgrade. I thought XP home was supposed to support home and small office networking, and I thought that included a single shared file server.)
    Mac Mini 1.42 1G   Mac OS X (10.4.3)  

  • How do use my ITunes balance to pay for Apps

    How do use my ITunes balance to pay for Apps?

    You just buy what you want.  If you have a credit (balance), it is automatically used before you are billed (if you run over your balance).
    How to manage unused iTunes Gift Card and Gift Certificate balances
    "Each time you purchase content, iTunes will deduct funds from the credit until it's depleted."

  • 3?'s: Message today warning lack of memory when using Word (files in Documents) something about "idisc not working" 2. Message week ago "Files not being backed up to Time Capsule"; 3. When using Mac Mail I'm prompted for password but none work TKS - J

    3 ?'s:
    1  Message today warning lack of memory when using Word (files in Documents) something about "idisc not working"
    2. Message week ago "Files not being backed up to Time Capsule";                                                                                                                                             
    3. When using Mac Mail I'm prompted for password but none work
    Thanks - J

    Thanks Allan for your quick response to my amateur questions.
    Allan:     I'm running version Mac OS X Version 10.6.8     PS Processor is 2.4 GHz Intel core 15 
    Memory  4 gb  1067   MHz  DDr3  TN And @ 1983-2011 Apple Inc.
    I just "Updated Software" as prompted.
    Thanks for helping me!    - John Garrett
    PS.
    Hardware Overview:
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro6,2
      Processor Name:          Intel Core i5
      Processor Speed:          2.4 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache (per core):          256 KB
      L3 Cache:          3 MB
      Memory:          4 GB
      Processor Interconnect Speed:          4.8 GT/s
      Boot ROM Version:          MBP61.0057.B0C
      SMC Version (system):          1.58f17
      Serial Number (system):          W8*****AGU
      Hardware UUID:          *****
      Sudden Motion Sensor:
      State:          Enabled
    <Edited By Host>

  • Can I use my old 2008 mac as the display unit for a Mac mini

    Can I use my old 2008 20 inch mac as a display for a Mac mini as an option instead of buying a new I mac?
    I need a better graphics card and more Ram but happy with the display.

    Hi Yinka,
    You'd first have to set up something like this on the Mini...
    ScreenRecycler...
    http://www.screenrecycler.com/ScreenRecycler.html

  • Need reasons not to use SMB/win2003 as file server for mac clients

    hey guys,
    i'm looking for reasons not to use windwos2003 as fileserver with smb for use with os x in a graphic production environment.
    can someone help? just need a sum up for "internal use"
    smb seems to be slower than afp
    etc...
    thank you!

    Well, it tends to be that saving over the network from Adobe and Quark apps "just works better" over AFP than it does over SMB.
    Put another way, people wouldn't be paying $4000 for a software license form Extreme-ZIP so they can serve AFP from a Windows 2003 server if there wasn't a real benefit to this. You can get an Xserve for this same $4000

  • Using mac as iPhone Display

    I have this future music magazine app: https://itunes.apple.com/gb/app/id451416904?mt=8&affId=1621074&ign-mpt=uo%3D6 Its really nice... I can read a digital version of the magazine on my ios device at anytime i wish . The only problem is that the only ios device I have is my iphone... Well reading a magazine on iphone isnt that nice because of the screen size... For some reason they only have an ios app and not a Mac app... Wouldnt it be nice if i could just use my mac as a display or use mirroring on my iphone like i do on apple tv...? Is that possible?

    He's going to have a problem...
    iomega used to make something called the 'superhero'.
    http://www.amazon.com/Iomega-SuperHero-Backup-Charger-iPhone/dp/B004FPYL56
    It would allow him to back up the photos and his contacts, but that's pretty much it.
    Without a computer, it's either that or a cloud service.

  • What path to use to access network files from Java app running on Mac

    I have a Java app running on a Mac with OS X that I'm using to check for files that exists on Windows servers within our network.
    Using a path like /Volumes/<Share>/ works because I've already connected to the drive using Finder. If I try to use a fully qualify the path with "smb://<Server>/<Share>" then my app doesn't see anything. Is there any way that I can get Java to connect to a directory without first having mapped or made the connection via some external tool like Finder?
    Here's the code I'm testing with:
    package FileImports;
    import java.io.File;
    import java.util.Arrays;
    public class Dir {
    static int indentLevel = -1;
    static void listPath(File path) {
    File files[];
    indentLevel++;
    files = path.listFiles();
    if (!(files == null)){
    Arrays.sort(files);
    for (int i = 0, n = files.length; i < n; i++) {
    for (int indent = 0; indent < indentLevel; indent++) {
    System.out.print(" ");
    System.out.println(files.toString());
    if (files[i].isDirectory()) {
    listPath(files[i]);
    indentLevel--;
    } else System.out.println("Directory not accessible!");
    public static void main(String args[]) {
    // this path works where <share> = the directory where my files exist.
    listPath(new File("/Volumes/<share>"));
    // this path returns a null result in files
    // listPath(new File("smb://<Server>/<Share>/"));
    Thanks,
    Alex
    Edited by: agates on Sep 25, 2008 11:14 AM

    agates wrote:
    Thanks for the response. I'll have to dig a little deeper into JCIFS. It looks like it would work great windows to windows. I haven't been able to find in the documentation where it would work on OS X without having to mount the targeted file system first. Has anyone had success creating a connection to a windows file system from OS X with JCIFS?Since jCIFS is written in pure Java and implements the entire SMB/CIFS protocoll on it's own it doesn't require any support from the OS (apart from a normal JVM runnig). Thus it should work exactly the same in OS X and Windows (and Linux and Solaris and ...).

  • Mac Pro using Mac Mini as Print Server

    Hi all,
    Mac Pro is wired to my network, Mac Mini is Airport connected.
    I'd like to use Mac Mini as a Print Server without keyboard and mouse. I've installed OSXvnc-server on Mac Mini and Chicken of the VNC (CVNC) Client on Mac Pro.
    Mac Pro's keyboard is azerty as was Mac Mini, it's impossible to loggin with Chicken of the VNC, password is not accepted, I connect an azerty keyboard to Mac Mini and I can loggin.
    Typing on Mac Pro in Mac Mini TextEdit through CVNC give weird keyboard layout, not only azerty qwerty different layout.
    In between my two Mac Mini there wasn't any problem using CVNC and the same server but Azerty Qwerty layout.
    Is there any other solution to use Mac Mini as a print server ? What about using Desktop remote connection ?
    Thanks,
    Peloche,
    MacPro 2.66, 6GB, 1TB; Mini G4, 1.45, 1GB; iPod 60 GB; 30" & 20" ACD; Apple IIC   Mac OS X (10.4.7)  

    Ah… right! That explains it.
    So what model printers are they?
    Ned,
    Printers are HP Color LaserJet 2550L, HP Photosmart 8250 and Epson EPL-5900L.
    I've changed the VNC Client from "Chicken of the VNC" to "VNCThing".
    Now I can log in from Mac Pro using its Azerty Keyboard as Qwerty Keyboard.
    Once logged in I've set Mac Mini Keyboard to "Extended (or Expanded ?) American" keyboard within System Preferences, with this option Mac Mini see the Mac Pro Keyboard as an Azerty layout...
    I've connected two printers through USB2 Hub connected to Mac Mini and the third one direct onto Mac Mini USB port.
    Back to Mac Pro "System Preferences Fax & Printers", "+", immediatly the 3 printers have been proposed, I've selected them and tested all: it works perfectly.
    Mac Mini is set to "restart after power cut" and is connected for power onto a remoted control power distribution sockets, that means Mac Mini is starting and stopped when printers are powered on and off.
    The sole small issue is that I can't find how to display Mac Mini GUI on Mac Pro at a better resolution than 1024 x 768.
    Thanks for your time,
    Peloche,
    MacPro 2.66, 6GB, 1TB; Mini G4, 1.45, 1GB; iPod 60 GB; 30" & 20" ACD; Apple IIC   Mac OS X (10.4.7)  

  • Setting up a Mac OS 10.6 Server for the first time

    I'm new to servers, and I would like to set up a Mac Mini Server for my network. There would be 3 Windows clients running Vista Home Premium and 2 Mac OS 10.5 clients. I want to be able to log-in on any computer to an account from the server. Then I would like to have the server storing all of the files from all of the accounts. Also, I would like to be able to access these files from over the internet (I have a static IP address on my router). Also, I would like to host a website (I have a domain name through GoDaddy). How do I do all of those things? Also, do I need to upgrade to Windows Professional (Either Windows 7 or Vista)?
    I'm really new to this, so please explain this in great detail. Thank you.

    For file sharing, on the Mini, you just need to go to System Preferences -> Sharing and enable file sharing. You'll also want to create whatever accounts on the Mini that you want people to be able to log in with, that'll be in System Preferences -> Accounts.
    I don't have a lot of experience with Windows and Snow Leopard (much less Mac OS X Server), but at my wife's small business, they have a Mini running Tiger, and none of the Vista machines were able to connect to it. After some digging, I discovered Microsoft had disabled something critical to connecting to Macs in this way, and with Home Premium, you can't access that setting without some arcane hackery. Here's how you do it, if it turns out to still be needed:
    To set a Vista computer to access a Mac server:
    Go to the Start menu and go to All Programs -> Accessories -> Run
    Type "Regedit.exe" and press return
    Go to HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Select Lsa, then choose Edit -> New -> Key
    Type "DWORD" (without quotes) as the name in the list
    Double-click the text "(Default)" in the right-hand pane
    Enter "1" (without quotes) as the value and press OK
    Quit Regedit and restart the machine
    Log in to the remote Mac using "ip_address\username" as the user name
    As to hosting your own web server... I wouldn't advise that, unless it's purely for internal use and not something aimed at potential customers. You don't want the hassle of being on-call 24-7 to restart the server if something goes wrong, and what will you do if the hard drive dies and has to be replaced? Let someone else deal with those issues. (Of course, GoDaddy isn't known for their reliability... if ensuring the server is up and running 99.9% of the time, you will probably want to go with a more respected company, like [pair Networks|http://promote.pair.com/direct.pl?reedcorner.net+134126].*)
    \* Note that clicking this link may give me compensation... if you wish to avoid that, just Google them.

  • Declaring an SCCM 2012 SP1 server as the "Publishing Server" for App-V 5 SP2

    Good morning everyone.
    I'm trying to virtualize Adobe Flash 10.3 for IE.  That's beside the point but I wanted to mention my ultimate goal.
    Sparing you all the App-V stuff I have to go through there's one obstacle that is hindering me at this point.
    I've converted completely to CM 2012 SP1 for my App-V deployment functions but find myself needing to specify our main CM server as the "AppVPublishingServer".  The ultimate goal here is to set the virtual app attribute of "IsPublishedGlobally"
    to TRUE.  I need to refer to the Publishing Server's URL in order to use the PoSH command "Set-AppVpublishingserver" to manipulate the "Global" parameters.
    Do any of you know how to configure this attrib through CM, or, how to declare the CM server as a Publishing Server (in App-V's eyes)?
    Thanks very much.
    IAmStrings

    Hello,
    If using SCCM and the App-V 5 integration, you can never configure a publishing server.
    Read this whitepaper for the full-story;
    http://blogs.technet.com/b/virtualvibes/archive/2013/04/22/sccm-2012-sp1-and-app-v-5-0-documentation.aspx
    It contains step-by-step instructions on howto use the integration.
    Nicke Källén | The Knack| Twitter:
    @Znackattack

Maybe you are looking for

  • Error message when Quitting PS -HELP!! Can't save prefs

    Each time I quit Photoshop CC I get this error message: "Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Get Info' command in the Finder to ensure the

  • New hard drive and old ipod touch

    My old hard drive died, and I've replace it. But now when I sync my itouch, I've transferred my downloaded purchased music, apps, etc. without a problem to manage on the new computer, but I don't have a clue how to sync or delete any of the itouch mu

  • Ipod touchy issues

    I have an Ipod touch as well as my daughter, when she downloads an app or music it also ends up on mine.  How do I stop this.

  • A fatal error when I execute two application

    Hi! I have a maven java application, which count mouse clicks and key presses with jnativehook. when I launch application (jar file) and it starts counting events, I launch second application in IDE, and when it starts counting events, my first app i

  • Pad shape edit

    HI, I have just started using ultiboard and I have a few questions when I go from multisim to ultiboard is there a way to preview the package in multisim so I don't have to manually re-size it in ulti-board? This is very time consuming... I find the