-
Remote Display Setup - Knoppix
was able to use ssh -x to call up a xterm from one server to the other. This is not correcting the problem that I'm having.
1) From a RHEL 5.0 server (192.168.222.51) I set the following:
export DISPLAY 192.168.222.50:0.0
2) Execute "xterm" and I get the following error:
xterm Xt error: Can't open display: 192.168.222.50:0.0
3) On the 192.168.222.50 server running Knoppix, I set the following:
xhost + <Enter>
access control disabled, clients can connect from any host
4) Execute "xterm" again from the RHEL server (192.168.222.51) and get the following error:
xterm Xt error: Can't open display: 192.168.222.50:0.0
It seems that I've got some type of firewall or something on the Knoppix system thats stopping these remote displays? Once again ssh is working between the two servers and I'm able to remote a display "xterm window" from the Knoppix server to the RedHat server.
I can't find how this was setup on Knoppix and this problem is also stopping me from not just remoting displays but using telnet.
Thanks,
John
-
Senior Member
registered user
Re: Remote Display Setup - Knoppix

Originally Posted by
johnj123
was able to use ssh -x to call up a xterm from one server to the other. This is not correcting the problem that I'm having.
It seems that I've got some type of firewall or something on the Knoppix system thats stopping these remote displays? Once again ssh is working between the two servers and I'm able to remote a display "xterm window" from the Knoppix server to the RedHat server.
X is default set up under Debian not to listen to TCP. I'm not sure, but maybe the problem is there.
I modified /etc/X11/xinit/xserverrc to just say
and changed /etc/init.d/knoppix-startx in a similar way, omitting the option from the startx line. After that,
Code:
ssh -X -l <username> <servername>
works for me. (From Mandriva, the -X switch in ssh is not necessary.)
I did not have to do ANY xhost+ 'ing or DISPLAY= 'ing to get it to work. (Strange? Dunno.)
-
Senior Member
registered user
Re: Remote Display Setup - Knoppix

Originally Posted by
Capricorny
X is default set up under Debian not to listen to TCP. I'm not sure, but maybe the problem is there.
I modified /etc/X11/xinit/xserverrc to just say
and changed /etc/init.d/knoppix-startx in a similar way, omitting the
option from the startx line. After that,
Code:
ssh -X -l <username> <servername>
works for me. (From Mandriva, the -X switch in ssh is not necessary.)
I did not have to do ANY xhost+ 'ing or DISPLAY= 'ing to get it to work. (Strange? Dunno.)
While this is correct, and probably is relevant under some conditions, it is by no means necessary to run ssh and open X displays - I know now!
Code:
ssh -X -l <username> <servername>
is enough, at least with a Tru64-Unix server. I'll try it out more and report on what I find. Beware that the local Xserver (on your machine) must have the necessary resources to display what the 'client' sends to it. For this reason, I could not start tru64 Emacs remote - some X fonts are missing locally.
Using ssh to run programs on other machines is a great way to avoid installing all kinds of exotic software on the Knoppix box, with the consequential need for extra infrastructure...
Similar Threads
-
By johnj123 in forum General Support
Replies: 0
Last Post: 03-29-2009, 10:31 PM
-
By chaoswings in forum General Support
Replies: 2
Last Post: 12-07-2008, 01:55 AM
-
By HisHighness in forum General Support
Replies: 1
Last Post: 02-10-2008, 03:30 AM
-
By ewangr in forum Hardware & Booting
Replies: 7
Last Post: 11-03-2004, 03:57 AM
-
By Kethinov in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 12-21-2003, 10:23 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SK Hynix 1TB PC801 M.2 NVMe PCIe Gen4x4 2280 SSD
$100.00

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47

External Solid State Drive USB 3.2 Gen2, 1TB SSD External Hard Drive with C to A
$100.00

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro
$330.73