LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing Fluxion for pentesting ; installation error || xterm not initialized (as a root usr) (https://www.linuxquestions.org/questions/linux-software-2/installing-fluxion-for-pentesting-%3B-installation-error-%7C%7C-xterm-not-initialized-as-a-root-usr-4175620692/)

achintyahacker 01-01-2018 11:53 PM

installing Fluxion for pentesting ; installation error || xterm not initialized (as a root usr)
 
my working conditions are :-

\\fedora 26 workstation with 8 gb ram and a 2 tb hdd

\\ on running uname -a following information is disclosed :-
Code:

[avatsraj@hacker fluxion]$ uname -a
Linux hacker 4.14.8-200.fc26.x86_64 #1 SMP Wed Dec 20 19:05:23 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

the problem i am encountering is with installing a pentest software/framework called Fluxion .After cloning the files from git hub with the following command :-
Code:

[root@hacker fluxion]# git clone https://github.com/FluxionNetwork/fluxion.git
.Then after opening the fluxion directory i am executing the "fluxion.sh" script to start the installation (as the root user ).
AND am encountering an ERROR with the following text:-
Code:

[root@hacker fluxion]# ./fluxion.sh
The script failed to initialize an xterm test session.

i have already tried checking the following solution mentioned in https://github.com/FluxionNetwork/fluxion/issues/221.
After checking a variety of sources it seems this problem is common to most Linux distributions , though the solution seems to be different for each one.

problems with being unable to initialize xterm have been occurring before too . a solution to the problem will be highly appreciated .

jefro 01-02-2018 06:04 PM

Can you start the command xterm under root?

_roman_ 01-03-2018 03:05 PM

can you post that script please here

have you tried exchanging xterm with something else by hand? xterm is just an old outdated terminal software

xterm is not a requirement to run an X server I had it for years not installed. More a dinosaur in regards of terminals

achintyahacker 01-04-2018 10:13 PM

1 Attachment(s)
Quote:

Originally Posted by jefro (Post 5800804)
Can you start the command xterm under root?

while running xterm as root following error occurs :-

Code:

[root@hacker fluxion]# xterm
No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s

Its for some godforsaken reason is not able to access the display??

plz any help will be highly appreciated.



posted the script:-

(change the file extension to ".sh")


All times are GMT -5. The time now is 11:58 AM.