Link to home
Start Free TrialLog in
Avatar of ssk77
ssk77

asked on

checking for xauth... no, configure: error: configuring with X but xauth not found - aborting

Hello Experts,

I am trying to install ssh (tried both ssh1 & ssh2) on Cobalt Linux release 6.0 and got the below error while running the. /configure.
checking for xauth... no
configure: error: configuring with X but xauth not found  aborting
xauth is not in /usr/X11R6/bin/ and couldnt find in other paths
I also tried. /configure without x, the configure completed without errors but got error when executed the make.
The purpose of installing ssh is coz our customer implemented the ssh and sent us public key asking to setup sftp on our ftp server. Understood that to have sftp - need ssh1 or ssh2 and if install ssh2 then sftp comes with it, correct me if I am wrong.

Appreciate your advice on this.

Thanks,
ssk77

Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Make sure PATH in your environment includes /usr/X11R6/bin. Also make sure you can execute /usr/X11R6/bin/xauth
Avatar of ssk77
ssk77

ASKER

Hi Duncan,

thanks for quick reply..
xauth is not in path /usr/X11R6/bin.  
anyway i have included /usr/X11R6/bin/  in env PATH but still same error.

[root ssh-2.0.13]# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/include/X11:/usr/lib/X11:/usr/X11R6/bin
additional info:
 i am trying to install ssh-2.0.13.tar.gz. Is this right ssh version for Cobalt Linux release 6.0 (Shinkansen-Decaf) Kernel 2.2.16C33_III on an i586. if not, from where can I dowload the correct version.

thanks,
ssk77



SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also try "locate xauth"
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ssk77

ASKER

Sorry for a bit late reply&
I was busy with other Producion issues.
If dont mind, how excatly the sftp works.
Do I need to genarate the pub key and send it our partner.
I have placed pub key that we recieved from partner in  user's  home/.ssh2
how to test the connectivity using the sftp.
 
Hi Duncan,

I checked for xauther but I found xauther.h, I was not sure whether it is the one.
Anyway, I have add it in env PATH and re-run the configure. The result is the same- aborting.
So I tried without x ie ./configure without x and the configure completed. Also run make, to my surprise it didnt abort&no errors. So I executed make install  No errors.
I think ssh installed successfully. Then run the sshd daemon.
I am not sure what the implications are by executing --without x in future. Please advice.

Hi gheist,

Thanks for the detailed explanation and advices&
Can I know the procedure to start the ssh using the chkconfig

Below are the results:
which sshd
/usr/local/sbin/sshd
[root users]# which rpmbuild
/usr/bin/which:no rpmbuild in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin)
[root users]# which rmp
/usr/bin/which: no rmp in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin)

[root users]# which chkconfig
/sbin/chkconfig

Attached is the output of dmesg. Couldnt run the lscpi as it is not in the system.
ok, we will advice our customer to upgrade the server.

Thank you.




dmesg.txt
1) You have ssh server installed.
2) You mistyped rpm

I'd guess '/etc/init.d/sshd start' will do the thing.
chkconfig sshd on will make change permanent.

You have 20GB IDE HDD and 256MB of ram, so you can run about anything Linux or UNIX even today.
BUT it will be tricky to attach IDE CD-ROM to free IDE port on mainboard and you may end up installing over serial.

Linux kernel 2.6.x does support all of cobalt-specific hardware in your dmesg.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial