hi experts
I got a bit of problem with the below situation:
Code:
root@kvm_host1:/mnt/nfs# virt-manager &
[1] 4663
root@kvm_host1:/mnt/nfs# X11 connection rejected because of wrong authentication.
[1]+ Done virt-manager
root@kvm_host1:/mnt/nfs# su test
test@kvm_host1:/mnt/nfs$ virt-manager &
[1] 4679
As you can see, I ssh into my ubuntu host with user test, but during some nfs config I su into root, then try to launch virt-manager GUI via X11. Which obviously fails I guess since root wants to launch X11 session but I established the session as user test.
My question is this: Is there a way to stop this from happening? to allow my root to launch the GUI as well?
Thanks