export display from MAC
Hi,
I am trying to run matlab on a remote mac through my laptop at home, which is a linux-based. I am not able to export the display. Here are the steps I followed. 1. xhost +remotehost 2. Log into remotehost (i.e., the mac machine) 3. export DISPLAY="192.168.2.2:0.0" 4. matlab But I get the following message, "unable to open display 192.168.2.2:0.0" The reason I typed in that ip address in step 3 was that is the ip listed in the "wlan0" block when I typed "ifconfig -a" on my local linux laptop. Your help is appreciated, Thanks. |
Hello,
Could you give us the full output of ifconfig -a from your machine? Also, could you verify that you are using your wireless interface instead of eth0 or such? Cheers, Josh |
Quote:
Code:
eth1 Link encap:Ethernet HWaddr 00:15:58:84:FF:A7 |
Quote:
Code:
/usr/bin/Xorg -br :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/xxxxxx |
Quote:
Code:
68 2230 2219 0 09:53 ? 00:00:00 hald-addon-keyboard: listening on /dev/input/event1 My linux laptop runs on Fedora 7. |
Perhaps your problem is that the MAC OS X version of Matlab is not built to display it's GUI in X Windows and more generally, that Mac OS X has no X display for you access. Mac OS X does not use X. (Though is does ship with an X implementation, which allows you to ssh in to a Linux box with X forwarding enabled so you can run GUI applications on the Linux machine.)
|
Quote:
The "-nolisten" will deny ANY requests made to the X server. Unless you remove it, I'd strongly doubt it would work, no matter what you connect to. Fedora 7 is VERY old...the latest is 14. Upgrading wouldn't be a bad idea, when you can. To get the "-nolisten" to go away, edit /etc/gdm/custom.conf, and add DisallowTCP=false to make gdm listen. If you've got iptables running/firewall in place, and you haven't explicitly unblocked port 6000 in iptables, then it's almost certainly blocked. Edit /etc/sysconfig/iptables and add this line immediately before the line that contains --reject-with icmp-host-prohibited. Code:
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 6000 -j ACCEPT |
All times are GMT -5. The time now is 04:03 PM. |