I want to be able to run (just) a program/few programs under a test user named test and at the same time benefit of the GUI of the program.I need this because I want to be able to save test settings without conflicting with my own settings.What I found so far is that I can either:use su test to switch to the user, but then I can not run programs with GUI... they complain about not having a display:No protocol specified** (gedit:17086): WARNING **: Could not open X display    No protocol specified(gedit:17086): Gtk-WARNING **: cannot open display: :0use the dm-tool switch-to-user test to actually switch over to that userAny Idea how I can run programs as another user without having to change users and desktops each time?
Run a program under another user with X server display
ubuntu;gnome;users;display;user interface