-
Senior Member
registered user
unable to lookup mybox via gethostbyname()
I have remastered Knoppix 3.8. It works great from CD with all the customizations that I made. However, when I installed it on HD, KDE won't allow me in. It accepts my password but don't allow me in. It keeps showing me kdm logon screen. I selected the command line option and started X with no problems. I got this mail message:
************************************************** ***************************************
To: root@Knoppix
From: root@Knoppix
Subject: *** SECURITY information for mybox ***
mybox : Apr 8 02:34:13 : root : unable to lookup mybox via gethostbyname()
************************************************** ****************************************
Does any body know what does this mean? And how to solve it?
-
Hi knopx4me,
I don´t know if it helps, but during the development of the script for remastering the knoppix HD install I have faced this trouble and I discovered, for the 3.7 version at least, that the problem is due to the hostname. In your case I´ve seen you call it mybox and the internal routine 45xsession expects it to be named knoppix. I solved this problem, in my script, changing the following, which you could try on your chrooted environment (problably /knxsource/KNOPPPIX/KNOPPIX):
1 - On the /home/yourname directory I deleted the hidden files >DCOPserver.... If your home is, for instance, /home/knopx4me, do this (on a terminal, logged as su): rm -f /home/knopx4me/.DCOP*
2 - Edit /etc/hostname and change whatever name is inside /etc/hostname (problably mybox is there) to knoppix.
3 - Also edit /etc/hosts and change its first line for this: 127.0.0.1 knoppix localhost.
That´s it! Now produce the compressed file KNOPPIX and the iso image and burn it.
Cheers!
-
Senior Member
registered user
nelsongs
Thanks very much for help. I got it working now by going back to the last working copy. I always keep a copy of the last working iso to revert to it when I stuck with such a problem.
Similar Threads
-
By Joe Soap in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-23-2005, 09:04 PM
-
By hnugz in forum Hardware & Booting
Replies: 2
Last Post: 01-10-2004, 12:43 PM
-
By r3c3 in forum Networking
Replies: 1
Last Post: 09-10-2003, 03:41 PM
-
By Phredd in forum Customising & Remastering
Replies: 4
Last Post: 03-07-2003, 07:48 PM
-
By xdamnx in forum General Support
Replies: 0
Last Post: 02-25-2003, 09:19 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

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99

NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW
$599.40

HP ProLiant BL460c Gen9 CTO Blade Server Chassis 727021-B21 Barebone
$39.99

Dell Poweredge C6400 24x 2.5’’ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99

Dell R740XD VxRail P570 24x 2.5” 2U CTO Server– 2x Gold 6240, H740p, 2x 1600W
$699.00

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Empty Chassis XJ6VP
$149.99

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD
$349.99

Dell PowerEdge FX2 FC630 Blade 4*Slot Server Chassis Enclosure NO BLADES/PSU/CMC
$199.97