Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

2 votes
1 answers
443 views
Invalid screen detect by xrandr
I using MacBook Air M1. When I run xrandr, output is: xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 525, current 5760 x 1956, maximum 5760 x 1980 default connected 5760x1956+0+0 0mm x 0mm 800x600 60.00 840x525 60.00 1024x768 60.00 1152x720 60.00 1280x800 60.00 1440x9...
I using MacBook Air M1. When I run xrandr, output is: xrandr: Failed to get size of gamma for output default Screen 0: minimum 800 x 525, current 5760 x 1956, maximum 5760 x 1980 default connected 5760x1956+0+0 0mm x 0mm 800x600 60.00 840x525 60.00 1024x768 60.00 1152x720 60.00 1280x800 60.00 1440x900 60.00 1650x1050 60.00 2048x1280 60.00 2560x1600 60.00 5760x1956 1.00* 5760x1980 2.00 But I use 4 monitors - 3 x 1920x1080 and one retina 2560x1600 in below configuration enter image description here How can I repair xrandr? XFreeRdp use xrandr to detect screens in multiscreen mode and this is some issue to run XFreeRdp session only on 2 or 3 screens.
lgabryel (21 rep)
Jul 13, 2021, 12:00 PM • Last activity: Jul 23, 2025, 03:04 PM
0 votes
1 answers
49 views
Authentication failed when connecting to MacOS host with Xpra
I'm trying to connect `xpra` from a _Linux client_ to a _MacOS host_. I have `xpra` and `xquartz` installed on the MacOS host via homebrew. And I am able to connect to the MacOS host directly with ssh using pubkey authentication. When I try to connect to the MacOS host using xpra I get an Authentica...
I'm trying to connect xpra from a _Linux client_ to a _MacOS host_. I have xpra and xquartz installed on the MacOS host via homebrew. And I am able to connect to the MacOS host directly with ssh using pubkey authentication. When I try to connect to the MacOS host using xpra I get an Authentication failure. Logs show that it's tried to connect with the correct pub-key:
2025-06-30 17:36:45,926 loaded Ed25519 private key from '/home/cheezsteak/.ssh/id_ed25519'
2025-06-30 17:36:45,943 Authentication (publickey) failed.
Now I'm pretty sure that I haven't set up X11 correctly on the Mac. All I did was install XQuartz. But this looks like an ssh authentication error not an X11 error. **Why is Xpra getting authentication errors when SSH isn't?** I suspect some changes to my sshd_config to enable Xpra support are required. The only changes I've made from the OSX default is PubkeyAuthentication yes and PasswordAuthentication no.
cheezsteak (1047 rep)
Jun 30, 2025, 10:47 PM • Last activity: Jul 5, 2025, 05:27 PM
0 votes
1 answers
1371 views
XQuartz right away quits itself
macOS Catalina Version 10.15.5 I have downloaded XQuartz from following page (https://www.xquartz.org/). The application installed and shown on the `Utilities` folder. When I open it, it is shown a second on the docker and always gone away (quits itself). It does not show up on the running applicati...
macOS Catalina Version 10.15.5 I have downloaded XQuartz from following page (https://www.xquartz.org/) . The application installed and shown on the Utilities folder. When I open it, it is shown a second on the docker and always gone away (quits itself). It does not show up on the running applications, so I crashes due to some reason. enter image description here I don't know how can I fix this issue, since I am not able to open the application. Is there any way can I fix this issue?
alper (239 rep)
Jul 16, 2020, 10:57 AM • Last activity: Mar 15, 2025, 09:55 PM
0 votes
0 answers
725 views
X11 Forwarding on Sequoia
I am trying to get x11 forwarding to work on my new MacBook Air. I have installed the latest xQuartz. I am running this scenario from a non administrator account. 1. launch xQuartz 2. from a terminal , I ssh to a server ie. ssh -X user@server-ip I have also used -Y in the scenario, but it doesn't he...
I am trying to get x11 forwarding to work on my new MacBook Air. I have installed the latest xQuartz. I am running this scenario from a non administrator account. 1. launch xQuartz 2. from a terminal , I ssh to a server ie. ssh -X user@server-ip I have also used -Y in the scenario, but it doesn't help. I am able to ssh to the server-ip, so that itself is not a problem. I have set this up before but I can't remember if there is an extra detail that I have missed like making a setting modification in the network area of the control settings. I have read some stuff about making modifications to the .ssh/config file that would turn on x11 forwarding, but I have also read many other items that state that doing that isnt' necessary if you use the -X -Y switch. Any help will be appreciated !
stackQA (123 rep)
Nov 18, 2024, 05:37 AM
8 votes
2 answers
10621 views
X.Org vs. XQuartz - MacPorts
After installing MacPorts and some software through that way, I noticed that MacPorts installed X.Org. I've already installed XQuartz years ago and I'm really fine with it. My 1. question is: Do I need the installed X.Org from MacPorts to run software like KeepNote or Gedit, which was installed auto...
After installing MacPorts and some software through that way, I noticed that MacPorts installed X.Org. I've already installed XQuartz years ago and I'm really fine with it. My 1. question is: Do I need the installed X.Org from MacPorts to run software like KeepNote or Gedit, which was installed automatically by MacPorts, or **am I free to uninstall X.Org** and leave XQuartz instead? My 2. question is: What about the other way round? Keeping the automatically installed X.Org and remove XQuartz? edit: changed the question and added a second one.
scherzkrapferl (211 rep)
May 12, 2016, 12:50 PM • Last activity: Dec 31, 2023, 10:12 AM
3 votes
0 answers
671 views
Can't get X11 forwarding working with XQuartz
I'm on Ventura. I'm trying to log in to a remote Linux machine with X11 forwarding enabled. I followed these steps: 1. Install XQuartz (from the downloadable package on their website, not from `brew`). 2. Reboot my Mac 3. Enable "allow connections from network clients" in XQuartz 4. Ensure X11 forwa...
I'm on Ventura. I'm trying to log in to a remote Linux machine with X11 forwarding enabled. I followed these steps: 1. Install XQuartz (from the downloadable package on their website, not from brew). 2. Reboot my Mac 3. Enable "allow connections from network clients" in XQuartz 4. Ensure X11 forwarding is enabled in the remote's sshd_config and restart remote sshd 5. Disable the firewall on my Mac 6. ssh -X user@remote from the terminal within XQuartz 7. Confirm that the DISPLAY env var is set on the remote 8. xterm on the remote And nothing happens; xterm just freezes. There are no error messages, but also no windows appear. I've also tried: - Enabling/disabling "authenticate connections" in XQuartz - ssh -Y instead of ssh -X - Manually setting the remote DISPLAY variable to my_ip_address:0 - Waiting for a few minutes after running xterm just in case I was being impatient But all have the same effect: running xterm just hangs with no errors. What else can I try?
Jason C (171 rep)
Dec 19, 2023, 02:35 PM • Last activity: Dec 30, 2023, 09:51 AM
17 votes
3 answers
10573 views
How do I prevent X11 opening an xterm when it starts?
When I start the X11.app then it launches an xterm automatically. I've long since switched from the "ordinary" xterm to rxvt-unicode so the initial xterm just hangs around like a wallflower never being used. Whilst it's not particularly *bad*, it spoils the look of the place so I'd like to stop it l...
When I start the X11.app then it launches an xterm automatically. I've long since switched from the "ordinary" xterm to rxvt-unicode so the initial xterm just hangs around like a wallflower never being used. Whilst it's not particularly *bad*, it spoils the look of the place so I'd like to stop it launching. How do I do it?
Andrew Stacey (1396 rep)
Jun 14, 2012, 06:31 PM • Last activity: Dec 16, 2023, 11:03 AM
2 votes
1 answers
282 views
What is the difference of an Inkscape installation via MacPorts with +Quartz or +X11 option?
For macOS (High Sierra) `Inkscape` can be installed via `MacPorts` with two options: `+Quartz` or `+X11`. What is the difference? Which version is (more) recommended?
For macOS (High Sierra) Inkscape can be installed via MacPorts with two options: +Quartz or +X11. What is the difference? Which version is (more) recommended?
Bernd (229 rep)
Feb 14, 2022, 01:00 PM • Last activity: Nov 18, 2023, 01:40 PM
1 votes
1 answers
288 views
X ssh forwarding not working from a macOS 13.4.1 to Debian Linux 11
I have currently an issue about trying to get a SSH X forwarding connection from a macOS Ventura to a Debian Linux 11. I am using XQuartz 2.8.4 (2.8.5 failed in installation). I don't know where the problem comes from. Below a lot of informations with `-vvv` option : ssh -X -vvv fab@pablo OpenSSH_9....
I have currently an issue about trying to get a SSH X forwarding connection from a macOS Ventura to a Debian Linux 11. I am using XQuartz 2.8.4 (2.8.5 failed in installation). I don't know where the problem comes from. Below a lot of informations with -vvv option : ssh -X -vvv fab@pablo OpenSSH_9.0p1, LibreSSL 3.3.6 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files debug1: /etc/ssh/ssh_config line 54: Applying options for * debug1: /etc/ssh/ssh_config line 58: Applying options for * debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/Users/fab/.ssh/known_hosts' debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/Users/fab/.ssh/known_hosts2' debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug1: Connecting to pablo port 22. debug1: Connection established. debug1: identity file /Users/fab/.ssh/id_rsa type -1 debug1: identity file /Users/fab/.ssh/id_rsa-cert type -1 debug1: identity file /Users/fab/.ssh/id_ecdsa type -1 debug1: identity file /Users/fab/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/fab/.ssh/id_ecdsa_sk type -1 debug1: identity file /Users/fab/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /Users/fab/.ssh/id_ed25519 type -1 debug1: identity file /Users/fab/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/fab/.ssh/id_ed25519_sk type -1 debug1: identity file /Users/fab/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /Users/fab/.ssh/id_xmss type -1 debug1: identity file /Users/fab/.ssh/id_xmss-cert type -1 debug1: identity file /Users/fab/.ssh/id_dsa type -1 debug1: identity file /Users/fab/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.0 debug1: Remote protocol version 2.0, remote software version OpenSSH_8.4p1 Debian-5+deb11u1 debug1: compat_banner: match: OpenSSH_8.4p1 Debian-5+deb11u1 pat OpenSSH* compat 0x04000000 debug3: fd 5 is O_NONBLOCK debug1: Authenticating to pablo:22 as 'fab' debug3: record_hostkey: found key type ED25519 in file /Users/fab/.ssh/known_hosts:1 debug3: record_hostkey: found key type ECDSA in file /Users/fab/.ssh/known_hosts:2 debug3: load_hostkeys_file: loaded 2 keys from pablo debug1: load_hostkeys: fopen /Users/fab/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug3: order_hostkeyalgs: have matching best-preference key type ssh-ed25519-cert-v01@openssh.com, using HostkeyAlgorithms verbatim debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com,zlib debug2: compression stoc: none,zlib@openssh.com,zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ssh-ed25519 SHA256:GLFoF6k2v/2MxuWrF1yK62AkZHsxKjH15LdXOC8PNIY debug3: record_hostkey: found key type ED25519 in file /Users/fab/.ssh/known_hosts:1 debug3: record_hostkey: found key type ECDSA in file /Users/fab/.ssh/known_hosts:2 debug3: load_hostkeys_file: loaded 2 keys from pablo debug1: load_hostkeys: fopen /Users/fab/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: Host 'pablo' is known and matches the ED25519 host key. debug1: Found key in /Users/fab/.ssh/known_hosts:1 debug3: send packet: type 21 debug2: ssh_set_newkeys: mode 1 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: ssh_set_newkeys: mode 0 debug1: rekey in after 134217728 blocks debug1: get_agent_identities: bound agent to hostkey debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities debug1: Will attempt key: /Users/fab/.ssh/id_rsa debug1: Will attempt key: /Users/fab/.ssh/id_ecdsa debug1: Will attempt key: /Users/fab/.ssh/id_ecdsa_sk debug1: Will attempt key: /Users/fab/.ssh/id_ed25519 debug1: Will attempt key: /Users/fab/.ssh/id_ed25519_sk debug1: Will attempt key: /Users/fab/.ssh/id_xmss debug1: Will attempt key: /Users/fab/.ssh/id_dsa debug2: pubkey_prepare: done debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs= debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password debug3: start over, passed a different list publickey,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Trying private key: /Users/fab/.ssh/id_rsa debug3: no such identity: /Users/fab/.ssh/id_rsa: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_ecdsa debug3: no such identity: /Users/fab/.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_ecdsa_sk debug3: no such identity: /Users/fab/.ssh/id_ecdsa_sk: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_ed25519 debug3: no such identity: /Users/fab/.ssh/id_ed25519: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_ed25519_sk debug3: no such identity: /Users/fab/.ssh/id_ed25519_sk: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_xmss debug3: no such identity: /Users/fab/.ssh/id_xmss: No such file or directory debug1: Trying private key: /Users/fab/.ssh/id_dsa debug3: no such identity: /Users/fab/.ssh/id_dsa: No such file or directory debug2: we did not send a packet, disable method debug3: authmethod_lookup password debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password fab@pablo's password: debug3: send packet: type 50 debug2: we sent a password packet, wait for reply debug3: receive packet: type 52 Authenticated to pablo ([192.168.1.62]:22) using "password". debug1: channel 0: new [client-session] debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: exec debug3: receive packet: type 80 debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug3: client_input_hostkeys: received RSA key SHA256:/qSKL8wq3JtHIJiXzu+62UH3nbjm+fObXjBofpoqPyo debug3: client_input_hostkeys: received ECDSA key SHA256:76LnGQ12/LisJhH5vvrWgCdn2I/oxOzhcuLnO9+6LYQ debug3: client_input_hostkeys: received ED25519 key SHA256:GLFoF6k2v/2MxuWrF1yK62AkZHsxKjH15LdXOC8PNIY debug1: client_input_hostkeys: searching /Users/fab/.ssh/known_hosts for pablo / (none) debug3: hostkeys_foreach: reading file "/Users/fab/.ssh/known_hosts" debug3: hostkeys_find: found ssh-ed25519 key at /Users/fab/.ssh/known_hosts:1 debug3: hostkeys_find: found ecdsa-sha2-nistp256 key at /Users/fab/.ssh/known_hosts:2 debug1: client_input_hostkeys: searching /Users/fab/.ssh/known_hosts2 for pablo / (none) debug1: client_input_hostkeys: hostkeys file /Users/fab/.ssh/known_hosts2 does not exist debug3: client_input_hostkeys: 3 server keys: 1 new, 1 retained, 1 incomplete match. 0 to remove debug3: client_input_hostkeys: asking server to prove ownership for 1 keys debug3: send packet: type 80 debug3: receive packet: type 91 debug2: channel_input_open_confirmation: channel 0: callback start debug2: client_x11_get_proto: xauth command: /opt/X11/bin/xauth -f /var/folders/1n/6wz8wzkn63n8y1zc2xjcm6640000gn/T//ssh-Tw35M0laihwY/xauthfile generate /private/tmp/com.apple.launchd.qpHhyhgMf3/org.xquartz:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1260 2>/dev/null It seems that XQuartz doesn't open the X after typing the password, I don't understand. If someone has already got this type of issue or sees its cause, I am lost with these many log informations ... **UPDATE 1 :** Here an example (where I have deleted the known_hosts on both side) : $ ssh -Y fab@pablo The authenticity of host 'pablo (192.168.1.62)' can't be established. ED25519 key fingerprint is SHA256:GLFoF6k2v/2MxuWrF1yK62AkZHsxKjH15LdXOC8PNIY. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'pablo' (ED25519) to the list of known hosts. fab@pablo's password: Linux pablo 5.10.0-23-amd64 #1 SMP Debian 5.10.179-2 (2023-07-14) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 2 01:17:43 2023 from 192.168.1.66 and doesn't display the rest. **UPDATE 2 :** I keep on my investigations about my issue. I found out that if I set on remote the environment variable to DISPLAY=localhost:10.0, then the X of server is working ( after a ssh -Y fab@pablo ) : I mean, I can launch for example nedit from remote machine and the window will appear on my macOS Ventura. I realized there is a code snippet into the ~/.zshrc of current user on remote machine : ############ FOR X11 Fowarding ############## if [ -e "$DISPLAY" ]; then DISPDIR=$(dirname $DISPLAY) NEWDISP="${DISPDIR}/:0" if [ ! -e "$NEWDISP" ]; then ln -s "$DISPLAY" "$NEWDISP" xauth -q generate "$NEWDISP" . fi export DISPLAY="$NEWDISP" fi but I don't remember what this part does exactly. Ideally, I would like that ssh connextion puts automatically the right value for variable DISPLAY : either directly on the machine (127.0.0.1:0.0) and from the macOS (127.0.0.1:10) when I do a ssh -X fab@pablo.
guizmo133 (53 rep)
Jul 30, 2023, 03:36 PM • Last activity: Aug 3, 2023, 11:10 PM
13 votes
4 answers
18986 views
Alternatives for XQuartz?
XQuartz was always the goto for running X applications on a MacOS desktop. It's been a couple of years since the last version of Quartz and there is no activity on the github, so we may assume that the XQuartz project is dead. Are there any alternatives for running X application on a MacOS desktop?
XQuartz was always the goto for running X applications on a MacOS desktop. It's been a couple of years since the last version of Quartz and there is no activity on the github, so we may assume that the XQuartz project is dead. Are there any alternatives for running X application on a MacOS desktop?
Ton Machielsen (408 rep)
Sep 21, 2019, 03:51 PM • Last activity: Aug 2, 2023, 09:16 AM
0 votes
1 answers
193 views
How can I ssh -X from a non-macOS machine into a macOS machine and run X11 programs displaying on the non-macOS host?
I have a macOS machine running Catalina. I have also have a Linux machine, running Ubuntu 20.04. I want to ssh from the Linux machine to the Mac by a command such as `ssh -X user@macos-machine`. When I try to do this, I get the error message "X11 forwarding request failed on channel 0". The ssh itse...
I have a macOS machine running Catalina. I have also have a Linux machine, running Ubuntu 20.04. I want to ssh from the Linux machine to the Mac by a command such as ssh -X user@macos-machine. When I try to do this, I get the error message "X11 forwarding request failed on channel 0". The ssh itself works, as I get a shell running on the Mac and displaying on the Linux, but programs like xeyes and xterm give errors like "Can't open display:" (For reference, the DISPLAY variable does not get set.) The xeyes and xterm executables exist on the macos machine, and they work if i use XQuartz.app. That is, if I am at the console of the macOS machine, xeyes and xterm work and display on the macOS machine. My Linux machine can successfully run ssh -X to other Linux hosts, so I think I have to do something to the macOS host. None of the machines has X11Forward turned on (or off) explicitly in /etc/ssh/ssh_config and I would like to avoid directly editing files in /etc if some other, more macOS -like, solution exists.
dan (15 rep)
Jul 9, 2023, 07:44 AM • Last activity: Jul 9, 2023, 10:14 PM
0 votes
0 answers
211 views
How to let XQuartz opens a startup window when you start it?
Earlier, some one asked, "How do I prevent X11 opening an xterm when it starts?", and Jay provided the answer "defaults write org.xquartz.X11 app_to_run APP", and it works. I did that and now I would like to undo, or negate, its effect. What should I do?
Earlier, some one asked, "How do I prevent X11 opening an xterm when it starts?", and Jay provided the answer "defaults write org.xquartz.X11 app_to_run APP", and it works. I did that and now I would like to undo, or negate, its effect. What should I do?
qquito (1 rep)
Jun 19, 2023, 09:03 PM
1 votes
2 answers
1974 views
XQuartz needs opening twice since macOS 13 Ventura
Since I updated to macOS 13 Ventura, whenever I try to switch to XQuartz I have to switch twice for it to show me the window. The first time I click the icon or do Cmd + Tab to the window, the window seems open - in fact, Cmd + Tab shows XQuartz as the first program, but the XQuartz window is still...
Since I updated to macOS 13 Ventura, whenever I try to switch to XQuartz I have to switch twice for it to show me the window. The first time I click the icon or do Cmd+Tab to the window, the window seems open - in fact, Cmd+Tab shows XQuartz as the first program, but the XQuartz window is still behind the rest of my windows. It never did this before updating. Is this a known problem and if it is, is there some way of fixing it? Update: I uninstalled and reinstalled XQuartz using homebrew but it still gives me the same problem. Update 2: I updated XQuartz to version 2.8.4, but I'm still having the same problem
Beth Long (123 rep)
Dec 6, 2022, 05:46 PM • Last activity: May 27, 2023, 06:10 PM
2 votes
1 answers
517 views
universal highlight->copy to secondary clipboard, middle click-> paste secondary clipboard
Terminal has this standard linux X window behavior. Is there anyway (including non-free utilities) to get this feature universally in macOS Ventura?
Terminal has this standard linux X window behavior. Is there anyway (including non-free utilities) to get this feature universally in macOS Ventura?
Neuromancer (51 rep)
Apr 6, 2023, 07:07 PM • Last activity: May 6, 2023, 11:08 PM
3 votes
1 answers
521 views
Run Safari over ssh (xquartz) from remote linux
I have a Mac Mini (2023, M2) and I would like to connect to it and run Safari remotely from a Linux laptop. I am not trying to connect to a Linux (or Windows) server from a Mac client, here the "server" is the Mac Mini, and I am connecting to it remotely. I have tried several things, mainly around t...
I have a Mac Mini (2023, M2) and I would like to connect to it and run Safari remotely from a Linux laptop. I am not trying to connect to a Linux (or Windows) server from a Mac client, here the "server" is the Mac Mini, and I am connecting to it remotely. I have tried several things, mainly around trying to get VNC working and, while it works, performance is truly horrible, even just over a fast local network. It appears that I have X11 installed and forwarding working - if I run xclock over ssh then it duly appears on my Linux desktop. However, whenever I try to run something a little more substantial, like safari or chrome, I get
anton@mmini:~$ open -a safari
The application /System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x60000395ca80 {Error Domain=OSLaunchdErrorDomain Code=125 "Domain does not support specified action" UserInfo={NSLocalizedFailureReason=Domain does not support specified action}}}
Is there any way to run safari over X11/ssh or was that just wishful thinking?
AntonOfTheWoods (133 rep)
Apr 20, 2023, 09:45 AM • Last activity: Apr 20, 2023, 09:48 AM
13 votes
1 answers
14375 views
Retina display support for XQuartz X11 applications
I use a MacBook Pro with retina display, OS X 10.8. I'm trying to run applications on a remote cluster via X11 ssh forwarding. I see everything with bad resolution, and guess this has to do with my retina display. I know that the same applications look good if installed on my local machine. Any idea...
I use a MacBook Pro with retina display, OS X 10.8. I'm trying to run applications on a remote cluster via X11 ssh forwarding. I see everything with bad resolution, and guess this has to do with my retina display. I know that the same applications look good if installed on my local machine. Any ideas? Thanks!
computersaysno (133 rep)
Apr 1, 2014, 05:47 AM • Last activity: Mar 6, 2023, 12:21 PM
2 votes
1 answers
875 views
Help getting Nautilus running under MacPorts
I have been trying to run Nautilus on OS X 10.6.8 without any luck. First, I installed MacPorts, then installed Nautilus. However when I try to run it from the command line, I am getting an error. I came to [this thread][1] and followed the instructions given. However I am still getting this error:...
I have been trying to run Nautilus on OS X 10.6.8 without any luck. First, I installed MacPorts, then installed Nautilus. However when I try to run it from the command line, I am getting an error. I came to this thread and followed the instructions given. However I am still getting this error: (nautilus:27170): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Xlib: extension "RANDR" missing on display "/tmp/launch-42nv45/org.x:0". ** (nautilus:27170): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS ** (nautilus:27170): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS ** (nautilus:27170): WARNING **: Can not get _NET_WORKAREA ** (nautilus:27170): WARNING **: Can not determine workarea, guessing at layout nautilus: Fatal IO error 0 (Unknown error: 0) on X server /tmp/launch-42nv45/org.x:0. And then X11 stops unexpectedly. Can anybody tell me how to solve this?
BiGYaN (121 rep)
Sep 22, 2011, 08:08 PM • Last activity: Feb 4, 2023, 05:50 PM
0 votes
1 answers
202 views
looking for an SSH client that allows xwindows
I've recently started using macOS. I am looking for an SSH client that allows xwindow tunneling through SSH. As suggested, I've installed Xquartz via brew but whenever I try opening an xwindow based app like gvim or Firefox, I get an error like this: `E233: cannot open display` I'm logging into the...
I've recently started using macOS. I am looking for an SSH client that allows xwindow tunneling through SSH. As suggested, I've installed Xquartz via brew but whenever I try opening an xwindow based app like gvim or Firefox, I get an error like this: E233: cannot open display I'm logging into the host like this: ssh -X user@domain . I've also tried replacing the -X with -Y but it makes no difference at all. I've tried this with native terminal, iterm2 and termius. The latter two are great but they lack this very important feature that allows me to open things like Firefox and gvim directly from the terminal. Using putty is out of the question as it seems that it is no longer supported. Perhaps I am doing it wrong. Looking for tips/advice etc
Skegg (181 rep)
Jan 29, 2023, 06:43 AM • Last activity: Feb 1, 2023, 06:44 AM
0 votes
0 answers
325 views
What would be the practical implications of trying EXWM (Emacs Window Manager) in my macOS machine concerning the native macOS applications?
I have been using a Macbook Air M1 for professional reasons and would like to amplify Emacs in my life. I have been searching for the introduction of EXWM in my workflow. Unfortunately, as I started [reading the official documentation][1] I discovered that there are some limitations. In particular:...
I have been using a Macbook Air M1 for professional reasons and would like to amplify Emacs in my life. I have been searching for the introduction of EXWM in my workflow. Unfortunately, as I started reading the official documentation I discovered that there are some limitations. In particular: > Note that EXWM cannot manage native macOS applications at all, only X11 applications will be managed. This worries me. After following the instructions on this source , I found some of the native macOS applications I have been currently using: enter image description here You can see important stuff for my workflow. Like, "zoom" (used for professional meetings). Or karabiner-elements (heavily used by me to Emacsfy my macOS experience). What are the practical implications of trying EXWM on my machine? For instance, will Emacs hang if I try zoom? Obs.: I was in doubt about opening this question in emacs.stackexchange or here. I opened it there and someone suggested posting it here.
Pedro Delfino (325 rep)
Jan 26, 2023, 12:38 AM
2 votes
0 answers
890 views
MacOS can't display an open3d window from remote server,GLX_ARB_create_context_profile is unavailable
## Problem Device and OS version: MacBook Pro 2021 Apple Silicon 13.0.1 (22A400) The remote server can't forward open3d window to my Mac the codes are as follows: ```python import copy import numpy as np import open3d as o3d if __name__ == "__main__": print("Testing mesh in open3d ...") mesh = o3d.i...
## Problem Device and OS version: MacBook Pro 2021 Apple Silicon 13.0.1 (22A400) The remote server can't forward open3d window to my Mac the codes are as follows:
import copy
import numpy as np
import open3d as o3d

if __name__ == "__main__":

    print("Testing mesh in open3d ...")
    mesh = o3d.io.read_triangle_mesh("a.obj")
    print(mesh)
    print(np.asarray(mesh.vertices))
    print(np.asarray(mesh.triangles))
    verts = np.asarray(mesh.vertices)
   
    mesh.vertices = o3d.utility.Vector3dVector(verts)
    mesh.compute_vertex_normals()
    mesh.paint_uniform_color([0.6, 0.1, 0.5])

    cords = o3d.geometry.TriangleMesh.create_coordinate_frame()
    o3d.visualization.draw_geometries([mesh])
note that a.obj is a testfile for helping test X11 Forwarding the raised error is:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[Open3D WARNING] GLFW Error: GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable
[Open3D WARNING] Failed to create window
[Open3D WARNING] [DrawGeometries] Failed creating OpenGL window.
## Background I have added the following two lines in my ssh configuration file on Mac
ForwardX11 yes
ForwardX11Trusted yes
and added the following command in my .bashrc file on Mac
export DISPLAY=:0
I'm using XQuartz 2.8.4 to receive remote GUI, and I can display the clock on my Mac by using xclock on the remote server terminal normally # What I Want I asked others, I know that **mobaxterm** can display open3d window normally, but it's a windows software, and Mac can only use **XQuartz** to display GUI of the remote server. so how can I display the open3d window on Mac by XQuartz?
dingangui (21 rep)
Jan 9, 2023, 01:12 PM • Last activity: Jan 9, 2023, 01:13 PM
Showing page 1 of 20 total questions