Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass the session type string from the greeter to startwm.sh #2530

Open
matt335672 opened this issue Feb 2, 2023 Discussed in #2527 · 1 comment
Open

Pass the session type string from the greeter to startwm.sh #2530

matt335672 opened this issue Feb 2, 2023 Discussed in #2527 · 1 comment

Comments

@matt335672
Copy link
Member

Discussed in #2527

Originally posted by vongillus January 31, 2023
Hi,

I have tried the whole afternoon to find a way, but I am out of ideas now. I serve through Xrdp/Xvnc an application which is started through a script. That script is configured in sesman.ini as the "DefaultWindowManager". This works great.

What I would like to achieve is depending on the menu chosen in the Xrdp Greeter (called Session), start a different application. So if I choose the first menu item, it would call one "DefaultWindowManager" and if I choose the second menu item, it would call another "DefaultWindowManager".
Another way would be to pass a variable to anything before the Window Manager script is called, so that I can handle that from within my script:

image

Any way to do this (I am running RHEL8)?

Thanks

@Conkernel
Copy link

I'm also interested on this!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants