In this article we will show some quick fixes for the new Backtrack 4 Beta version. As you may know the new Backtrack 4 is based on Ubuntu and it is running on KDE v3.5.
References:
http://backtrack4.blogspot.com/
Issue #1:
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY CB2F6C86F77B1CA9
W: You may want to run apt-get update to correct these problems
Fix #1:
gpg –keyserver keyserver.ubuntu.com –recv CB2F6C86F77B1CA9
gpg –export –armor CB2F6C86F77B1CA9 | apt-key add -
Issue #2:
apt-get upgrade breaks BT4 Beta KDE
Fix #2:
cd /etc/alternatives/
mv x-session-manager x-session-manager-broke
ln -s /usr/kde3/bin/startkde x-session-manager
cd /opt/kde3/share/
mv applications borked-applications
mv pixmaps borked-pixmaps
mkdir -p /usr/local/share/applications/kde
cp borked-applications/kde/ksnapshot.desktop /usr/local/share/applications/kde
ln -s /usr/local/share/pixmaps pixmaps
ln -s /usr/local/share/applications applications
cd /opt/kde3/share/icons/crystalsvg/16×16/apps/
ln -s cache.png preferences-web-browser-cache.png
cd /opt/kde3/share/applications/kde
cat ksnapshot.desktop |grep -v ^GenericName > ksnapshot.desktop1
mv ksnapshot.desktop1 ksnapshot.desktop
Thanks to muts for the temp solution
Issue #3:
Nikto missing from /pentest/scanners/nikto
root@bt:/# cd /pentest/scanners/nikto/
bash: cd: /pentest/scanners/nikto/: No such file or directory
Fast-Track issue also:
Updating Nikto…
/bin/sh: ./nikto.pl: not found
Fix #3:
mkdir /pentest/scanners/nikto
ln -s /usr/bin/nikto /pentest/scanners/nikto/nikto.pl
Issue #4:
Change BT4 Beta Screen Resolution
Fix #4:
On terminal type: krandrtray and the screen resize and rotate tray icon will appear on the low right corner to let you configure your screen resolution
Issue #5:
Can’t connect to wire/wireless network
Fix #5:
Method 1:
/etc/init.d/networking start
Method 2: (Manual way)
ifconfig eth0 up
dhclient
Also be sure to start the Network Manager daemon
/etc/init.d/NetworkManager start
Issue #6:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Fix #6:
1. sudo ln -s /etc/mysql/my.cnf /etc/my.cnf
2. /etc/init.d/mysql restart
Issue #7:
ERROR 1 (HY000): Can’t create/write to file ‘/tmp/#sql_37ed_0.MYI’ (Errcode: 13)
Fix #7:
1. chown root:root /tmp
2. chmod 1777 /tmp
3. /etc/init.d/mysql start



















































yaasien






April 22, 2009
Nice job, thanks for posting this.
[Reply]
April 23, 2009
TNX MAN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Reply]
May 19, 2009
thanks for this brother its very usefull for me
[Reply]
May 26, 2009
Graciasssss, no saben cuanto les agradezco, necesitaba cambiar la resolución del BKT4
[Reply]
March 26, 2010
Hi,
I say you have done a great job! Although it’s a bit old, it STILL applies for the final version of BT.
Cheers! TO YOU..
[Reply]
April 14, 2010
I have an issue too
I am using Dell Studio XPS 1645 ( Core i7, 4 GB DDR3, ATI 4670 )
The issue is, when I try to boot my system with a BT4-Beta CD, the startx function doesnt work.
It says ” No Screens ”
How do I fix this..?
Is it pre-fixed in BT4 – Final
Thanks in advance
[Reply]
Dark Reply:
May 15th, 2010 at 5:44 pm
use the command “fixvesa”
Unfortunately there is another problem about our notebook: the wifi card needs a proprietary driver that i’m not ablo to install.
[Reply]