In below example, a regular user is required to open "virt-manager" as root user but using sudo only.
bash-4.1$ ssh -X user1@server110 user1@server110's password: Last login: Mon Jun 14 22:27:41 2021 from xsjengvm209130.xilinx.com [user1@server110 ~]$ [user1@server110 ~]$ xauth list server110.xilinx.com/unix:11 MIT-MAGIC-COOKIE-1 136e42cdc96bbb1df129bdd21aa server110.xilinx.com/unix:10 MIT-MAGIC-COOKIE-1 102f992984f06d2f91847ce5955 [user1@server110 ~]$ [user1@server110 ~]$ sudo xauth add server110.xilinx.com/unix:11 MIT-MAGIC-COOKIE-1 136e42cdc96bbb1df129bdd21aa [user1@server110 ~]$ sudo xauth add server110.xilinx.com/unix:10 MIT-MAGIC-COOKIE-1 102f992984f06d2f91847ce5955 [user1@server110 ~]$ [user1@server110 ~]$ sudo virt-manager [user1@server110 ~]$
No comments:
Post a Comment