elguapotaco,
This may be more of of an X11/Ubuntu issue than a setup issue. I have not experienced this error in running setup for a 14.04 sensor.
You could try taking a look here:
http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/
Thanks,
Wes
Thanks Wes. When you say you have not experienced this issue do you mean when utilizing the SO iso or installing on top of a vanilla Ubuntu 14.04.3 release? I ask because I have blown away both server and sensor multiple times now and run into the same issue - so at this point I'm doubting that following the instructions on the wiki for a prod install will get anyone to a working server/sensor deploy.
I did check out the link you provided however it unfortunately did not help. The below got me a bit closer but still no working setup.
Hi Doug,
I'm running fresh installs of Ubuntu 14.04.3 server x64 for both server and sensor.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
This occurs on the sensor for me right after choosing options and telling sosetup to make changes. I get the gui status bar that stops on "Please wait while creating Sguil sensor(s) and in the terminal it asks for the password for the sensor user I setup (after displaying the X11 error, see below). Again, I can ssh to the server using the sensor user that is setup so the creds are correct. I think Wes is correct in that this has something to do with xauth but I haven't been able to figure it out yet obviously. Was hoping someone else might be able to replicate or has seen this before with the new release.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
(xfce4-terminal:3512): Gtk-WARNING **: cannot open display: localhost:10.0
The authenticity of host '10.200.2.252 (10.200.2.252)' can't be established.
ECDSA key fingerprint is e5:f4:78:9b:b3:3c:50:c1:3f:4a:11:f7:83:fa:9c:12.
Are you sure you want to continue connecting (yes/no)? yes
dirty...@10.200.2.252's password:
dirty...@10.200.2.252's password:
I just tried twice using fresh installs of Ubuntu 14.04.3 and installing via PPA and am running across the same error (it seems it only applies to sensor configuration, where it prompts to accept the key and enter the password for the sensor account). I think I might have come across it in the past with 12.04 once or twice. It seems as though it can't handle/populate the additional display, in addition to the already present sosetup display window. If you hit 'Ctrl+C' a few times after the above error, the display will pop up and prompt for the password, then disappear and nothing else happens, as sosetup appears to be cancelled by that point.
I've currently and in the past have been using Xming with localhost:0.0 configured in Putty to forward the SSH.
I also tried messing around with the $DISPLAY variables, but was not able to get it working properly.
Thanks,
Wes