OS X Technologies :: Determine If User Is Using Virtual Display?
May 21, 2012
I'd like a Terminal or AppleScript command to determine if a logged in user is using a virtual display.
The scenario is: user1 is in front of the local computer using user1 account (owns /dev/console); user2 is using using a virtual display for the local computer via ScreenSharing on a remote computer.
I know `stat -f%Su /dev/console` will give me who is in front of the local computer, but I need another command to determine if user2 is using a virtual display on the same local computer.
I want to analyse record types from a large input file and so far have managed to extract different groups and created the relevant files. All I want to do now is count the number of records in each file so I can produce a report showing the different types but cannot figure out how to do this, I know it will be simple but I cannot get any command to accomplish this
I'd like to know if it is possible to detect if something is attached to the serial port.
I have two USB uart which are connected to my mac mini. They are recognized by the serial port as "usbmodem" and then a number. I'd like to restart my computer is the Mac doesn't see them both.
Is there a way to hide user input in an applescript text box? I'm using the 'display dialog' command to get the user to type in a password and i would like to display it on screen as "*******" or something.
After deleting one of 2 admin users on my MBP (Lion), my other computers still see both users listed on the home network. Mostly it's just annoying, when I can simply ignore the "ghost" user name, but in one case my oldest imac is confused and can't connect to either users. There must be some way to delete preferences or otherwise get the network to "reset" its list of MBP users? (It's is a basic Airport network with an Extreme plus an extending Express.)
I want to develop a "Virtual Display Driver" on Mac OS X which will create a (virtual)mirror image of original desktop on the same local machine i.e. at a time we can see two desktop on a single machine. When we will open the an application in original desktop same application is also mirrored in virtual desktop vice a versa. We can see two desktop in single monitor on a local machine.
I also want to know that is it require driver implementation or we can implement it just like an application?
I have a mid 2009 iMac that doesn't have Thunderbolt display, but has a mini-dvi port.Will the Thunderbolt cinema display 27" still work when connected to this mini-dvi port? I thought it would be better going for a thunderbolt display monitor rather than the older version, so when i upgrade my machine in the future it stays compatible.
I have a shell script running on a Linux machine to generate multipart mail messages. These display perfectly in Thunderbird (PC or Mac) but the html is missing when I open them in Mac mail. Switch to plain text and they look fine, but the html just doesn't display.
I've tried Snow Leopard and Lion with the same result.
I would like to run a script when a user selects log out from the apple drop down to ask the user if they backed up their data before it allows them to log out. I created a script that prompts you and then brings you to the logout screen but do not know how to get it to run, or something similar to run, when you select log out. Obviously, I do not want it to run when the user has already logged out. The other option I see that could work would be to change the message, "are you sure you want to quit all applications and log out now?" which I cannot figure out how to do.
How do I delete macbook pro osx 10.7 virtual partition on virtual box? I already deleted the virtual machine and the app but the partition is still there.
do I delete virtual partition on virtualbox? I'm using Mac OS X v10.7 Lion and installed Window7 through virtualbox. I decided to use boot camp instead so I deleted the virtual machine and the the app. However, the partition is still there. How can I remove/delete the virtual partition.
Whenever I try to use Screen Sharing to control this one particular Mac Mini, and someone else is using the mini, and I pick "Connect to Virtual Display", I get dropped to a grey linen screen. Like the login screen, but without a list of usernames or anything. There it sits. Here is what I see in the console of the mac mini when I try and use a virtual display from the other machine:
3/10/12 7:30:04.291 AM mds: (Error) Backup: Couldn't stat source path '/Users/glados/Library/Saved Application State/com.apple.finder.savedState/window_3.data' -- importing from backup path instead 3/10/12 7:34:01.706 AM [0x0-0x9009].com.apple.systempreferences: System Preferences(148,0x7fff76017960) malloc: reference count underflow for 0x400440ce0, break on auto_refcount_underflow_error to debug.
I have a Windows TrueType font that will install on OSX (10.6.4) but does not show anything. When I install it on a windows computer it shows the font.
my screen died so i had to get the 27 led and have the atlona converter between the display and mac ( which works fine) I logged into my main user and then into user2 my main user's display resolution is set to 2560 and user2 was set to 1920 i opened preferences and switched resolution in user2 to 2560 the screen flashed a bit and logged me out. then it would not log back in (it actually logged me out of the main user too)
what happens is that it starts to log in, there were a few finder windows open so, it starts to open those. but it doesn't show any icons or the text with available disk space... there's a beach ball for 30 seconds or so then it just logs back out.
it's totally user specific because i can log in and use my main user fine. i can even log in to another user account that i never really used.
I tried logging in in safe mode and get the same results. I can log in in with terminal with that user and see it's files, etc... I even tried using command line to move some prefs out out (i put them back after it didn't work).
I imagine some file related to the finder is corrupted or something? one of the prefs i tried to move was com.apple.finder.plist as well as bunch of others like windowserver desktop displays, etc...
When I'm logged in as root I notice the fast user switching menu doesn't display the short or full name, just a blank space. In my regular account, it does. Is this normal?
Okay, so I left my two year olds alone for a minute playing the "alphabet game" on my Mac Mini. They only had the keyboard, no mouse but managed to muck up my display leaving me a bit frustrated. The screen is now too large for my Samsung display. The only way to see everything (dock, top bar, etc) is to move my mouse arrow to the end of my display and see it roll back onto the page. I've checked the settings there and they are fine. The MacBook Pro plugs right in and is proper resolution. So I then wondered if another account on the Mac Mini would do the same thing. I logged out of my Admin account and into another and everything looks just dandy. I log back into my Admin account and it's too large and blurry again. The resolution is set correct at 1920x1080 at 60 Hz.
What button did they push on my keyboard that would do this and how do I get it back?
I'm making an applescript app for my company, and had a question.The functionality of the app is working great, but there is a certain step which can take up to several minutes.This can give the user the feeling that nothing is happening and things are stuck. Is there a possibility to display a dialog as long as the action (shell script) is running?Something along the lines of "Now performing action X.
I recently purchased two 2GB memory modules from OWC to upgrade my MacBook 2.4 Core 2 Duo. The memory arrived and I verified the packing slip matched what I had ordered. The install went smoothly. Upon turning on my Mac, instead of booting up I got a gray screen and 3 repeatable beeps. These sounded like "warning alerts", so I immediately shut down and tried to power up again - with the same result. I reopened my Mac and confirmed everything was done correctly by popping out the sticks and re-inserting to make sure the modules we're properly seated. Turned on the machine and got the same thing. Nervously, I re-installed the factory modules and (thankfully) my Mac booted up just fine. So does this mean that the memory I received is DOA? Is there anything else those 3 warning beeps might have been indicating? I'm 99 percent sure the memory I received is matched for my machine, so all I can assume is that it's faulty? Can anyone verify my assumption before I contact OWC to help me rectify the situation?
I have a store bought copy of iWork '08 and I have since bought office for mac. I no longer use iWork and i want to sell it on eBay, but when i was looking over the documents that came with it I noticed it had a product key included. Now I didn't think I ever put a product key in when I initially installed it so I tried installing it on my newer macbook (not the same macbook as it was originally installed on) and it never prompted me for a product key. I want to sell this copy and i'm pretty sure the key has never been used, but how do I find out if it has? Is it fine to sell to someone? If it doesn't prompt me for a key, does it mean it wont prompt them?
Anyone have a freezy iMac with less than 8GB of ram installed? I made a brief attempt to search the forums for an answer to this, but was unsuccessful.
I need to buy an install disc for my IbookG4. How can I determine whether my tiger 10.4 is a 10.4.2 or 10.4.6 or 10.4.11 etc? I don't have the owners manual.
Is there a way to determine what my home IP address is when I'm not at home? Here is the reason for the question: I'm using my iPad as a mobile platform when I don't need all the horsepower of my MBP. However, to allow myself access to my files, I have my home router set up to route the appropriate ports to allow me to VNC into my MBP from my iPad. It works like a charm... until my ISP changes my home IP address. That is precisely what happened, and because I needed to get access to certain files, I had to call a neighbor and ask to have them check [URL] from my network.
Yesterday I completed a 4 hour backup of my 64 Gb iPad on my 11" MBA. I started with 75 GB available before I synced and backed up my iPad and then checked it again after the sync completed and ended up with 67 GB available. I can't figure why I dropped so much storage after everything backed up. I checked my mobile sync folder and can only attribute 2.25 GB as my backup size for my ipad which means I lost an additional 5.75 GB and is being tied up somewhere on my flash drive. Could anyone please give me a suggestion or idea in how I can determine where the extra storage went?
I have this logic board listed on eBay, and a person has asked me about the bus speed. The logic board has already been parted out from the computer. How/where can I get this information?
Wondering if anyone knows of a piece of software that will determine the type of AVI file I have. I guess tells me what type of encoding it is.
I have some AVI files that will not stream to my xbox360 with Rivet or Connect360 and it's really pissing me off so I'm just trying to see if they are just the wrong type of encoding or what.
This relates to: [URL]. We are trying to determine the compatibility of the air keyboard to the macbook unibody. Can someone with an air tell what these basic measurements are:
* from side to side * from top to bottom * the exact size of the Esc, F1-F12 and eject keys (one would be enough)
If you would like to go further you can measure others as well, but if those 3 match than the rest probably do as well considering that it has already been confirmed that the keys from an old non-unibody macbook can be swapped to the air or mb unibody.