[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-07 Thread Michal Skrivanek


> On 5 Mar 2019, at 18:25, Guillaume Pavese 
>  wrote:
> 
> This is something i would like to know too
> As far as I know, copy paste with SPICE only works in graphical mode, with a 
> X session running. Before X is starded, while in the console, no copy/paste 
> is possible.
> 
> However, with virt-manager, it is possible to copy paste directly in the 
> serial console of a vm installed with "--no-graphics"
> This is a feature of virt-manager I deeply miss if it's not possible to make 
> it work with VNC/SPICE remote consoles. 
> 
> What would be great is the possibility to connect directly to the serial 
> console of the vm from ovirt-manager (I think that's what virt-manager is 
> doing seamlessly when no graphic hw is configured for the vm).

it’s doable, but we’re not working on that currently.
We have the pieces. ovirt-web-ui noVNC integration is using the console 
component we have created[1] which embeds xterm.js terminal. But the part 
connecting it to oVirt is difficult since oVirt’s entry point is SSH. You’d 
need to add a js ssh implementation and hook it up as a backend for xterm.js to 
be able to connect

In the meantime, use have to use your own window and run ssh yourself:)

Thanks,
michal

[1] 
https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-3/react-console

> 
> Guillaume Pavese
> Ingénieur Système et Réseau
> Interactiv-Group
> 
> 
> On Tue, Mar 5, 2019 at 11:39 PM Victor Toso  > wrote:
> Hi Jean,
> 
> On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com 
>  wrote:
> > Hello Guys,
> > 
> > I try to make work copy and paste from a virt-viewer client to
> > a Linux VM (Centos 6).
> > I have install spice-vdagent (service run). Guest is configured
> > as QXL + Spice. I also have test :
> > - Enable SPICE clipboard copy and paste
> > - Enable VirtIO serial console
> > 
> > But Paste (CTRL + SHIFT + V ?) not work
> > 
> > Is this function can work without QXL driver ?
> 
> The copy, like drag, those are features that rely on
> spice-vdagent, not QXL.
> 
> I assume that spice-vdagent and spice-vdagentd are running
> without errors in your CentOS 6 box? If that's the case, you can
> share some logs from the client remote-viewer or virt-viewer
> --debug --spice-debug.
> 
> Cheers,
> Victor
> ___
> Users mailing list -- users@ovirt.org 
> To unsubscribe send an email to users-le...@ovirt.org 
> 
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ 
> 
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> 
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNP6WOTOM7OHMSP74XDZOQXFGFREB5VF/
>  
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/XRA2SHGUMPAIUEIH36YM3EH3YASW5Y22/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I64CO3GHYL5DCGCJPJA3JY3IZ3OWD54S/


[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-06 Thread Victor Toso
Hi,

On Tue, Mar 05, 2019 at 05:01:30PM +0100, jeanbaptiste.coup...@nfrance.com 
wrote:
> Hello Victor,
> 
> Thanks for answer.
> 
> Attached, output of remote-viewer, with --debug --spice-debug. During this
> debug session I've tried some time to paste content (via CTRL+SHIFT+V)
> 
> Regards,
> Jean-Baptiste,
> 
> -Message d'origine-
> De : Victor Toso  
> Envoyé : mardi 5 mars 2019 15:39
> À : jeanbapti...@nfrance.com
> Cc : users@ovirt.org
> Objet : Re: [ovirt-users] How to Copy-Paste without QXL ?
> 
> Hi Jean,
> 
> On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> > Hello Guys,
> > 
> > I try to make work copy and paste from a virt-viewer client to a Linux 
> > VM (Centos 6).
> > I have install spice-vdagent (service run). Guest is configured as QXL 
> > + Spice. I also have test :
> > - Enable SPICE clipboard copy and paste
> > - Enable VirtIO serial console
> > 
> > But Paste (CTRL + SHIFT + V ?) not work
> > 
> > Is this function can work without QXL driver ?
> 
> The copy, like drag, those are features that rely on
> spice-vdagent, not QXL.
> 
> I assume that spice-vdagent and spice-vdagentd are running without errors in
> your CentOS 6 box? If that's the case, you can share some logs from the
> client remote-viewer or virt-viewer --debug --spice-debug.
> 
> Cheers,
> Victor

> [nfrance@astreinte T??l??chargements]$ remote-viewer --debug --spice-debug
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///tmp/mozilla_nfrance0/console.vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
> display type
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console(2).vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
> display type
> (remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
> (remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has a spice display
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:286 New session (compiled 
> from package spice-gtk 0.33)

What is your Client OS? spice-gtk 0.33 was released in Oct 7,
2016... You might benefit by trying something newer (last was
0.36 done in Jan 11, 2019)

> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:290 Supported channels: 
> main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
> filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
> (remote-viewer:4108): virt-viewer-DEBUG: Start fetching oVirt main entry point
> (remote-viewer:4108): virt-viewer-DEBUG: After open connection callback fd=-1
> (remote-viewer:4108): virt-viewer-DEBUG: Opening connection to display at 
> file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
> filter set to -1,-1,-1,-1,0
> (remote-viewer:4108): virt-viewer-DEBUG: fullscreen display 0: 0
> (remote-viewer:4108): virt-viewer-DEBUG: app is not in full screen
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:1743 no migration in 
> progress
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:137 main-1:0: 
> spice_channel_constructed
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2246 main-1:0: new main 
> channel, switching
> (remote-viewer:4108): GSpice-DEBUG: spice-gtk-session.c:1099 Changing main 
> channel from (nil) to 0x15bb19200
> (remote-viewer:4108): virt-viewer-DEBUG: New spice channel 0x15bb19200 
> SpiceMainChannel 0
> (remote-viewer:4108): virt-viewer-DEBUG: notebook show status 0x15b442230
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 8087:07dc (0x15b5a57b0)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 0b97:7772 (0x15b60c390)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 04f2:b3b1 (0x15b2bfdc0)
> (remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
> 1199:9063 (0x15b59ec20)
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2610 main-1:0: Open 
> coroutine starting 0x15bb19200
> (remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2451 main-1:0: Started 
> background coroutine 0x15bb18860
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2192 main-1:0: Using TLS, 
> port 5901
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2125 open host 
> 172.20.0.7:5901
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2047 main-1:0: connecting 
> 0x7f8e65c50a60...
> (remote-viewer:4108): GSpice-DEBUG: spice-session.c:2031 

[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-05 Thread Guillaume Pavese
This is something i would like to know too
As far as I know, copy paste with SPICE only works in graphical mode, with
a X session running. Before X is starded, while in the console, no
copy/paste is possible.

However, with virt-manager, it is possible to copy paste directly in the
serial console of a vm installed with "--no-graphics"
This is a feature of virt-manager I deeply miss if it's not possible to
make it work with VNC/SPICE remote consoles.

What would be great is the possibility to connect directly to the serial
console of the vm from ovirt-manager (I think that's what virt-manager is
doing seamlessly when no graphic hw is configured for the vm).

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Tue, Mar 5, 2019 at 11:39 PM Victor Toso  wrote:

> Hi Jean,
>
> On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> > Hello Guys,
> >
> > I try to make work copy and paste from a virt-viewer client to
> > a Linux VM (Centos 6).
> > I have install spice-vdagent (service run). Guest is configured
> > as QXL + Spice. I also have test :
> > - Enable SPICE clipboard copy and paste
> > - Enable VirtIO serial console
> >
> > But Paste (CTRL + SHIFT + V ?) not work
> >
> > Is this function can work without QXL driver ?
>
> The copy, like drag, those are features that rely on
> spice-vdagent, not QXL.
>
> I assume that spice-vdagent and spice-vdagentd are running
> without errors in your CentOS 6 box? If that's the case, you can
> share some logs from the client remote-viewer or virt-viewer
> --debug --spice-debug.
>
> Cheers,
> Victor
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNP6WOTOM7OHMSP74XDZOQXFGFREB5VF/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XRA2SHGUMPAIUEIH36YM3EH3YASW5Y22/


[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-05 Thread jeanbaptiste.coupiac
Hello Victor,

Thanks for answer.

Attached, output of remote-viewer, with --debug --spice-debug. During this
debug session I've tried some time to paste content (via CTRL+SHIFT+V)

Regards,
Jean-Baptiste,

-Message d'origine-
De : Victor Toso  
Envoyé : mardi 5 mars 2019 15:39
À : jeanbapti...@nfrance.com
Cc : users@ovirt.org
Objet : Re: [ovirt-users] How to Copy-Paste without QXL ?

Hi Jean,

On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> Hello Guys,
> 
> I try to make work copy and paste from a virt-viewer client to a Linux 
> VM (Centos 6).
> I have install spice-vdagent (service run). Guest is configured as QXL 
> + Spice. I also have test :
> - Enable SPICE clipboard copy and paste
> - Enable VirtIO serial console
> 
> But Paste (CTRL + SHIFT + V ?) not work
> 
> Is this function can work without QXL driver ?

The copy, like drag, those are features that rely on
spice-vdagent, not QXL.

I assume that spice-vdagent and spice-vdagentd are running without errors in
your CentOS 6 box? If that's the case, you can share some logs from the
client remote-viewer or virt-viewer --debug --spice-debug.

Cheers,
Victor
[nfrance@astreinte Téléchargements]$ remote-viewer --debug --spice-debug
(remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
file:///tmp/mozilla_nfrance0/console.vv
(remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
display type
(remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
file:///home/nfrance/T%C3%A9l%C3%A9chargements/console(2).vv
(remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has unsupported file 
display type
(remote-viewer:4108): virt-viewer-DEBUG: Opening display to 
file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
(remote-viewer:4108): virt-viewer-DEBUG: Guest (null) has a spice display
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:286 New session (compiled 
from package spice-gtk 0.33)
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:290 Supported channels: 
main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
(remote-viewer:4108): virt-viewer-DEBUG: Start fetching oVirt main entry point
(remote-viewer:4108): virt-viewer-DEBUG: After open connection callback fd=-1
(remote-viewer:4108): virt-viewer-DEBUG: Opening connection to display at 
file:///home/nfrance/T%C3%A9l%C3%A9chargements/console.vv
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:523 auto-connect 
filter set to -1,-1,-1,-1,0
(remote-viewer:4108): virt-viewer-DEBUG: fullscreen display 0: 0
(remote-viewer:4108): virt-viewer-DEBUG: app is not in full screen
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:1743 no migration in 
progress
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:137 main-1:0: 
spice_channel_constructed
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:2246 main-1:0: new main 
channel, switching
(remote-viewer:4108): GSpice-DEBUG: spice-gtk-session.c:1099 Changing main 
channel from (nil) to 0x15bb19200
(remote-viewer:4108): virt-viewer-DEBUG: New spice channel 0x15bb19200 
SpiceMainChannel 0
(remote-viewer:4108): virt-viewer-DEBUG: notebook show status 0x15b442230
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
8087:07dc (0x15b5a57b0)
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
0b97:7772 (0x15b60c390)
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
04f2:b3b1 (0x15b2bfdc0)
(remote-viewer:4108): GSpice-DEBUG: usb-device-manager.c:1008 device added 
1199:9063 (0x15b59ec20)
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2610 main-1:0: Open 
coroutine starting 0x15bb19200
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2451 main-1:0: Started 
background coroutine 0x15bb18860
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:2192 main-1:0: Using TLS, 
port 5901
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:2125 open host 
172.20.0.7:5901
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:2047 main-1:0: connecting 
0x7f8e65c50a60...
(remote-viewer:4108): GSpice-DEBUG: spice-session.c:2031 main-1:0: connect ready
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:2379 main-1:0: Load CA, 
file: (null), data: 0x15bfe0a00
(remote-viewer:4108): Spice-DEBUG: ssl_verify.c:400:verify_subject: subjects 
match
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:1302 main-1:0: channel type 
1 id 0 num common caps 1 num caps 1
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:1326 main-1:0: Peer 
version: 2:2
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:1855 main-1:0: 
spice_channel_recv_link_msg: 2 caps
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:1865 main-1:0: got common 
caps 0:0xB
(remote-viewer:4108): GSpice-DEBUG: spice-channel.c:1871 main-1:0: got channel 
caps 0:0x9
(remote-viewer:4108): GSp

[ovirt-users] Re: How to Copy-Paste without QXL ?

2019-03-05 Thread Victor Toso
Hi Jean,

On Tue, Mar 05, 2019 at 02:20:59PM -, jeanbapti...@nfrance.com wrote:
> Hello Guys,
> 
> I try to make work copy and paste from a virt-viewer client to
> a Linux VM (Centos 6).
> I have install spice-vdagent (service run). Guest is configured
> as QXL + Spice. I also have test :
> - Enable SPICE clipboard copy and paste
> - Enable VirtIO serial console
> 
> But Paste (CTRL + SHIFT + V ?) not work
> 
> Is this function can work without QXL driver ?

The copy, like drag, those are features that rely on
spice-vdagent, not QXL.

I assume that spice-vdagent and spice-vdagentd are running
without errors in your CentOS 6 box? If that's the case, you can
share some logs from the client remote-viewer or virt-viewer
--debug --spice-debug.

Cheers,
Victor


signature.asc
Description: PGP signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNP6WOTOM7OHMSP74XDZOQXFGFREB5VF/