![]() |
Re: forwarding X apps from N800 to desktop
Don't have a windows box available at the moment, but I tried the "export DISPLAY=10.x.x.x:0" on my linux box, and still no joy. $DISPLAY shows that the variable is set right, but it still won't show up.
|
Re: forwarding X apps from N800 to desktop
> The output will be something like:
> xterm Xt error: Can't open display: 10.0.0.126:0 > 10.0.0.126:0 This is easy: Your X client (i.e. the application, like xterm for example) does not have permissions to open the screen on the X server. On the X server, do a "xhost +" (no quotes) This will allow permissions for ANY client to open the display. Still, the DISPLAY variable has to be correctly set like this on the X client side: export DISPLAY=192.168.192.1:0.0 (As a side not, when talking X windows....everything seems "reversed" (aparently), the server is the display and the client are the actual applications, like xterm, xeyes, and others.) Hope this helps. |
Re: forwarding X apps from N800 to desktop
With openSuSE 10.2 I also did "xhost +". No problem from another linux box to the target linux box, but no luck with n800. But with the windows X server it works! There is some deeper problem, but I have neither further ideas nor enough time...
|
Re: forwarding X apps from N800 to desktop
Quote:
The error is expected because 10.0.0.126 doesn't exist on the network. ("xhost +" was done before, also x was started without any xauth-magic that could add additional trouble.) The unexpected and interesting part of the game is that you don't see this error on the 770. Mind you, even if xhost/xauth/... setting were all correct, the IP-address doesnt exist, there's no way to open a display on the remote machine. Still, there's no error and the application runs locally. |
Re: forwarding X apps from N800 to desktop
Quote:
|
Re: forwarding X apps from N800 to desktop
Quote:
Do not log into the N800 via telnet/ssh/whatever from the windows machine but run the "DISPLAY=192.168...." stuff locally in the N800s xterm. From a pure X point of view, this should be the most straightforward way of using a different display. It also corresponds to the setup I tried. The thing when you log in to your N800 remotely is that the remote connection may provide a fake 2nd 'local' display to the N800. "Fake local" means that it looks like a 2nd local display to the N800 but is secretly forwarded to the PC your connection originates via ssh. In this case we're making things more complex which doesn't help finding the cause of the problem. I have reason to believe that the N800 actually ignores whatever IP-address is set in the DISPLAY-variable and only honors the part after the ":". It would be interesting to check this. (It can also be that theres a difference between my 770 and your N800 in this respect after all...) |
Re: forwarding X apps from N800 to desktop
Quote:
|
Re: forwarding X apps from N800 to desktop
Hmmm... I'll try to set $DISPLAY on the n800 xterm, rather than SSH.
But! Remember that xhost+ is a bad idea, except in a controlled environment! Xauth is the way to go, but is a little more complex. The beauty of SSH forwarding is that it is supposed to handle the $DISPLAY variables and "faking" xauth, but in this case it's not working under Xorg's X server, but is working under a Windows X server. Very strange. |
Re: forwarding X apps from N800 to desktop
Quote:
|
Re: forwarding X apps from N800 to desktop
Quote:
BTW: when running suse, did you try to eliminate all sorts of X security stuff such as xauth? it could well be that the two X environments (windows and GNU/linux) are not configured equally... |
All times are GMT. The time now is 10:19. |
vBulletin® Version 3.8.8