-
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

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

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

Lot of 5 Samsung PM9B1 256GB M.2 2280 PCIe Gen4 x4 NVMe SSD MZVL4256HBJD SSD
$200.00

New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$89.99

RAM-GDS-DOCK-SAM88CPU RAM GDS® Tough-Dock™ for Samsung Tab A9+
$174.99

NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77

Samsung 24" S3 Essential IPS 100Hz Monitor | Sealed | Fast shipping
$50.00