Important: Please read the Qt Code of Conduct -

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

  • 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 ....

Log in to reply