1838105 Members
3744 Online
110124 Solutions
New Discussion

remote xserver display

 
bassey essien_2
Occasional Contributor

remote xserver display

iam trying to set up xterm on my pc, i do
not intend to connect thru exceed, what xterm
server should i connect to.i ran this command:
# remsh < servername> /usr/bin/x11/xterm -display < :0.134.11.238.213
Error message reads "unknown host".
Any idea will help.
thanks.
unix
2 REPLIES 2
Curtis Larson
Trusted Contributor

Re: remote xserver display

the :0 or :0.0 comes after the hostname/ip address in the display definition
Dan Hetzel
Honored Contributor

Re: remote xserver display

Hi Bassey,

You should use:
# xhost + server_name
# remsh server_name /usr/bin/x11/xterm -display 134.11.238.213:0.0


Another possibility would be to use xon, like in:
alias myhost='xon myhost /usr/bin/X11/dtterm -name myhost -ls'

This will open a 'dtterm' window (replace with xterm if you want) and properly set the DISPLAY variable in that new window.
Nevertheless, make sure your DISPLAY variable is set properly before the call to 'xon'
The 'xhost +' is handled automatically.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com