← Back to team overview

sikuli-driver team mailing list archive

[Bug 1480289] [NEW] Sikuli's fails to find the image on screen when launched as root user.

 

Public bug reported:

This is a very strange problem. Please see the following.

1. The same script finds the image when launched from terminal of local
user.

2. Do "sudo su" to become root user and launch the script: The scripts
works fine.

3. Do "sudo su -" to become root user and launch the script: The script
fails to find the image on the screen

4. Enable the UI login to root account from System preferences and login
to root account. Launch the terminal and run the same script: The
scripts works fine.

Really strange that the script is not able to find image on the screen
if you become root user using "sudo su -". The script works in all other
scenarios.

System information:

Sikuli Version: 1.0.1
System: Mac 10.9.5 64 bit
Java: java 1.6 update 51

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1480289

Title:
  Sikuli's fails to find the image on screen when launched as root user.

Status in Sikuli:
  New

Bug description:
  This is a very strange problem. Please see the following.

  1. The same script finds the image when launched from terminal of
  local user.

  2. Do "sudo su" to become root user and launch the script: The scripts
  works fine.

  3. Do "sudo su -" to become root user and launch the script: The
  script fails to find the image on the screen

  4. Enable the UI login to root account from System preferences and
  login to root account. Launch the terminal and run the same script:
  The scripts works fine.

  Really strange that the script is not able to find image on the screen
  if you become root user using "sudo su -". The script works in all
  other scenarios.

  System information:

  Sikuli Version: 1.0.1
  System: Mac 10.9.5 64 bit
  Java: java 1.6 update 51

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1480289/+subscriptions


Follow ups