-
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW
$1.39

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Samsung 64GB DDR4 ECC PC4-2666V SERVER MEMORY( M386A8K40CM2-CTD6Y)
$329.99

SK hynix 64GB DDR4‑2666 ECC Server Memory (HMAA8GL7AMR4N‑VK)
$329.99

Samsung (8X32GB) 256GB 2Rx4 PC4-2933Y-RB2-12 Registered ECC Memory DDR4
$1649.99

Samsung 16 Gb Ddr 4-3200 Laptop Memory
$50.00

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00