Questions tagged [macos]

macOS (previously "Mac OS X" and "OS X") is the Unix developed and distributed by Apple Inc. since 2001.

516 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
309 views

Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard

I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
6
votes
0answers
306 views

Let X11 window open in specific size and position

I installed zathura via homebrew from this github repository. It works well, but the window which zathura creates is an X11 (XQuartz) window which can't be controlled with BetterTouchTool. So I only ...
5
votes
1answer
605 views

Sending SIGINT to process groups sometimes gets ignored

I start a process group from bash. Then I send SIGINT to the entire process group. Sometimes the SIGINT kills the processes, sometimes does not. Why does SIGINT sometimes gets ignored ? I see ...
5
votes
0answers
1k views

How to change to a different user after SFTP login

The goal: Use local IDE (IntelliJ PHPStorm 9) to browse & edit remote files via SSH The obstacle: My user on the remote machine does not have permissions to read files, which are owned by ...
5
votes
1answer
707 views

Changing the spacing between files in ls

This is more of a cosmetic question but this is really bugging me. On OS X, when I run ls -G (or use CLICOLOR=1) instead of regular ls it changes the spacing of the columns, as you can see in this ...
5
votes
0answers
3k views

Add a user for Postgres on Mac

I've had a very difficult time trying to set up a postgres database. I am using Mac OS X 10.9.2. I am using this tutorial: http://tutorials.jumpstartlab.com/topics/environment/environment.html The ...
5
votes
1answer
6k views

Sound volume control does not work in Ubuntu

My sound volume control does not work when I'm logged in with my regular user, though the sound works correctly. What's weirder is that the sound control works when I'm logged in as guest. With my ...
4
votes
1answer
3k views

perl: warning: Setting locale failed

I bought a VPS, Centos 7. However, I was able to understand what was going on with SSH and connected to my WHM. After connecting, I get a list of errors and there is something like this: perl: ...
4
votes
1answer
3k views

Can't run glxgears over ssh with X11 enabled

glxgears functions fine for me when I'm directly on the server side machine. However, when I am trying to run glxgears over SSH but I get the following failure messages: ssh server -Y Warning: No ...
4
votes
0answers
1k views

Why does Gnu sort sort differently on my OSX machine and Linux machine?

I have a OSX machine where sort runs GNU sort from coreutils 8.26 (installed from Homebrew), and a Linux machine where sort runs GNU sort from coreutils 8.25. On the Mac: mac$ echo -e "{1\n2" | sort ...
4
votes
0answers
810 views

Schedule on boot persistent reverse SSH tunnel on Mac OSX

In attempts to run a self sustaining reverse ssh tunnel I have tried installing the 'autossh' package with brew. Autossh works alone when ran through the user's prompt, but not with launchctl/launchd. ...
4
votes
0answers
233 views

What processes are used by DRM?

Whenever some content is DRM-protected, screenshots of such content are masked. Even using Terminal does not avoid such problems. Which processes in ps ax are used by DRM that is implemented by ...
4
votes
1answer
397 views

How do I check if sound card is in use and, if possible, which process is using it?

I want to know if a program is using my sound card without my knowledge. I thought about building a program that uses low-level device driver code to do the trick, but am now interested in seeing if I ...
4
votes
0answers
128 views

Disable networking only inside of a single terminal

I want to run a command in the terminal to disable networking, just in that terminal. How can that be accomplished? I'm running OSX. Note: I only want to disable the networking in that terminal. ...
4
votes
0answers
144 views

How to identify process accesing usb port (scale)?

I'd like to identify through terminal which processes are using the scale connected to my mac, I need to kill those processes or clean the port to be used only by my app. Thanks a lot in advance.
4
votes
0answers
3k views

Can't figure out why ssh_exchange_identification: Connection closed by remote host appear

At home, I have setup a Raspberry Pi with the latest version of Raspbian and with ssh enabled. I also use a Mac Book Pro with OS X 10.9.3. I use ssh pi@192.168.0.22 to do some work on the Raspberry ...
4
votes
1answer
236 views

OSX/Darwin ACL Format

In OS X, if you want to view the ACL information on a file, you can do so with the -e option of `ls. $ ls -lde app/cache drwxrwxr-x+ 7 alanstorm staff 238 Apr 1 10:02 app/cache 0: user:alanstorm ...
4
votes
0answers
145 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
3
votes
0answers
24 views

How to replace osx with Linux

I tried searching for this answer but the only one I would was from 2012 and surely things have changed since then. Anyway, I inherented an iMac from my Dad when he upgraded to a MacBook Air. I'd ...
3
votes
0answers
347 views

Valid values for LC_CTYPE?

I have found a number of questions on various forums where Mac users complain about locale errors when they log in to Linux systems over SSH which complain that the LC_CTYPE=UTF-8 setting is incorrect....
3
votes
0answers
108 views

How can I properly use an American flag emoji in my bash prompt?

I want to use an American flag emoji in my bash prompt (i.e. PS1 environment variable). However, the American flag emoji causes the terminal cursor to offset an extra character to the right. 🇺🇸 is ...
3
votes
0answers
1k views

Very slow login + very slow response - dbus error? - Ubuntu 18.04.1 LTS - on Virtualbox 5.2.18 r124319 (Qt5.6.3) - on MacOS High Sierra 10.13.6

This looks similar to dbus errors I see reported, but they are supposed to be fixed. The system is extremely slow performance, particularly at logon - even the console logon is very slow. There are ...
3
votes
0answers
162 views

Faketime lib on Mac not always works

Installed libfaketime with brew, latest version 0.9.7, then did following steps as described in README.OSX: export DYLD_FORCE_FLAT_NAMESPACE=1 export DYLD_INSERT_LIBRARIES=/usr/local/Cellar/...
3
votes
0answers
707 views

osx virtualbox seamless mode

I have been trying to get virtualbox seamless mode working and am not getting adequate results. Background info: host: Mac OS "Kernel Version 17.6.0" virtualbox: "Version 5.2.12 r122591 (Qt5....
3
votes
1answer
1k views

dd, ddrescue, dd_rescue performance according to OS (Ubuntu, macOS)

I put this question: recover files from HSF+ USB External HD, test on CentOS 7 to diagnostic And this https://askubuntu.com/questions/955325/using-gpart-testdisk-to-recover-gpt-for-files-from-...
3
votes
0answers
728 views

Steam In Home Streaming from Ubuntu to macOS over VPN

in my office I have an Ubuntu workstation with a decent gaming GPU. At home, I have only a 13" MacBook Pro which is not that much a gaming machine. Fortunately, Steam has this great feature called In ...
3
votes
1answer
417 views

Block all traffic out except one port with pfctl for macOS

As stated in the question, I need to block all traffic out to internet except for one port on MAC OS X 10.8.x. I just need the commands to run from a shell or edit any conf file?
3
votes
1answer
90 views

New (login) shells (window) opens at $HOME rather than $PWD (like they used to) on macOS. What gives?

Every time I open a new shell window, I'm brought to my home directory rather than the current directory I was in when I gave the command to open a new Terminal.app window. I am under the impression ...
3
votes
0answers
72 views

How can a mount command fail in one terminal window, but not in another?

On MacOSX 10.10.5, I opened a Terminal window, and did this: mount -t smbfs //accountname:password@server/path ./localdir and I got this error: mount_smbfs: mount error: /Users/accountname/localdir:...
3
votes
0answers
253 views

ZSH custom completion from command output

I am creating a custom completion for my command ipadd which will automatically complete all the network devices for OS X. It has a parameter --device which allows you to specify the network devices ...
3
votes
0answers
90 views

Why does bash appear faster on an Ubuntu VM than on the host MacOS?

This is the laptop sitting in front of me right now: On it is installed VMWare Fusion 8.5.3 with an Ubuntu 16.04 64 bit VM. I ran the following little test to compare performance between bash on the ...
3
votes
0answers
155 views

Unix OSX invisible process, how do I identify further information?

Using execsnoop -v, I note a dtrace error for two processes. ID3 (ID 630) and ID2 (ID 360). ~ 03:59 am ∆:ps -p 260 PID TTY TIME CMD 260 ?? 0:02.36 /usr/libexec/UserEventAgent (Aqua) ...
3
votes
1answer
613 views

Creating a DMG file on Gentoo

I'm trying to create a Mac OS DMG image file on Gentoo - I managed to create the FS using mkfs.hfsplus and just dropping all the contents into the mounted file system, and everything works fine.. the ...
3
votes
1answer
199 views

Compiling FreeBSD on OSX

I currently have the source for the FreeBSD kernel. I want to compile it and create an iso image, on my OSX 10.9 computer. Can this be done? Do I need any other tools?
3
votes
1answer
766 views

Cocoa API implementation for Linux?

Is there any Wine-like project for running OS X apps on Linux? I mean an implementation of Cocoa API for standard Linux machine, as it is done with Wine.
3
votes
0answers
54 views

Identify process

Every couple of minutes my Mac OSX machine starts running a process that consumes 10% of the CPU. It runs for a couple of seconds and then stops. I can see the process coming up in 'Top', but the name ...
3
votes
0answers
959 views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
3
votes
0answers
587 views

Where does BPF packet capture read its data from?

I am interested in the low-level interfacing with network packets. From what I read, tools like tcpdump and libpcap use the BPF packet filter device /dev/bpf* to read link-layer network packets (on ...
3
votes
1answer
697 views

Can't use `od` command with directories

I'm trying to use the od command in a directory in OSX but it doesn't proceed and it results in the error message: od: .: Is a directory Could you please help me with it or any equivalent command?
3
votes
1answer
360 views

Open a program (VLC) and move it to the foreground

On a Mac, specifically, when I use the VLC command line to open a video file, it opens in the background by default. How can I instead move it to the foreground whenever I run the command to open a ...
3
votes
1answer
368 views

IPFW Port Forwarding

This is my situation: I want to connect to an OpenVPN server from my office (we're using a proxy, only ports 80 and 443 are allowed). Server IP address is: 176.31.250.232:843 My static IP address is:...
3
votes
3answers
662 views

Change routes for VPN

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network. How does a script look like, that ...
3
votes
0answers
277 views

Can I get WCHAN from ps on Mac OS X 10.7.4?

From the manual it seems that ps -AO wchan should tell me what everything is sleeping on, but everything comes up as -. (And nwchan as 0). Did they do away with the old sleep()/tsleep() interface in ...
3
votes
0answers
789 views

WPA pre-shared key format in linux and macintosh

I'm temporarily in a situation where the wifi network I need to use is implemented using Macintosh equipment. They have encoded their network using WPA and TKIP. I can't seem to get onto their network ...
3
votes
1answer
97 views

extract incremental changes to directory

I would like to get only the differential backup of a single directory, using cmdline tools on OSX (to be run on a Continuous-Integration service) Basically, i have a directory full of things (files ...
2
votes
0answers
271 views

Forward iOS Tablet from Linux Desktop to QEMU macOS VM

I am running macOS 15 in a qemu virtual machine on a manjaro Linux machine. Since I want to use it for iOS development/deployment I tried connecting and forwarding an iPad running the latest iPad-OS ...
2
votes
0answers
1k views

SSH Fails at “kex_exchange_identification”

I'm trying to connect over ssh to an Ubuntu 18.04 VM running in VMWare on my local machine. Local machine has openssh server up and running. Apple's default ssh binary fails connecting to VMs in ...
2
votes
1answer
2k views

docker: Error response from daemon: OCI runtime create failed: container_linux.go:345

I have downloaded the anaconda docker image from here and I am running it on MacOS. I have come across the following issue and I would highly appreciate your help! When I try running Ipython by the ...
2
votes
0answers
391 views

Access Ubuntu desktop remotely from Mac OS

I would like to be able to access my Ubuntu 18.04 desktop (not just terminal) from Mac OS (Mojave), and have tried a couple solutions, with less-then-desirable results: Installing google chrome ...
2
votes
1answer
287 views

How to install ocx file to wine

I am using Mac OS 10.14.5, and I am trying to run an exe file. So I did brew install wine. Then, using wine to run the program yields the following error: 0009:fixme:actctx:parse_depend_manifests ...

1 2 3 4 5 11