Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-02-2018, 12:53 AM   #1
LQ Newbie
Registered: Oct 2017
Location: patna,bihar,india
Distribution: kali,windows 10
Posts: 13

Rep: Reputation: Disabled
Question 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 :-
[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 :-
 [root@hacker fluxion]# git clone
.Then after opening the fluxion directory i am executing the "" script to start the installation (as the root user ).
AND am encountering an ERROR with the following text:-
[root@hacker fluxion]# ./ 
The script failed to initialize an xterm test session.
i have already tried checking the following solution mentioned in
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 .

Last edited by achintyahacker; 01-02-2018 at 12:58 AM.
Old 01-02-2018, 07:04 PM   #2
Registered: Mar 2008
Posts: 18,567

Rep: Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780
Can you start the command xterm under root?
Old 01-03-2018, 04:05 PM   #3
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 28
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

Last edited by _roman_; 01-03-2018 at 04:06 PM.
1 members found this post helpful.
Old 01-04-2018, 11:13 PM   #4
LQ Newbie
Registered: Oct 2017
Location: patna,bihar,india
Distribution: kali,windows 10
Posts: 13

Original Poster
Rep: Reputation: Disabled

Originally Posted by jefro View Post
Can you start the command xterm under root?
while running xterm as root following error occurs :-

[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")
Attached Files
File Type: txt fluxion.txt (34.8 KB, 97 views)

Last edited by achintyahacker; 01-06-2018 at 09:49 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error opening xterm as root brianL Slackware 26 04-30-2015 11:46 AM
/usr/bin/xterm Xt error: Can't open display: %s windstory Linux - Newbie 15 06-11-2014 04:55 PM
OPENNMS INSTALLATION ERROR -install –disU –l /usr/lib/jni:/usr/lib ramecare Linux - Server 4 07-11-2011 01:06 PM
opennms installation error -install –disU –l /usr/lib/jni:/usr/lib ramecare Linux - Server 2 07-08-2011 11:51 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration