Menu
- About
- Ham Radio
- NL SwapShop
- NL SOTA Association
- 3D Models
- Linux
- Raspberry Pi
- Windows
- Software
- Photo Gallery
- Contact
- Search
Run A GUI Program As Another User
Some times you need to run another application as a different user. Simply sudo-ing to that user will not do it. Using sudo in combination with kdesu will allow this easily. In this example we will use host.example.com as the machine to log into and we will run an xterm as the user bob. Replace username or application to whatever you wish to use
ssh -X host.example.com
sudo kdesu -u bob -c “xterm -ls”