PDA

View Full Version : Experiences with Building KDE Kali x86



charonsecurity
2013-03-19, 04:29
Hi All.
So I built the KDE x86 Version of Kali using the Documentation within the Kali environment. I have also uploaded a torrent (http://charonsecurity.com/i386_KDE_KALI_LINUX_32BIT.iso.torrent)for those who wish to just grab it instead of doing it them selves. With that I would like to share some of the issues and solutions I have come across.

The build goes nicely. Installing to a USB via win32disk imager also goes nicely. Being able to boot from the USB works well. After this, from the Official Gnome Release compared to the build, we run into some issues. The most glaring is networking appears to be disabled on the live USB. However, I haven't really played with the LiveUSB and decided to directly install it to my system (Dual Booting with Windows 7).

Once installed, wired networking is working. However, there is no GUI option for connecting to wireless network.
First some prerequisites: Star off using a wired connection.
The Sources.list must be updated, as the build only includes one entry oO. Use this page for a guide. http://wiki.debian.org/Derivatives/Census/Kali
Then apt-get update and upgrade as necessary.
From there everything becomes easier.

To get wireless working I used Wicd:
apt-get install wicd

Also my sound was muted and had no volume control:
apt-get install kmix

Firefox was missing:
apt-get install iceweasel (Firefox clone with debian support - works, looks, and acts like firefox minus the copyrighted logos)
or
through the synaptic gui search for firefox, and iceweasel will come up

Flash was missing:
apt-get install flashplugin-nonfree
update-flashplugin-nonfree --install

The package manager was missing:
apt-get install synaptic

I suppose everything after is just cosmetic and up to the user as to how they would like to customize the feel and look.

I hope this is useful to someone:) Enjoy!

***
EDIT.
I am discontinuing the torrent on my end, as it seems to be pretty much a dead torrent. Happy to report I've uploaded nearly a TB of ratio. I may make a new KDE with the latest updates torrent some time down the line. ;)

charonsecurity
2013-03-21, 12:38
Hi All.
So a few more updates. I have noticed that Bluetooth was also not working correctly. Took me a while to figure out how to get it fixed and working, though it may be my system specific.
So first I had to install Bluetooth (which was missing some packages) ... Actually lets backtrack a bit to show the steps I took for troubleshooting. (hint: syslog helps very much)

First I ran "rfkill list" to insure there were no blocks.

1: samsung-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

Two things I learned, Kali detects my bluetooth and there are no blocks in place. Good.
So I run the code, "/etc/init.d/bluetooth status" and got the output failed. So I then run the code, "/etc/init.d/bluetooth start" and got a response that bluetooth is now started.
However, I did not see the bluetooth icon I was expecting in the task manager.

So, "apt-get install bluetooth" this installed a bunch of packages that were missing. Still no icon, then I had to, "apt-get install bluedevil". Finally able to get the GUI Icon I've been looking for. From there I was able to find my Device (an android phone) and successfully pair with it. Unfortunately I was not able to send or receive files. The Syslog kept showing what errors, but nothing straight forward as how to repair or fix the situation. Had to use my good friend Google, Not exactly sure where I found the fix, (cause I looked at so many pages) but in short, this is what I had to do to get it working properly:

1. edit /etc/bluetooth/main.conf ---> and add
DisablePlugins=pnat to disable the plugin. (Apparently this has caused many problems for others, though not sure if it is necessary to add or not.)

2. in a terminal use the following commands:

touch /etc/bluetooth/link_key
chmod 644 /etc/bluetooth/link_key
/etc/init.d/bluetooth restart

After that did a reboot of the machine, and now bluetooth is working properly. From their I added it to the startup scripts (optional) as if not you will have to issue the command to start it manually.

anashlali
2013-03-22, 15:24
nice work man.

Nik@S_DaRk
2013-03-22, 17:05
litle help for my frends here is what to do: to create a iso for kali linux 64 bit kde:

apt-get update
apt-get install git live-build cdebootstrap kali-archive-keyring
git clone git://git.kali.org/live-build-config.git

gedit config/package-lists/kali.list.chroot
and delete everything after:


# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the packages of your
# preferred desktop.

and add instead replace it with

# KDE
kali-defaults
kali-root-login
desktop-base
kde-plasma-desktop
kde-full
kdm
wicd-kde

then

cd live-build-config
lb config --architecture amd64
sudo lb build



thks and good luck!!!

just love kali linux!!!!

CodeCompiler
2013-03-22, 18:05
Tnx for a KDE version :)

airwolf3000
2013-03-23, 13:08
Everything its working at my side, after following your advice.

I am not wired connected, just wireless, it took a little time but I was able to get my connection set, before downloaing the wicd:
ifconfig wlan0 down
iwconfig wlan0 mode managed
iwconfig wlan0 essid xxxxxxx (your router's wifi essid)
iwconfig wlan0 channel xx (the channel of Wifi tx)
iwconfig wlan0 key xxxxxxxxx (your key )
ifconfig wlan0 up
dhclient wlan0

Thanks charonsecurty

wernerml
2013-03-24, 05:48
thanks for the making me do this too! (I was afraid that nobody would post a successfull build in here)

I'm simply AMAZED, it's SO MUCH BETTER than that simplist Gnome little thing...
I'm setting up everything for 2 days now, it's getting BEAUTIFUL!!!!

I'm gonna try to install NetworkManager wireless "plugin/tool/taskbar-plugin"??? don't really know what I'll have to install...
(I really HATE wicd...)

latter i'll post the result here!

Edit: (I made the x64 build)

Nik@S_DaRk
2013-03-24, 09:07
and here is the MATE version of kali linux:o
kali linux 64 bit mate:


echo "deb http://repo.mate-desktop.org/debian wheezy main" >> /etc/apt/sources.list
apt-get update
apt-get install mate-archive-keyring
apt-get install git live-build cdebootstrap
git clone git://git.kali.org/live-build-config.git
cd live-build-config
mkdir config/archives
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.binary
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.chroot
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.binary
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.chroot
echo "sleep 20" >> config/hooks/z_sleep.chroot


gedit config/package-lists/kali.list.chroot
delete everything after:


# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the packages of your
# preferred desktop.

and add instead replace it with

# MATE
xorg
mate-archive-keyring
mate-core
mate-desktop-environment

and then

lb config --architecture amd64 or --architecture i386
sudo lb build

airwolf3000
2013-03-25, 03:22
If anybody it's interested in Xfce-4 version i386, amd64 and nonPae:

Check samiux's post at:

http://forums.kali.org/showthread.php?557-HOWTO-Rebuild-Kali-Linux-for-Xfce-4-Desktop

:cool::cool:

twindragon6
2013-03-25, 17:08
and here is the MATE version of kali linux:o
kali linux 64 bit mate:


echo "deb http://repo.mate-desktop.org/debian wheezy main" >> /etc/apt/sources.list
apt-get update
apt-get install mate-archive-keyring
apt-get install git live-build cdebootstrap
git clone git://git.kali.org/live-build-config.git
cd live-build-config
mkdir config/archives
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.binary
echo "deb http://repo.mate-desktop.org/debian wheezy main" > config/archives/mate.list.chroot
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.binary
cp /usr/share/keyrings/mate-archive-keyring.gpg config/archives/mate.key.chroot
echo "sleep 20" >> config/hooks/z_sleep.chroot


gedit config/package-lists/kali.list.chroot
delete everything after:


# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the packages of your
# preferred desktop.

and add instead replace it with

# MATE
xorg
mate-archive-keyring
mate-core
mate-desktop-environment

and then

lb config --architecture amd64 or --architecture i386
sudo lb build
Is there a way to make an Icewm build?

Malachai
2013-03-26, 02:29
See that's what I wanted to build a KDE one... I'm new to the whole building iso and how to do it. I guess I will look around and try to figure it out. is there any easy tut out there you guys went off ?

charonsecurity
2013-03-26, 06:14
Malachi, for me I just followed the instructions from the documentation.
http://docs.kali.org/live-build/live-build-a-custom-kali-iso
http://docs.kali.org/live-build/customize-the-kali-desktop-environment

However, even though it works great, some other have added their own twists to the builds (like adding default packages and such).
I'm not sure where those threads are but I have seen a few how-to's floating around. Might have to search for them.
Hope it helps:)

Su1ph3r
2013-03-26, 13:10
64 Bit build with KDE can be found here (https://mega.co.nz/#!rUMDHTYQ!WtwUx0S5Gp68-MLwkeDUISk57L8F8uXB4Iw-QoY6-SI).

wlan0
2013-03-29, 00:58
Hi All.
So I built the KDE x86 Version of Kali using the Documentation within the Kali environment. I have also uploaded a torrent (http://charonsecurity.com/i386_KDE_KALI_LINUX_32BIT.iso.torrent)for those who wish to just grab it instead of doing it them selves. With that I would like to share some of the issues and solutions I have come across.

The build goes nicely. Installing to a USB via win32disk imager also goes nicely. Being able to boot from the USB works well. After this, from the Official Gnome Release compared to the build, we run into some issues. The most glaring is networking appears to be disabled on the live USB. However, I haven't really played with the LiveUSB and decided to directly install it to my system (Dual Booting with Windows 7).

Once installed, wired networking is working. However, there is no GUI option for connecting to wireless network.
First some prerequisites: Star off using a wired connection.
The Sources.list must be updated, as the build only includes one entry oO. Use this page for a guide. http://wiki.debian.org/Derivatives/Census/Kali
Then apt-get update and upgrade as necessary.
From there everything becomes easier.

To get wireless working I used Wicd:
apt-get install wicd

Also my sound was muted and had no volume control:
apt-get install kmix

Firefox was missing:
apt-get install iceweasel (Firefox clone with debian support - works, looks, and acts like firefox minus the copyrighted logos)
or
through the synaptic gui search for firefox, and iceweasel will come up

Flash was missing:
apt-get install flashplugin-nonfree
update-flashplugin-nonfree --install

The package manager was missing:
apt-get install synaptic

I suppose everything after is just cosmetic and up to the user as to how they would like to customize the feel and look.

I hope this is useful to someone:) Enjoy!



I've download and installed your ISO file, has error with sound. i were Rebuild other ISO KDE x86 and resloved my problem.
p/s: First Remove sound driver on my window 7 first ( Realtek driver), install Kali and Kmix, sound good.

CleanZombie
2013-04-01, 15:00
Just a heads up to those who have problems withe networking via wireless & wired, I performed a clean install making sure my ethernet was connected first and connected to it during the install when prompted click Yes/OK on all options including the one about using a 'mirror' which then once installed and rebooted enabled me to install Wicd and then use the wireless!
Good luck

airwolf3000
2013-04-06, 07:27
For those who are having problems with slow screen, opening Kate or opening any program, causing a delay on the screen, just apply powerdevil, download the file un-tar - does it

you can find the file here for easy access

http://hotfile.com/dl/201756512/b0f37d2/powerdevil-1.4.2-kde4.1.3.tar.bz2.html
-

charonsecurity
2013-04-13, 18:19
I apologize, recently did an overhaul on the server and forgot to add the torrent back (a few weeks ago :0 It's back up now. )

keyboard
2013-05-11, 09:35
litle help for my frends here is what to do: to create a iso for kali linux 64 bit kde:

apt-get update
apt-get install git live-build cdebootstrap kali-archive-keyring
git clone git://git.kali.org/live-build-config.git

gedit config/package-lists/kali.list.chroot
and delete everything after:


# Graphical desktops depending on the architecture
#
# You can replace all the remaining lines with a list of the
# packages required to install your preferred graphical desktop
# or you can just comment everything except the packages of your
# preferred desktop.

and add instead replace it with

# KDE
kali-defaults
kali-root-login
desktop-base
kde-plasma-desktop
kde-full
kdm
wicd-kde

then

cd live-build-config
lb config --architecture amd64
sudo lb build



thks and good luck!!!

just love kali linux!!!!

Followed the official document in Kali site.

the following problem:



The following information may help to resolve the situation:

The following packages have unmet dependencies:
kali-linux-full : Depends: kali-linux but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I tried to resolve it by installing related packages, but at last end with conflict between libopenvas5 and libopenvas6.

anyone has the same problem? and how to solve it?

Thanks.
Building a customized Kali ISO is easy, fun, and rewarding.

Swblk
2013-05-18, 09:25
64 Bit build with KDE can be found here (https://mega.co.nz/#!rUMDHTYQ!WtwUx0S5Gp68-MLwkeDUISk57L8F8uXB4Iw-QoY6-SI).

Sorry, but this link show only error :(

Nik@S_DaRk
2013-05-21, 11:32
Followed the official document in Kali site.

the following problem:



The following information may help to resolve the situation:

The following packages have unmet dependencies:
kali-linux-full : Depends: kali-linux but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I tried to resolve it by installing related packages, but at last end with conflict between libopenvas5 and libopenvas6.

anyone has the same problem? and how to solve it?

Thanks.
Building a customized Kali ISO is easy, fun, and rewarding.

i think i no what the promplem is.....open up your kai.list.chroot with or text editor and delete after # kali meta-package depends on everything we want : kali-linux-full and whatever you have there ,and add this kali-defaults....thks and good luck

keyboard
2013-05-25, 12:36
Really, lb works. Thanks.
I thought kali-linux-full is necessary.

keyboard
2013-05-31, 12:51
Really, lb works. Thanks.
I thought kali-linux-full is necessary.

recent lb with kail-linux-full is ok.

Knightmayre
2013-09-02, 00:36
i cant download your torrent link.... no seeds... its always connecting peers...:confused:

charonsecurity
2013-09-03, 02:26
i cant download your torrent link.... no seeds... its always connecting peers...:confused:

Ah sorry, I'll start seeding again. I stopped a while back cause I was getting less people downloading. Give me a min.

Relto
2013-12-25, 10:13
Hi, i followed the guide and also the steps of Nik@S_DaRk to create a KDE iso of Kali, but at the end of the process "lb build", I ' ve got these errors in the terminal.

" Drive current: -outdev 'stdio:binary.hybrid.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 12.6g free
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/binary'
xorriso : UPDATE : 704 files added in 1 seconds
xorriso : UPDATE : 704 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/syslinux/isohdpfx.bin'
libisofs: WARNING : Can't add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /dists/stable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /dists/testing to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /dists/unstable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/amd64-microcode_1.20120910-2_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/atmel-firmware_1.3-4_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/bluez-firmware_1.2-3_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-adi_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-atheros_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-bnx2_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-bnx2x_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-brcm80211_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-intelwimax_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ipw2x00_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ivtv_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-iwlwifi_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-libertas_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux-free_3.2_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux-nonfree_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-myricom_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-netxen_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-qlogic_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ralink_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-realtek_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/intel-microcode_1.20130906.1_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/prism2-usb-firmware-installer_0.2.9+dfsg-5_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/zd1211-firmware_2.21.0.0-1_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /dists/stable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /dists/testing to Joliet tree. Symlinks can only be added to a Rock Ridge tree .
libisofs: WARNING : Can't add /dists/unstable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/amd64-microcode_1.20120910-2_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/atmel-firmware_1.3-4_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/bluez-firmware_1.2-3_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-adi_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-atheros_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-bnx2_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-bnx2x_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-brcm80211_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-intelwimax_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ipw2x00_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ivtv_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-iwlwifi_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-libertas_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux-free_3.2_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux-nonfree_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-linux_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-myricom_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-netxen_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-qlogic_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-ralink_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/firmware-realtek_0.37_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/intel-microcode_1.20130906.1_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/prism2-usb-firmware-installer_0.2.9+dfsg-5_amd64.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Can't add /firmware/zd1211-firmware_2.21.0.0-1_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.

I' ve also tried to use the iso, but during the install it gives me an error about installing the main system.

Could someone help me ?