Anything like 'vzctl enter' for KVM machines?

  • Thread starter Thread starter vthome
  • Start date Start date
V

vthome

Guest
I need to get into a newly-installed KVM image to set up its (veth) networking, but Java problems keep me from getting a VNC console on the machine.

I need veth networking so I can run DHCP on the virtual network (this is a college computer lab for CIS majors and I want to use it to teach server configuration), and I want KVM so I can run NFSv4.

Is there anything similar to 'vzctl enter <id>' that works for KVM guests, or some technique for setting up networking from the outside?
 
just use the integrated VNC console and configure the network as you would do it on a physical server.

this console works totally independent from the configured KVM VM network.
 
just use the integrated VNC console and configure the network as you would do it on a physical server.

this console works totally independent from the configured KVM VM network.

Sorry my OP was ambiguous. I have tried what you suggest, and should have said "... Java problems keep me from getting a host-provided VNC console on the guest machine." It's the old story about OpenJDK not being adequate for the VNC console, and not being able to get a Sun/Oracle replacement to work properly either.
 
Last edited by a moderator:
... and not being able to get a Sun/Oracle replacement to work properly either.
Hi,
that's not too difficult. Download the oracle-jre and put the plugin (or an link) inside your firefox-plugin folder (e.g. in you home-directory) like
Code:
ls -l ~/.mozilla/plugins/libnpjp2.so
lrwxrwxrwx 1 udo udo 46 Feb  6 23:05 /home/udo/.mozilla/plugins/libnpjp2.so -> /usr/lib/jvm/jre1.7.0_17/lib/amd64/libnpjp2.so
Udo
 
Last edited:
Had to create a plugins subdirectory. Downloaded and extracted jre-7u17-linux-i586.tar.gz, found the mentioned file and copied it into plugins/. Restarted firefox, brought up Proxmox server page, selected a CT, clicked on "Console".

Same result as all attempts before: After approving the code to run, I get a window with black background except for a highlighted backtick in upper left. No OS prompt. Can type in the window, but no response from any system.

Same result on many student laptops running Windows (I'm running Mint Nadia). Same result on my laptop when using the update-sun-jre package from duinsoft. Same result in Chromium (FOSS version of Chrome browser).

I cannot play around too much with Java JRE on my laptop, as that is the language my department uses for instruction, and I need a working JDK to teach classes. I also have work to do, much as I might enjoy messing around with under-the-hood software configuration workarounds.

The only way I've successfully accessed a Proxmox CT or VM console is to use VirtualBox to create a virtual machine on my local laptop, download, install, and configure Oracle JRE 1.6 (didn't try 1.7), and run Firefox in that virtual machine. Rather a bit of overkill just to get a console, and not something I can reasonably ask/expect all my students to do unless I'm willing to do personal tech support for all of them, with all their different OSes and browser configurations. And if I modify their machine's Java to work with my courses, I have to worry about breaking something they need for another class (or real life).

That is why I'm heartily in favor of Proxmox moving to a VNC implementation that really does "just work". Proxmox is a great system, but what students are learning from first-hand experience can be summed up as: "cool idea, major hassle".
 
...
That is why I'm heartily in favor of Proxmox moving to a VNC implementation that really does "just work". Proxmox is a great system, but what students are learning from first-hand experience can be summed up as: "cool idea, major hassle".

sorry, do not get your point. using Oracle java works on Linux and on all Windows boxes. And yes, Oracle Java need to be installed manually, like any other non integrated OS software.

if it does not run like this on your side there is probably something wrong. try to understand what is wrong instead of telling here that our software in a "major hassle". in fact, our VNC implementation is really great and very secure (most competitors does not use a TLS secured VNC connection)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!