cant open an xterm onto a remote Kubuntu box

Asked by jimbo320

Hi, i have two Edgy installs of Kubuntu 6.10 with the AMD64 distro.
Ive set up ssh on both boxes, it works fine and i can Konsole them.
Id like to run applications one box ie xwindows and display them on the client xserver. Can i do this with ubuntu?
I tried
export DISPLAY =192.168.0.4:0
and i get
jamesc@asus64:~$ export DISPLAY 192.168.0.4:0
-bash: export: `192.168.0.4:0': not a valid identifier
xterm &
or

jamesc@epox64:/usr/share$ xhost 192.168.0.4
192.168.0.4 being added to access control list
jamesc@epox64:/usr/share$ xeyes

jamesc@epox64:/usr/share$ xeyes -display 192.168.0.4:0

jamesc@epox64:/usr/share$ xeyes -display 192.168.0.4:0 &
[1] 9146
jamesc@epox64:/usr/share$ Error: Can't open display: 192.168.0.4:0

Can you help?

I cant find a wiki on this topic.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Alan Pope 🍺🐧🐱 🦄
Solved:
Last query:
Last reply:
Revision history for this message
Best Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

From host1, can you do "ssh -X host2" (assuming /etc/ssh/sshd_config on host2 has "X11Forwarding yes") and then run your x app on host2 in that ssh session? No manipulation of DISPLAY variable required.

Revision history for this message
jimbo320 (caspertype) said :
#2

User confirmed that the request is solved.