← Back to team overview

xpresser-team team mailing list archive

Re: if using two users, one does not work

 

Yes....as far as I know, the switch user feature is not the same as two
users logged into ttyl on a single machine. I believe the system will
suspend active processes in the session when that session is "switched" for
another.

I am not an expert on this feature however. Perhaps a visit to freenode and
ubuntu-devel might get you some better advice.

If not, the forums are also a good option. This issue is more about
continuing an active process than something Xpresser specific.

Unless anyone else on the list has a solution?

Chris


On Thu, Sep 19, 2013 at 5:38 PM, jared <afonit@xxxxxxxxx> wrote:

> Chris,
> Thanks for the reply.
> I read through the linked article, which as best as I can tell is talking
> about remoting into another machine. What stood out to me - is you said :
>
> "I believe your process is being interrupted because the user that
> initiated the process is now logged out."
>
> I am only going to the top right of the computer screen and hitting
> "switch user account"  that is not considered a full log-out is it?
>
> In my below scenario both user accounts (user a and user b) are active and
> logged in.
>
>
> So it seems that while I am in user b (while user a is still logged in (as
> can be seen by the user drop down in the top right with the check boxes
> next to the names), somehow xpressers vision is blinded until I switch back
> to that user a.
>
>
>
>
>
> On Thu, Sep 19, 2013 at 5:25 PM, Chris Gregan <chris.gregan@xxxxxxxxxxxxx>wrote:
>
>> Hello Jared,
>> I believe your process is being interrupted because the user that
>> initiated the process is now logged out. Take a look at a solution similar
>> to this:
>> http://askubuntu.com/questions/8653/how-to-keep-processes-running-after-ending-ssh-session
>>
>> I believe this should do the trick. If not, please let us know.
>>
>> Chris
>>
>>
>> On Thu, Sep 19, 2013 at 4:25 PM, jared <afonit@xxxxxxxxx> wrote:
>>
>>> I have two users setup.
>>> a
>>> b
>>>
>>> I have Xpresser successfully working in user a.
>>>      It is doing gui testing on a flash website.
>>>
>>> When I switch users (login to user a) xpresser seems to no longer work.
>>>
>>> Why would that be?
>>>
>>>
>>> More detail:
>>> I have xpresser rapped in a larger python program that is inserting rows
>>> and times into a postgres database so I can do performance measurements.
>>> It works great.
>>> but it is always using the screen for testing.
>>> So I created user b so I can query the database while xpresser is doing
>>> its work.
>>>
>>> The problem is - while I am logged in as user b - I get a buch of
>>> inserts in the database now (I still have inserts in database while
>>> failures so I can count my failures)but xpresser is not finding the images.
>>>
>>> Why is that?
>>>
>>>
>>>
>>> Does Ubuntu kill the screen on the other user (user a) while I am logged
>>> into the other user (user b)?
>>>
>>> As it is now, I have to stay logged in as user a for xpresser to do its
>>> thing and find the images.
>>>
>>> --
>>> Mailing list: https://launchpad.net/~xpresser-team
>>> Post to     : xpresser-team@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~xpresser-team
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Chris Gregan
>> Project Quality Manager
>> Professional and Engineering Services
>> Canonical USA Inc.
>> cgregan@xxxxxxxxxxxxx
>> cgregan[irc.freenode.net]
>> W-781-761-9448
>>
>> ----
>> 1024/8806032D
>> E70F 7391 6C78 9B9E 6461 1CC7 B168 E1E7 8806 032D
>>
>
>


-- 
Chris Gregan
Project Quality Manager
Professional and Engineering Services
Canonical USA Inc.
cgregan@xxxxxxxxxxxxx
cgregan[irc.freenode.net]
W-781-761-9448

----
1024/8806032D
E70F 7391 6C78 9B9E 6461 1CC7 B168 E1E7 8806 032D

References