Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5952

Cannot open GUI applications with XQuartz mac

$
0
0

I am using xquartz to login to an Ubuntu server from a Mac machine. After logging in using ssh -X <username>@<ip> command, I am trying to launch nautilus but it keeps giving the following error:

Unable to init server: Could not connect: Connection refused

(nautilus:14914): Gtk-WARNING **: 14:05:38.090: cannot open display: 0:0

Ideally, xquartz should have set the appropriate display accordingly. But some problem is happening. I also tried the following command:

launchctl load -w /Library/LaunchAgents/org.macosforge.xquartz.startx.plist

but no success.


Viewing all articles
Browse latest Browse all 5952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>