LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2022, 11:15 PM   #1
Mo_
Member
 
Registered: Aug 2022
Posts: 50

Rep: Reputation: 0
How select, copy and paste text from virt-manager console?


I am using Virtual Machine manager in Linux and installed a VM. However, there isn't a way to select text from the terminal. The mouse cursor gets disappears. How can I select the text, and copy and paste it from the console? I'm attaching a screenshot that might help to understand my question. Thank you for your help.
Attached Thumbnails
Click image for larger version

Name:	virt-manager.jpeg
Views:	41
Size:	119.2 KB
ID:	39464  

Last edited by Mo_; 08-20-2022 at 11:49 PM.
 
Old 08-21-2022, 07:24 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I don't know which distro nor version nor desktop you are using.

However, with my system, Fedora 36, gnome, I can use a terminal window and highlight the text I wish to copy with a left click on the mouse, then a right click brings up a menu where I can select copy. A right click also allows pasting in the new location.

That does not work when in a VT, but only in the GUI desktop.

I can copy and paste data both directions between the host and the VM. I use QEMU/KVM for my VMM.
 
Old 08-21-2022, 09:24 PM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
(pwd; df . ;ls -l) 2>&1 | nc termbin.com 9999

I run mll, which is nothing but BusyBox (and a kernel of course), in virtualbox, and use this a lot.

The one thing I believe NO one has figured out is: how to copy and paste a kernel panic, but there is probably some way to use a serial console, which I don't know.
 
Old 08-22-2022, 06:24 AM   #4
braithwaite
Member
 
Registered: Mar 2019
Location: UK
Distribution: debian
Posts: 84

Rep: Reputation: Disabled
Do you need to install you mouse drivers?

Have you tried different terminals?
 
Old 08-25-2022, 08:54 PM   #5
Mo_
Member
 
Registered: Aug 2022
Posts: 50

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by computersavvy View Post
I don't know which distro nor version nor desktop you are using.

However, with my system, Fedora 36, gnome, I can use a terminal window and highlight the text I wish to copy with a left click on the mouse, then a right click brings up a menu where I can select copy. A right click also allows pasting in the new location.

That does not work when in a VT, but only in the GUI desktop.

I can copy and paste data both directions between the host and the VM. I use QEMU/KVM for my VMM.
Hi, I'm using Redhat 8 developer version. I installed Linux "Virtual Machine Manager" on my main machine and installed a couple of virtual machines using Virtual Machine Manager. Actually, I'm preparing for the RHCSA exam, I heard you only use the console in the exam, so I was practicing everything in the console. I thought in case it needs to copy and paste something like UUID etc so that could be helpful instead of memorizing the number or going back in forth.Thank you
 
Old 08-25-2022, 09:00 PM   #6
Mo_
Member
 
Registered: Aug 2022
Posts: 50

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by !!! View Post
(pwd; df . ;ls -l) 2>&1 | nc termbin.com 9999

I run mll, which is nothing but BusyBox (and a kernel of course), in virtualbox, and use this a lot.

The one thing I believe NO one has figured out is: how to copy and paste a kernel panic, but there is probably some way to use a serial console, which I don't know.
I'm using Linux "Virtual Machine Manager" with the Red Hat 8 developer version. I am preparing for the RHCSA exam, I heard you can only use console there so I have to practice in the console and found out I can't copy past anything. In the exam might need to copy paste UUID and other long lines, it would be helpful to know how to copy commands within the console.
 
Old 08-25-2022, 09:04 PM   #7
Mo_
Member
 
Registered: Aug 2022
Posts: 50

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by braithwaite View Post
Do you need to install you mouse drivers?

Have you tried different terminals?
I couldn't find any mouse driver fro Linux virtual machine manager.

There isn't an issue copying from the main machine terminal when I ssh VM. I'm using Linux "Virtual Machine Manager" with Redhat 8 developer version. I am preparing for the RHCSA exam and I heard it's required to use the console for the exam. I have been using a console because of that I am unable to copy and paste commands. I'm just worried if needed to copy any long line or id so I don't have to memorize or go back in forth to type one by one.

Last edited by Mo_; 08-25-2022 at 11:56 PM.
 
Old 08-25-2022, 10:07 PM   #8
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
I've read you can change the term from VNC to Spice and it will can do it.

Last edited by elgrandeperro; 08-27-2022 at 08:59 PM.
 
Old 08-26-2022, 01:43 PM   #9
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
I'm not familiar with the virt-manager (tui?) program, but I wonder if script or screen or GPM would help(?)

man gpm

Try this web search: (maybe add GPM)

Code:
Linux -gnome -grub intitle:console intitle:copy intitle:paste
I tried this web search, but it was too restrictive and got zero results; does anyone else have any other ideas?
Code:
 -host -guest -vm intitle:copy intitle:paste in|from virt-manager console
@LQ'ers: does anyone have any comments on my desire to capture a kernel panic, so I can post it? Other than a camera picture

Last edited by !!!; 08-26-2022 at 02:02 PM.
 
  


Reply

Tags
copy, select, terminal, virt-manager, virtual machine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virt Manager KVM copy paste issues PenguinLinuxAwesome Linux - Virtualization and Cloud 2 03-14-2022 05:52 AM
[SOLVED] installing virt-manager and virt-viewer on desktop for managing remote server yvesjv Slackware 4 04-24-2019 03:00 PM
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration