We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This incantation is surprisingly hard to get right:
sudo openvt -sw -- env -i su -l $USER -c egmde
Note: This also only works when run from a graphical desktop (e.g. Unity or GNOME): It fails from a VT or via ssh as "Seat has no active session".
ssh