LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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 :-
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 .

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

Rep: Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583Reputation: 2583
Can you start the command xterm under root?
 
Old 01-03-2018, 04:05 PM   #3
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: SLACKWARE 96 -> SUSE 6.2 & REDHAT -> Gentoo & ARCH-Linux & Linux-Mint
Posts: 290

Rep: Reputation: Disabled
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
achintyahacker
LQ Newbie
 
Registered: Oct 2017
Location: patna,bihar,india
Distribution: Fedora 26, kali , debian , windows 10
Posts: 8

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by jefro View Post
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")
Attached Files
File Type: txt fluxion.txt (34.8 KB, 4 views)

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 PM.

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