Umm, why would you want to use telnet in the first place ?
ssh is safer and it is handy also in places where you don't need security.
Hi Gurus,
I just installed Knoppix 3.3 on my HDD. It works incredibly well, but I have a problem with the security level. I do use Knoppix to connect on other unix servers (Sun, HP, ...) and develop on those machines. The trouble is that a telnet works ok but I can't run any graphical interface because of DISPLAY not reachable. However, I have defined and exported the DISPLAY as found in 'ifconfig'. I have also enabled external display through 'xhost +'. Finally, I've found in /etc/hosts.allow and /etc/hosts.deny that the config was set up as 'PARANOID'. I've renamed both files (according to the man page, lack of file opens the connection). As long as I do not run a server but a workstation, security is not a major constraint for me. I'm missing a config file somewhere to enable DISPLAY to pass through but where. While testing, I realized that even assigning the IP address to the user knoppix (rather than the hos name) causes the same problem.
Could anyone help on this ?
TIA,
Pierre
Umm, why would you want to use telnet in the first place ?
ssh is safer and it is handy also in places where you don't need security.
Good question I didn't ask myself, but I assume it would make no difference in the current situation: graphical apps can't open the display and do abort. You could test it youself:Originally Posted by windos_no_thanks
1) 'ifconfig' to determine your IP address
2) export DISPLAY=IP address:0.0 (192.168.1.10:0.0 for example)
3) 'xclock' returns Error: Can't open display: ...
Any idea?
TIA,
Pierre
You are looking for the setting nolisten tcp in the file /etc/kde3/kdm/Xservers if you are doing this in KDE.Originally Posted by pierrevn
[edit]
You would have to restart kdm for the changes to take effect with /etc/init.d/kdm restart as root this best done from a console login unless you want to lose any unsaved work when KDE re-starts.
[/edit]
Thanks to you, Stephen: I removed this 'nolisten tcp' from the file and it works now as I expect. Great!
Cheers,
Pierre
I see you already got it working but using ssh should have made a difference. Using the -X switch (by default on in knoppix so you usually don't need to specify it) ssh forwards theOriginally Posted by pierrevn
X connections through the encrypted pipe. The application on the remote machine thinks
it is using a display on the same machine, your X-server also thinks the application is on the
same machine as itself and everyone is happy.
14" Lenovo ThinkPad Laptop: Intel i5 Quad Core 16GB RAM 1TB SSD Windows 11
$249.95
Lenovo 100e Laptop PC Computer 11.6" Windows 10 Celeron 4GB RAM 64GB SSD
$74.99
Lenovo IdeaPad 1 Laptop, 15.6" FHD 60Hz, i5-1235U, 8GB, 256GB SSD
$330.95
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1369.99
Lenovo ThinkPad E14 Gen 2 14-inch i5-1135G7 8GB 256Gb SSD Win 10 Pro No AC Grd C
$139.99
Lenovo IdeaPad Pro 5i 16" WQXGA 120Hz Laptop i7-13700H 16GB RAM 1TB SSD RTX 3050
$769.99
Lenovo Loq 15Irh8 15" Laptop Core i5-13420H GeForce RTX 2050 16GB 512GB SSD W11H
$619.99
Nice Lenovo X1 Carbon i7-8650U 1.9GHz 16GB 512GB QHD 2560x1440 Strong Battery
$319.00
Lenovo Thinkpad T14 i5-10310U 1.7GHz 16GB Ram 512GB NVMe WIndows 11 Home
$289.99
Lenovo Slim 7 Carbon Intel -i7 1260P 16GB 1TB SSD 13.3 (2560x1600) Touch Laptop
$678.99