LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Error: Can't open display: xxx.xxx:0 when running X app (https://www.linuxquestions.org/questions/linux-networking-3/error-cant-open-display-xxx-xxx-0-when-running-x-app-443485/)

vibbizz 05-10-2006 10:53 AM

Error: Can't open display: xxx.xxx:0 when running X app
 
Hi,

Am running OpenSuSE 10 on my laptop connected to my University network. I would like to run an X application from a server on campus.

I can connect to the server no problem using telnet (ssh doesn't appear to work), but get the error "Error: Can't open display: xxx.xxx:0" when I try to exectue the app.

I have tried using xhost to add the server to the allowed list to no avail.

I have tried setting DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes" in /etc/sysconfig/displaymanager to no avail.

What else could be causing the problem?

Thanks in advance,

Lew

fraz 05-10-2006 11:38 AM

it is not possible to do this with telnet as far as I know, it can't forward X. you need to use ssh with the option -X but since you say ssh doesn't work you are a bit stuck, unless you can use vnc to share the desktop.

vibbizz 05-12-2006 11:00 AM

Thanks - have got it working using rsh. Spent a good few hours faffing and swearing, only to find I needed to open a port in the firewall.

Doh.

Lew


All times are GMT -5. The time now is 06:10 PM.