--
You received this message because you are subscribed to the Google Groups "Robotium Developers" group.
To post to this group, send email to robotium-...@googlegroups.com.
To unsubscribe from this group, send email to robotium-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotium-developers?hl=en.
I have also seen errors occur in tests while running with "-no-window",
and not just with Robotium tests.
Running the emulator without "-no-window" fixed the problem.
Of course, on all systems it's not possible to show the emulator window
(e.g. headless Linux systems), so therefore I use Xvnc to create a fake
X server, which does allow me to display the emulator window, even on
headless build machines.
More precisely, I use the Android Emulator plugin and Xvnc plugin for
Jenkins to do this automatically for me: http://bit.ly/e80cwR
Regards,
Chris
Hopefully that helps.
Regards,
Chris
On 21/04/2011 06:06, Bubbleware Technology wrote:
> Hey Chris, thanks again for the advice but I think I'm missing
> something setting this up as you suggested.
>
> I installed the Hudson Xvnc plugin as suggested. I configured the
> system by logging in as Hudson on my device and installing vnc-server
> then running vncserver to create& set up a password. I then killed
I just checked my Jenkins setup and my ~/.vnc/passwd file is indeed
empty. But I have a feeling that I solved this another way...
In the Jenkins main configuration page, I have this set as my Xvnc
command line:
/usr/bin/env Xvnc :$DISPLAY_NUMBER -localhost -geometry 1280x1024 -depth
24 -SecurityTypes None
I believe setting SecurityTypes to None should do the trick.
Regards,
Chris
On 27/04/11 04:12, Bubbleware Technology wrote:
> Thanks so much for your response. Unfortunately, I think I may be
> confused by what you intended to be done by your last message.
>
> Specifically, I tried navigating to my .vnc/passwd file under the user
> Hudson and removing its contents. I still get this same error in my
> console output. Likewise I tried navigating to my .vnc/passwd file
> under the root user and removing its contents. Other ways I tried
> were simply removing that file and re-running the "vncserver" command
> (both as root& hudson). None of these methods seemed to solve this