Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys,
I have decided to start my journey in Linux and of course i have already faced several issues that i was able to resolve myself.
But this one is driving me crazy.
I have the latest version of Kali linux and i have installed the latest version of Zenmap as well.
But when I try to launch it with sudo zenmap i recieved this error:
Could not import the zenmapGUI.App module: 'No module named gtk'.
I checked in these directories:
/usr/bin
/usr/share/offsec-awae-wheels/idna-2.9-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/ply-3.11-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/chardet-3.0.4-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/PySocks-1.7.1-py27-none-any.whl
/usr/share/offsec-awae-wheels/enum34-1.1.10-py2-none-any.whl
/usr/share/offsec-awae-wheels/backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/requests-2.23.0-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/urllib3-1.25.9-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/colorama-0.4.3-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/soupsieve-1.9.5-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/beautifulsoup4-4.9.1-py2-none-any.whl
/usr/share/offsec-awae-wheels/certifi-2020.4.5.1-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/pycparser-2.20-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/six-1.15.0-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/pyOpenSSL-19.1.0-py2.py3-none-any.whl
/usr/share/offsec-awae-wheels/ipaddress-1.0.23-py2.py3-none-any.whl
/usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl
/usr/share/cffi-wheels/py-1.8.1-py2.py3-none-any.whl
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.6/site-packages
If you installed Zenmap in another directory, you may have to add the
modules directory to the PYTHONPATH environment variable.
I have tried everything : apt full-upgrade, apt update, apt-get dist-upgrade but nothing.
Is there someone that can help me out with this problem?
By default, sudo uses a small subset of your environment. Python paths are most likely not included in that subset, which probably explains your problem.
I would first confirm that the error does not occur without sudo. If that is so, configure sudo so that it does contain the Python paths.
I have decided to start my journey in Linux (...)
I have the latest version of Kali linux
Stop right there.
You need to get aquainted with a more newbie friendly Linux distribution first.
Here's what Kali Linux' developers have to say about it:
Quote:
Is Kali Linux Right For You?
As the distribution’s developers, you might expect us to recommend that everyone
should be using Kali Linux. The fact of the matter is, however, that Kali is a
Linux distribution specifically geared towards professional penetration testers
and security specialists, and given its unique nature, it is NOT a recommended
distribution if you’re unfamiliar with Linux or are looking for a general-purpose
Linux desktop distribution for development, web design, gaming, etc.
Even for experienced Linux users, Kali can pose some challenges.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.