-
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

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00

Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID
$24.43

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00