Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Using qws server in multi-app multi-user environment ....

Using qws server in multi-app multi-user environment ....

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Momo3000
    wrote on last edited by
    #1

    Hello,

    I am trying to devise an application architecture on ARM-9/Linux based board that will allow single Qt embedded (4.8.3) server application to accept connections from number of Qt client applications, each running as a separate user.
    I tried running server app (-qws) as root and connecting client app owned by valid Linux user "guest". That failed on access to the control socket.

    Server creates AP/PF_UNIX socket and sets SO_PASSCRED option to "true" on that control socket. I guess that means that client application must authenticate itself to the server on startup using ancillary message (SCM_CREDENTIALS).

    If that is the case, how do I do that using existing, legitimate Qt features/options (rather then trying to hack Qt source tree)?
    Is this even possible? If not, what are the alternatives?

    Thanks in advance for any help that might be coming ....

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved