what does it mean when it says: "Any X11 destkop, weston or qt application can be used as session."

43 views
Skip to first unread message

brian mullan

unread,
Jun 30, 2019, 12:40:15 PM6/30/19
to Ogon Project
On the web page:


under:

What is the ogon project?


it says...

 "Any X11 desktop, weston or qt application can be used as session."

So my question is ... what does QT "application" imply?

Does this mean you can somehow do something somewhat like a RemoteApp capability with Ogon?

Brian




Bernhard Miklautz

unread,
Jul 1, 2019, 2:31:47 AM7/1/19
to brian mullan, Ogon Project
Hi Brian,

On Sun, Jun 30, 2019 at 09:40:15AM -0700, brian mullan wrote:
> it says...
>
> "Any X11 desktop, weston or qt application can be used as session."
>
> So my question is ... what does *QT "application"* imply?
>
> *Does this mean you can somehow do something somewhat like a RemoteApp
> capability with Ogon?*
Kind of. It's possible to remote a Qt application.

But this differs from "RemoteApp" in terms of RDP because it's always a
desktop session. The redirection also has it's limits. For example
applications with multiple windows won't work or be really usable.

The configuration would look like:

module_QtTest_modulename_string=Qt
module_QtTest_cmd_string=TestQTApp
module_QtTest_colordepth_number=24

And then assign a user the session:

module_string=QtTest

The greeter where you enter username and password is such an example.

Best regards,
Bernhard

brian mullan

unread,
Jul 1, 2019, 1:01:47 PM7/1/19
to bernhard...@thincast.com, Ogon Project
Thanks for the answer Bernhard !
Since I am doing this for the first time what I did was add the following in the global section of /opt/ogon/etc/ogon/config.ini as i assume
that's where it would go.


#===================================================================================
# testing use of QT application launch

module_QtTest_modulename_string=Qt
module_QtTest_cmd_string=/usr/bin/vlc
module_QtTest_colordepth_number=24
module_string=QtTest

But using freerdp v2 I use the cmd:

xfreerdp /cert-ignore /u:bmullan /p:my_pwd /drive:shared-folder,/home/bmullan/shared-folder +clipboard /sound:sys:alsa /v:192.168.122.116

But VLC doesn't launch I just get logged into the Desktop.

what would I have to do to get that QT app to run at login ?

Thanks
Brian



Bernhard Miklautz

unread,
Jul 2, 2019, 4:20:48 AM7/2/19
to brian mullan, Ogon Project
Hi Brian,

On Mon, Jul 01, 2019 at 01:01:10PM -0400, brian mullan wrote:
> Since I am doing this for the first time what I did was add the following
> in the global section of /opt/ogon/etc/ogon/config.ini as i assume
> that's where it would go.
>
>
> #===================================================================================
> > # testing use of QT application launch
> >
> > module_QtTest_modulename_string=Qt
> > module_QtTest_cmd_string=/usr/bin/vlc
> > module_QtTest_colordepth_number=24
> > module_string=QtTest
The configuration looks good. Make sure module_string is only defined
once in a scope (global or user_xxx).

Possibly you also want to set to disable the (systemd) launcher:

module_QtTest_uselauncher_bool=false

Without it you won't get a system session created but you will see more
debug output.

> But using freerdp v2 I use the cmd:
>
> xfreerdp /cert-ignore /u:bmullan /p:my_pwd
> /drive:shared-folder,/home/bmullan/shared-folder +clipboard /sound:sys:alsa
> /v:192.168.122.116
>
> But VLC doesn't launch I just get logged into the Desktop.
>
> what would I have to do to get that QT app to run at login ?
When Qt is specified as module the application ins started with the
extra argument -platform qt. VLC seems not to use/understand this option.

Did you try with any other Qt application for testing?

Best regards,
Bernhard
Reply all
Reply to author
Forward
0 new messages