Using Terminal.app with X11

Dear Apple Discussions,
I am trying to get X11 and Terminal.app to work together. I read on the forums here that it is possible by going here.
I followed the instructions to the best of my abilities, yet when I try and open up Emacs in Terminal.app (yes, I downloaded fink and installed the windowed version) I don't get a new window (yes, X11 is running).
When open up a Terminal window I get the message:
DISPLAY has been set to .0
which seems to me to be incorrect.
Any ideas?
On a side note, is there a way of changing the META key from being ESC to ALT as it is supposed to be?
Thanks and sorry if there was a similar post to this, but I couldn't come up with a good query.

Hi AppleMonkey,
   I'm a little confused by this discussion of the ALT key as Apple keyboards don't have an ALT key. Thus, I assume that you have a keyboard designed for one of those other types of computers. Anyway, X11 does use the ALT key terminology so we do have to discuss it regardless of what type of keyboard you have.
   Long ago someone posted instructions for this that added both Alt_L and Alt_R to Mod1, like so:
clear Mod1
keycode 66 = Alt_L
keycode 69 = Alt_R
add Mod1 = Alt_L
add Mod1 = Alt_R
   Of course the main problem is to fix your ~/.xinitrc. The reason that your X11 quits is because X11 replaces it's init process with the execution of the ~/.xinitrc. When that script quits, the process ends, as you observed. The way to keep it running is to replace the script process with a new process that is then in control of XWindows. Traditionally, this process is the window or desktop manager and process substitution is accomplished with the "exec" command. By default the last command in Apple's /etc/X11/xinit/xinitrc is:
exec quartz-wm
which passes control of the XWindows process to Apple's Quartz window manager. That default xinitrc also contains commands that process the ~/.Xmodmap file and it is invoked automatically if you have no ~/.xinitrc. Thus, if you're using Apple's X11, it should be sufficient to delete your ~/.xinitrc. Alternatively, you could copy that default file to your home directory with:
cp /etc/X11/xinit/xinitrc ~/.xinitrc
If you're using some other version of X11, you should still use the above command to copy in the default xinitrc and then customize it to suit your needs. However, make sure that the "exec" command is the last one in the script and that every other command returns immediately.
Gary
~~~~
   It's a funny thing that when a woman hasn't got anything
   on earth to worry about, she goes off and gets married.

Similar Messages

  • Full page prints from iPhone but not from iPad using photo app with AirPrint ?

    Full page prints from iPhone but not from iPad using photo app with AirPrint ? iPad only prints 4x6 on full size paper. It's an HP 8600.

    I also have this problem printing photos from an iPad to an Epson WF-2540 printer. It prints only 4x6 and without border (so print starts at extreme top left corner of paper). Borderless printing is not selected on printer. Printing a square photo just crops to 4x6 size.

  • Has anyone used an app with the Maverick software to burn iPhoto slideshows to DVD disks that will play on any DVD player?

    Has anyone used an app with the new Maverick software to burn iphoto slide shows to DVDs that will play on a standard DVD player?  This probably cannot be a demo app in that the amout of photos on the slideshows is large.  
    Thank you,
    Jim

    Export the slideshow from iPhoto, that makes a movie of it.
    Do you want to use this DVD in a domestic DVD player? If so, then the disk will have to be 'authored' to make it the correct form for that. If you have iDVD then that's the app you use. However, iDVD is no longer developed or distributed by Apple. You may be able to get it on an old iLIfe install disk.
    Other options:
    Burn: http://macupdate.com/app/mac/21992/burn
    Toast: http://macupdate.com/app/mac/6351/toast-titanium
    But there are lots of others too. Search on the App Store or MacUpdate

  • Multiple mailboxes when using mail.app with google in IMAP.

    Hello,
    I have just started using mail.app with IMAP and my google mail account appears to be in two place. The mail.app has the following interface in the left pane.
    MAILBOXES, REMINDERS, RSS and GMAIL all in grey. Below the MAILBOXES i have got the following folders, inbox, sent and trash and below the GMAIL, i have got a replication of the structure in my google account.
    which set of folders should i be using?
    when i deleet the mail in the MAILBOXES it does not seem to delete it in All Mail folder under GMAIL.
    IS the synchronisation between the mails in the mail.app and the google server on a periodic basis. can i force the synchronisation?

    Mail works fine with Exchange 2003. This is how our accounts are configured:
    Incoming Mail Server:your exchange server.domain.com.au
    eg. server2.bunnings.com.au
    Username: domain\User alias\Full username
    eg. bunnings\bobs\bob.smith
    SMTP: smtp.bunnings.com.au
    Web Access Server: webmail.bunnings.com.au
    You can then setup the LDAP options under the composing tab to get the email list from your Exchange server.
    And no i do not work for Bunnings!
    Good Luck!

  • Can I log out from my Mac using Terminal.app?

    Is there a command I can issue in Terminal.app to log myself out? I'm just looking for a command-line equivalent of Apple >> Log Out. I would like to script this action so I can add it to my dock. Thanks.

    Hi--
    I wasn't able to find a way to completely log out via the Terminal (i.e., quit all apps and go back to the login window), though I did find a way to suspend the current login session (your apps are still running when you come back, much like with fast user switching):
    <pre class="command">/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession -suspend</pre>
    You can also log out via AppleScript:
    <pre class="command">tell application "System Events" to log out</pre>
    Just save it as an application and put it on your Dock. I didn't do much testing, though, so I don't know if it'll quit your apps for you cleanly. Basically, I just got to the point where the dialog came up and left it at that.
    charlie

  • Can I use iphoto app with my ipad mini2

    Dear Friends
    I would like to use İphoto application with my İpad mini2 .Is that possible?

    I would like to use İphoto application with my İpad mini2 .Is that possible?
    Do you mean the "iPhoto for iOS" app?
    That is not possible, if you upgraded your iPad to iOS 8.  Unfortunately, iPhoto is incompatible with iOS 8. Apple did not release an upgrade for iPhoto. It can only run on the earlier versions, iOS 7 or earlier.
    You can use the Photos.app on iOS 8, or install  other photo editors. Pixelmator for iOS is quite good on the iPad and has brushed adjustments, and it can access photos on iCloud Drive.
    See these links:
    Migrating from iPhoto for iOS to Photos on iOS 8
    Get help finding your Photos in iOS 8

  • Use of Apps with different Apple IDs

    Can an App purchased from Store using one Apple ID be used by another Apple ID on the same iPad?

    You can log out of the currently signed in account by tapping on the id in Settings > Store (Settings > iTunes & App Stores if it's on iOS 6) and you can then sign in with a different account and you should be able to continue to use the apps from the first account (I only have the one account so it's not something that I've tried).
    But as per the page that Demo linked, if the iPad is already associated with an account then you might not be able to log out of it and use another account on the iPad until the 90 days have completed.

  • Using BI Apps with applications other than Oracle, Peoplesoft and ....

    Hi all,
    I'm new in BI Applications. We have developed our applications with oracle tools and technologies. Is there any possibility to use Oracle BI Apps with our own database and applications?
    Regards,
    Iman

    I'll try to explain the "Universal Adapter."
    So Oracle BI Applications contains the presentation catolog (prebuilt reports and dashboards), the .rpd (prebuilt business logic), and the Informatica Repository (the ETL process).
    The warehouse model stays fairly consistent regardless of the platform. The "ETL Process" runs through SDE (source depent extract), SIL (source independent), and PLP (post load) mappings.
    By utilizing the "Universal Adapter/Container" you are still able to utilize the standard .rpd and presentation catalog.
    Essentially the Universal Adapter is in place to allow a user to develop discover the data needed by the "SDE" mappings, while still utilizing the rest of the functionality provided with BI Applications. This can be an overwhelming task, and I do suggest you do fairly comprehensive analysis before you attempt to utilize Oracle BI Applications with the Universal Container.
    Depending on the magnitude and scope of your deployment, you might be better off developing the ETL process on your own. However, there are instances where the universal adapter can be incredibly usefull.
    HTH,
    Austin

  • Assertion Failures using Mail.app with Exchange 2007...

    We have been implementing and migrating our end-users to Exchange 2007. In doing so we found that Mail.app end-users were experiencing Assertion failures in Console.app. They used to cause Mail.app to crash and lose connectivity frequently to the Exchange 2007 server. We made a change to the firewall to allow communication to happen between domain controllers, but haven't been able to determine if this in fact resolved or helped hide the root cause. We seem to be no longer crashing Mail.app or losing connectivity, but the same logs when we would crash/lose connectivity are still happening when you look in Console.app.
    *Here is an example of an Assertion failure where "The Operation couldn't be completed":*
    +11/12/10 1:19:36 PM Mail[3201] * Assertion failure in -[EWSConnection sendMessage:forRequest:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSConnection.m:374+
    +Received an unexpected error: Error Domain=NSXMLParserErrorDomain Code=5 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 5.)", response: (null)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff8036301b -[EWSConnection sendMessage:forRequest:] + 1117+
    + 3 Message 0x00007fff8036e5b9 -[EWSGateway sendMessage:forRequest:] + 79+
    + 4 Message 0x00007fff80381a63 -[EWSRequestOperation executeOperation] + 104+
    + 5 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 6 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 7 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 8 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 9 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 10 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 11 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    *I also get this Assertion failure every time I re-open Mail.app that shows up in Console.app that says "Mail did something wrong: The specified folder could not be found in the store.":*
    +11/12/10 12:44:22 PM Mail[3201] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x1012f1830> (EXECUTING)+
    + 0 Message 0x00007fff804216e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137+
    + 1 Message 0x00007fff80421649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220+
    + 2 Message 0x00007fff80382956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295+
    + 3 Message 0x00007fff80377aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88+
    + 4 CoreFoundation 0x00007fff879c26d7 __NSArrayEnumerate + 1399+
    + 5 Message 0x00007fff80377d86 -[EWSGetFolderResponseOperation executeOperation] + 445+
    + 6 Message 0x00007fff8042fab9 -[MonitoredOperation main] + 229+
    + 7 Foundation 0x00007fff8654bde4 -[__NSOperationInternal start] + 681+
    + 8 Foundation 0x00007fff8662abeb __doStart2 + 97+
    + 9 libSystem.B.dylib 0x00007fff863522c4 dispatch_call_block_andrelease + 15+
    + 10 libSystem.B.dylib 0x00007fff86330831 dispatch_workerthread2 + 239+
    + 11 libSystem.B.dylib 0x00007fff86330168 pthreadwqthread + 353+
    + 12 libSystem.B.dylib 0x00007fff86330005 start_wqthread + 13+
    +11/12/10 12:44:22 PM Mail[3201] Recieved EWS error: Error Domain=MFEWSErrorDomain Code=79 UserInfo=0x1148c1d10 "The specified folder could not be found in the store."+
    We are getting these Assertion Failures for other end-users as well that are using Mail.app and connecting to Exchange 2007 Server. I have wiped my mail.app account and started from fresh and that didn't help. I did it manually as well ensuring that preference files, caches, and passwords related to mail.app, ical.app, and Address Book.app were removed. That did not work. I just went from 10.6.4 to 10.6.5 hoping that would correct the issue, it did not. I even set up on another Mac a baseline Snow Leopard and patched it and then configured my mail account and still got the same errors.
    What I am hoping for is not a miracle (Fixing the problem), but being told what these errors mean and if there is any risks to be concerned with. In other words, can I ignore these error messages or should I be concerned? Like I said it was causing us to get the sideways thunderbolt or triangle with an exclamation point and even crashing Mail.app at times. That hasn't happened since we let the all of the domain controllers talk to each other, even though they shouldn't have to.

    I echo your hope for someone shedding a light on this. I too am geting Assertion failures, every few days, though without much in the way of crashes.
    Here is an example of a log entry describing one recent such failure:
    +5.12.2010 11:04:40 Mail[17075] * Assertion failure in -[EWSGetFolderResponseOperation handleResponseMessage:withObject:], /SourceCache/Message/Message-1082/MessageStores.subproj/EWSResponseOperation.m: 420+
    +Mail did something wrong: The specified folder could not be found in the store. on EWS response <EWSGetFolderResponseOperation: 0x11d80ec70> (EXECUTING)+
    0 Message 0x00007fff81f7d6e4 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff81f7d649 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Message 0x00007fff81ede956 -[EWSResponseOperation handleResponseMessage:withObject:] + 2295
    3 Message 0x00007fff81ed3aae __-[EWSGetFolderResponseOperation executeOperation]block_invoke1 + 88
    4 CoreFoundation 0x00007fff8448c6d7 __NSArrayEnumerate + 1399
    5 Message 0x00007fff81ed3d86 -[EWSGetFolderResponseOperation executeOperation] + 445
    6 Message 0x00007fff81f8bab9 -[MonitoredOperation main] + 229
    7 Foundation 0x00007fff847b4de4 -[__NSOperationInternal start] + 681
    8 Foundation 0x00007fff84893beb __doStart2 + 97
    9 libSystem.B.dylib 0x00007fff85f6b2c4 dispatch_call_block_andrelease + 15
    10 libSystem.B.dylib 0x00007fff85f49831 dispatch_workerthread2 + 239
    11 libSystem.B.dylib 0x00007fff85f49168 pthreadwqthread + 353
    12 libSystem.B.dylib 0x00007fff85f49005 start_wqthread + 13
    Perhaps coincidentally, I am having trouble with syncing iCal with my Exchange account. Ii have only found this thread on the subject, and am in the process of trying to find there the solution to that problem:
    http://discussions.apple.com/thread.jspa?threadID=2138051
    Any and all insight would be greatly appreciated.

  • Why can't i use my apps with an expired membership?

    My Adobe Creative Cloud membership expired on december 24th and i can't use my apps now. please explain me why?

    Hi Ale!^^
    You need to have an active membership in order to use the Creative Cloud apps.
    Thanks
    Bev

  • Scroll through commandline (Terminal) apps with mouse wheel

    Hi,
    I'd love to be able to scroll through the content of a commandline app, such as a text editor or IRC client, using my scroll wheel on my mouse.
    Is there any way to enable support for such functionality in the Terminal, perhaps through third party software?
    I'd especially like to be able to do this in remote apps that I run through SSH.

    Thanks, I figured as much. I was hoping however that it would be possible for the Terminal to 'pass on' to the remote machine what could be a control character of some sort that symbolizes a scroll up/down, much like PgUp/PgDn/Home/End.
    Maybe if only I could map PgUp/PgDown to my scroll wheel, that would already be one step in the right direction. I suppose I could take a third party mouse driver and map the scroll wheel to PgUp and PgDown for the Terminal only.
    On a conceptual level it just seems to me that it would make sense, and that therefore perhaps someone had developed a solution for this. For the app I'm using through ssh, a local solution (for a linux workstation) exists, for use in X11.

  • How can use full app with multiple monitor

    in Lion and Mountain Lion
    when i use Multiple Monitors and move any app in full-screen mode
    its become in one monitor and other monitor become blank
    but it seems usefull that other monitor show another app in fullscreen mode
    how can i do this ?
    and sorry for my bad english!!

    Sorry to say, but it is designed to work that way.
    The only way around it that I know of is, not to use full-screen but just fill the screen with the application that you are using.
    A

  • Using Remote app with wired AppleTV

    I can only control my AppleTV 2nd Gen with the iPad Remote app when the ATV is connected wirelessly. With a wired connection Remote no longer detects the ATV.
    Similarly I can't see music or photo libraries on other Macs when I use a wired connection to the ATV. Does anyone know if this is the expected behaviour?
    Incidentally the wired connection is over a Netgear HomePlug AV network.
    Thanks!
    H
    Message was edited by: HD

    I guess the problem will be with the Netgear connection not being a simple wired connection. I think that both devices appear to need to be on the same subnet, I have two wireless networks 192.168.2.x and another on 192.168.4.x with my router and apple tv on the 192.168.2.x network. With my iPad on the 192.168.2.x network everything is OK but if connected to the 192.168.4.x network then it cannot connect to the Apple tv so I believe it must be apple preventing access from another subnet.

  • Is anyone having problems using pages app with iPad mini?

    I have to use a template report for my job- which other people with normal sized iPads also use- I use pages to convert the word doc - which contains writing and boxes - I complete the report and send it back to work, when they open it all the writing can't be seen down the right hand side, so I'm having to write three words per line in each box so they can read it when they open it, this is not ideal and wondered if its the iPad mini that can't cope ? Wondering weather to get the standard size iPad although I don't really want to do that.
    I also need a way of password protecting my work can anyone help ?
    Thanks

    I have an HP Scanjet 8390 with the same problem ($1600 new when I bought it). Using the "HP Scan.app", I am able to scan but not save - something about a read only file.
    The HP Scanjet 8390 is a business class **DUPLEX document scanner built like a tank, critical to my business (and personal). ie. I scan 100's of duplex pages a day for the last 6 years with no problems. It has a 14" glass for legal documents, 48-bit, +programmable hard buttons to scan and copy, or scan and print, OCR...
    I called 1-800-633-3600.. HP told me they do not support legacy products, have no intention of updating the drivers for legacy products and suggested I buy a new scanner (even though my old scanner works perfectly and is faster and not ).
    What is considered a legacy product? 1 year? 2 years? Am I to buy a new ($1000) scanner every 1-2 years?  What benefit do I get from a new equivalent scanner?

  • IOS6 using music app with itunes match

    my itunes match account contains more than 80.000 songs, approx. 2.800 albums - iOS6 the music app starts now each time to sync itunes match. This takes now more than 30 minutes untill the album list is on screen.

    I don't know what the issue is, have had it since I have had match, and am thinking of ditching it because of it.  Now, after deleting and replacing a whole slew of my music with the wrong songs, have the stuff won't play or download from match, even stuff I buy in iTunes. It's ridiculous. Apple should be paying me to be losing my media by using match. It's driving me CRAZY!

Maybe you are looking for

  • End to End Excise duty process ..?

    Hi all Can anybody explain me the step to be carried out after below steps in excise duty proces (CIN process ). 1.Created PO with Excisable material,-ME21N 2.GR done for excise material PO -MIGO 3.Capture and post Excise invoice -J1IEX 4.Now i have

  • Need supplier name along with lot no.

    hello sir, i need to show supplier name along with lot no. here is my query-- SELECT DISTINCT(b.vc_field1),a.vc_lot_no,a.nu_balance_qty--, c.VC_SUPPLIER_NAME FROM STK_LOT_SUMMARY a, DT_RECEIPT b, makess.mst_supplier c, purchase.MST_SUP_ITEM d WHERE a

  • DiskWarrior not fixing things

    I put new ram in my G5 last month. Things were fine until a couple days ago. I started getting kernel panics and was unable to run superduper because of bad permissions. Diskutility was unable to fix persmissions. So I bought DiskWarrior and removed

  • Show values beside Bar of a chart

    Hello world, within a chart I like to show the values beside/of the bar. Is this possible? ...and how Thank you. Ralf Müller

  • How to Connect Sun Java System Application Server to MySQL?

    Hi, I am new to the SJSAS and I want to use MySQL 5.0 as my database. I have searched the web for a step by step for configuring the two softwares but I did not find anything? Can someone help? Thanks