How to run GUI applications as user spot? [SOLVED]

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
hungnguyengia
Posts: 6
Joined: Sat Jul 24, 2021 8:45 am
Has thanked: 2 times

How to run GUI applications as user spot? [SOLVED]

Post by hungnguyengia »

I installed the Wine SFS and don't want to run Wine applications as root. Is there any way to run Wine applications as user spot? I tried to run winecfg after su - spot but it said it can't find the DISPLAY :)

Last edited by hungnguyengia on Wed Jul 28, 2021 3:18 am, edited 1 time in total.
User avatar
JakeSFR
Posts: 276
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 159 times

Re: How to run GUI applications as user spot?

Post by JakeSFR »

Sure, use this command:

Code: Select all

run-as-spot some_application

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: [SOLVED] How to run GUI applications as user spot?

Post by step »

@hungnguyengia Remember that wine applications that run as spot won't be able to access root's folders, and their WINEPREFIX (the emulated Windows file system) lives in /home/spot. Having said that, I too run wine applications as spot - with the limitation I mentioned. When I want access to any folder I run wine as root - with the inconvenience that a new WINEPREFIX folder gets created in /root.

Post Reply

Return to “FatDog64”