I want to create a new session on gnome that only shows to the user my qml interface, and the user cant opens the terminal or do anything that is not by my qml interface, I tried this script, that set to enable my services that run my qml interface, and after this, I reboot the machine.
I tried this in /usr/share/session/xsessions :
I created a new .desktop file
the test is my script .sh that set to enable my services
[Desktop Entry]
Version=1.0
Name=test
Comment=Test
Icon=utilities-terminal
Exec=test
Terminal=false
Type=Application
Categories=Application;
After I created this file I renamed it as gnome-classic.desktop, to the system run it by default, but when I reboot my machine my screen got black, and my qml interface didn't show.
I already tested my services before do this, so my services are ok, the problem is the session.
How can I do this?