View previous topic :: View next topic |
Author |
Message |
shrooman n00b
Joined: 24 Apr 2022 Posts: 32
|
Posted: Fri Aug 05, 2022 6:46 am Post subject: [ SOLVED ] Channel Spice - State is disconnected |
|
|
Greetings,
I have created a virtual machine of gentoo on a host running gentoo. I want shared clipboard between the host and client.
I have emerged app-emulation/spice-vdagent and added it to the default runlevel on my client. I've also added the necessary spice channel in libvirtd.
Problem is my spice channel is constantly in a disconnected state.
Code: |
$ sudo rc-service spice-vdagent status
* status: started
|
virsh edit gentoo
Code: |
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
|
spice channel's xml inside virt-manager
Code: |
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0" state="disconnected"/>
<alias name="channel0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
|
Could this be a bug in app-emulation/spice-vdagent?
Thanks!
Last edited by shrooman on Fri Aug 05, 2022 4:30 pm; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
|
Back to top |
|
|
shrooman n00b
Joined: 24 Apr 2022 Posts: 32
|
Posted: Fri Aug 05, 2022 4:30 pm Post subject: |
|
|
Yes my vm is actually running. How else would I be using it?
I just needed to emerge x11-base/xorg-x11, otherwise I don't have a clipboard.
Then add Code: | exec spice-vdagent & | to .xinitrc. |
|
Back to top |
|
|
|