how to emacs on dom0

40 views
Skip to first unread message

Sake

unread,
Oct 5, 2019, 10:54:16 AM10/5/19
to qubes...@googlegroups.com
Hello,

I am looking for setup emacs in dom0, especially with EXWM.

I know I can setup it in a WM and then pass it manually to dom0;

I wonder how to do it more smarter and secure?

--
<:3nn~~

Andrew David Wong

unread,
Oct 5, 2019, 6:13:58 PM10/5/19
to Sake, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2019-10-05 9:53 AM, Sake wrote:
> Hello,
>
> I am looking for setup emacs in dom0, especially with EXWM.
>

You can install any program you like in dom0, but this is generally
discouraged for security reasons. (A malicious program in dom0 could
potentially take over the entire system.)

> I know I can setup it in a WM and then pass it manually to dom0;
>

Why would you want to do this? What goal are you actually trying to
achieve? (This sounds like an XY problem.)

> I wonder how to do it more smarter and secure?
>

Use Emacs in an AppVM.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAl2ZFZgACgkQ203TvDlQ
MDAdeBAAj/ogIuRdBfUL1togjNeBZATF0UJ8Fn90j0WKo7PZonydHGh/9TtCFcL+
BmXuCoBOhuftWyWjwwsP8PSMTbT/p36aXVgQ3Bb75i/m//y8Ew6BsL/n92sXtrqs
lvmWJtsgm/bvy9a1QnQf0jMVLFZ29T6i4Hkc0NZuuwODxfT0XjAt1EVnuOGhz4uZ
xUioDo+E35Pc/UCuRbot0qDTLmoL3qffBQFU9ZQMztlYQdIwnWGVakwsVIrXNRW8
oCYb5l7r4NxqBlVICVrb4/59n/Zsn0LJUTlmSfHOAkK/h2TTwjQ2Zrj4qtnEAV72
/i6lNspqxwisc70GS+0iT9uuif150VxIljAVSaoJ6ahDSST0uhgfR7ZKqT+1JII5
50WriQKGmWOla6mF69FxF7pOHRxVD0vjnV6wH3EOUyozYIPwah5cjvNh3WmnYn+k
h+dxSM28oGZ6bL1bZGOfFdo/GnGNB55g01i6DR9huFwRPtoT4AOaERS4dUGwzOrQ
VMRjyPW9SG5zj0s6b9mssNtM8MrGl8H6CK7wMTgimbSHjwpxolA7UYsTPaElSCrl
iYPPomFHotVardUA8i6/NueE3SjVvEwWUCfKSZAvlKVgX3zavPpIb1Wwx+xKKhNa
fmJrx2sfdmMl416siz7NSjox+yIAeCPgypTXixEX27Up3u1RIOA=
=KfwM
-----END PGP SIGNATURE-----

Sake

unread,
Oct 6, 2019, 12:01:27 AM10/6/19
to qubes...@googlegroups.com
Le 2019-10-05 22:13, Andrew David Wong a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 2019-10-05 9:53 AM, Sake wrote:
>> Hello,
>>
>> I am looking for setup emacs in dom0, especially with EXWM.
>>
>
> You can install any program you like in dom0, but this is generally
> discouraged for security reasons. (A malicious program in dom0 could
> potentially take over the entire system.)

Yes, i understand than installing more packages in dom0 is not advised.
However, it seems there is not so many to install for being able to use
emacs as an efficient window manager.

>> I know I can setup it in a WM and then pass it manually to dom0;
>>
>
> Why would you want to do this? What goal are you actually trying to
> achieve? (This sounds like an XY problem.)

EXWM emacs'package can act as a Windows Manager, I have already I3wm
installed (which is very appreciable, I had to say) but I wish to switch
to EXWM.
Surely i did not understand in detail all the security involved by
qubes-dom0-update and emacs packaging system.
For now all I imagine is using a dedicated VM with a dedicated template
for homebrewing my emacs dom0-config and hopefully restrain risks

>> I wonder how to do it more smarter and secure?
>>
>
> Use Emacs in an AppVM.
I dunno if hold this until qubes 5 ;p



> - --
> Andrew David Wong (Axon)
> Community Manager, Qubes OS
> https://www.qubes-os.org
>
> -----BEGIN PGP SIGNATURE-----
>
> iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAl2ZFZgACgkQ203TvDlQ
> MDAdeBAAj/ogIuRdBfUL1togjNeBZATF0UJ8Fn90j0WKo7PZonydHGh/9TtCFcL+
> BmXuCoBOhuftWyWjwwsP8PSMTbT/p36aXVgQ3Bb75i/m//y8Ew6BsL/n92sXtrqs
> lvmWJtsgm/bvy9a1QnQf0jMVLFZ29T6i4Hkc0NZuuwODxfT0XjAt1EVnuOGhz4uZ
> xUioDo+E35Pc/UCuRbot0qDTLmoL3qffBQFU9ZQMztlYQdIwnWGVakwsVIrXNRW8
> oCYb5l7r4NxqBlVICVrb4/59n/Zsn0LJUTlmSfHOAkK/h2TTwjQ2Zrj4qtnEAV72
> /i6lNspqxwisc70GS+0iT9uuif150VxIljAVSaoJ6ahDSST0uhgfR7ZKqT+1JII5
> 50WriQKGmWOla6mF69FxF7pOHRxVD0vjnV6wH3EOUyozYIPwah5cjvNh3WmnYn+k
> h+dxSM28oGZ6bL1bZGOfFdo/GnGNB55g01i6DR9huFwRPtoT4AOaERS4dUGwzOrQ
> VMRjyPW9SG5zj0s6b9mssNtM8MrGl8H6CK7wMTgimbSHjwpxolA7UYsTPaElSCrl
> iYPPomFHotVardUA8i6/NueE3SjVvEwWUCfKSZAvlKVgX3zavPpIb1Wwx+xKKhNa
> fmJrx2sfdmMl416siz7NSjox+yIAeCPgypTXixEX27Up3u1RIOA=
> =KfwM
> -----END PGP SIGNATURE-----

--
<:3nn~~
Reply all
Reply to author
Forward
0 new messages