[Gnome] Autostart script or application on User login

Solution Verified - Updated -

Issue

  • Need ways to start a custom script on User login in Desktop Environment.

  • Way to add script via Tweaks > Startup Application is already known.

  • Need a way to automate this on multiple Servers via Ansible so is there any CLI way to do it?

Environment

  • Red Hat Enterprise Linux Workstation
  • GUI Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content