Autologin

More
2 weeks 1 day ago #164 by User
Autologin was created by User
Hello,

I have a ProviewR project that is currently running on a runtime system. I need multiple Linux users to be able to start the operator interface (op) of the project.
Currently, my user "test" is automatically logged into ProviewR when I log into Linux with that account. However, when I log in with a different user (for example "OpTest"), that user is not automatically logged into ProviewR.
Is there a way to configure the runtime project so that any Linux user who logs in is automatically logged into ProviewR? Or is it only possible to configure one specific user for automatic login?

Thanks
User

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #167 by claes
Replied by claes on topic Autologin
Hi User,

You can create several users and the pwrrt package creates four users at the installation, pwrp, skiftel, b55 and b66. If you create a new Linux user it should be added to the pwrp group and execute (source) /etc/pwrp_profile at login. You can add a script like this to the auto start of the desktop

#!/bin/bash
source /etc/pwrp_profile
$pwr_exe/rt_xtt 'opplace' -a &

where 'opplace' is the name of the opplace object (op). Note that users that can be concurrently logged in should not share the same opplace object as they will steal alarms and events from each other.

/Claes

Please Log in or Create an account to join the conversation.

More
1 day 21 hours ago #170 by User
Replied by User on topic Autologin
Hello Cleas,

This doesn’t seem to work for me. For example, when I’m logged in as the user pwrp and run the following command: $pwr_exe/rt_xtt 'opplace' -a &
I still get the login dialog, even though the user is part of the required group. The same issue occurs when I log in through an RDP connection. The opplace window opens, but I’m not automatically logged into ProviewR.

/User

Please Log in or Create an account to join the conversation.

More
1 day 16 hours ago #171 by claes
Replied by claes on topic Autologin
Hi User,

'opplace' should be replaced by the name of the OpPlace object you want to use, and the User/Password in the OpPlace object should be filled with a valid user defined in the ProviewR user database.

/Claes

Please Log in or Create an account to join the conversation.

More
23 hours 42 minutes ago #172 by User
Replied by User on topic Autologin
Hi Claes,

Just to confirm. Does this mean I need a separate OpPlace object for each user I want to set up with auto-login?

/User

Please Log in or Create an account to join the conversation.

More
13 hours 39 minutes ago #173 by claes
Replied by claes on topic Autologin
Hi User,

It is possible for different Linux users to share the same OpPlace object. But users that can be concurrently logged in and displays alarm and event should not share the same opplace object as they will steal alarms and events from each other.

/Claes

Please Log in or Create an account to join the conversation.

Time to create page: 0.830 seconds
Powered by Kunena Forum