Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 48 characters in body
Source Link
daisy
  • 55.9k
  • 80
  • 253
  • 402

I'm running a Ubuntu server in VMWare. And I would like to forward the X11 from the Ubuntu guest to the Mac host.

I've installed XQuartz 2.7.9 (xorg-server 1.17.4) on the Mac host.

And SSH forwarding on the Ubuntu is enabled.

Then I tried the following in iTerm:

%> echo $DISPLAY /private/tmp/com.apple.launchd.mjxVyILVrR/org.macosforge.xquartz:0 %> ssh -X root@xxxx # echo $DISPLAY # gnome-terminal Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display 

$DISPLAY is empty, and X11 forwarding is not working.

Any ideas?

I'm running a Ubuntu server in VMWare. And I would like to forward the X11 from the Ubuntu guest to the Mac host.

I've installed XQuartz 2.7.9 (xorg-server 1.17.4) on the Mac host.

Then I tried the following in iTerm:

%> echo $DISPLAY /private/tmp/com.apple.launchd.mjxVyILVrR/org.macosforge.xquartz:0 %> ssh -X root@xxxx # echo $DISPLAY # gnome-terminal Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display 

$DISPLAY is empty, and X11 forwarding is not working.

Any ideas?

I'm running a Ubuntu server in VMWare. And I would like to forward the X11 from the Ubuntu guest to the Mac host.

I've installed XQuartz 2.7.9 (xorg-server 1.17.4) on the Mac host.

And SSH forwarding on the Ubuntu is enabled.

Then I tried the following in iTerm:

%> echo $DISPLAY /private/tmp/com.apple.launchd.mjxVyILVrR/org.macosforge.xquartz:0 %> ssh -X root@xxxx # echo $DISPLAY # gnome-terminal Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display 

$DISPLAY is empty, and X11 forwarding is not working.

Any ideas?

Source Link
daisy
  • 55.9k
  • 80
  • 253
  • 402

X11 forwarding to Mac does not work

I'm running a Ubuntu server in VMWare. And I would like to forward the X11 from the Ubuntu guest to the Mac host.

I've installed XQuartz 2.7.9 (xorg-server 1.17.4) on the Mac host.

Then I tried the following in iTerm:

%> echo $DISPLAY /private/tmp/com.apple.launchd.mjxVyILVrR/org.macosforge.xquartz:0 %> ssh -X root@xxxx # echo $DISPLAY # gnome-terminal Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display 

$DISPLAY is empty, and X11 forwarding is not working.

Any ideas?