virtmanager connect qemu+ssh freezes
- date: March 23, 2009
I'm trying to install a KVM guest on a remote (headless) server running Ubuntu Server 8.10 (no Gnome, X...).
For that purpose I installed an Ubuntu Desktop 8.10 on my computer with Gnome and I could install a Fedora 9 guest on the Ubuntu server by running:
This command on the server:
sudo virt-install --connect qemu:///system -n $guest etc...
And this command on my computer:
sudo virt-viewer --connect qemu+ssh://[email protected]
It went okay all the way through.
Now I'm trying to connect to the guest from my computer with this command:
sudo virt-manager --connect qemu+ssh://[email protected]
Witch launches the virt-manager, but when I enter the password it just freezes (program is not responding) and I have to do a 'force quit' to exit from it.
Any idea, what should I look for to make it work?
cannot SSH/SCP to Qemu based powerpc VM
location: linuxexchange.com - date: May 11, 2015
I want to transfer a file to a QEMU based PowerPC VM (emulating Freescale's MPC8544DS). I've used buildroot to build the kernel and rootfs. I am invoking the VM like so:
qemu-system-ppc -nographic -M mpc8544ds -m 512 -kernel ~/CrossCompilation/zImage -hda ~/CrossCompilation/rootfs.cpio -append "root=/dev/sda rw" -redir tcp:2222::22
However I was not able to transfer the file and it was throwing the following logs and error:
Executing: program /usr/bin/ssh host localhost, user root, command scp -v -t ~/.
OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to localhost [::1] port 2222.
debug1: connect to address ::1 port 2222: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 2222.
debug1: Connection established.
debug1: identity file ~/.ssh/id_rsa type -1
debug1: identity file ~/.ssh/id_rsa-cert type -1
debug1: identity file ~/.
Running qemu remotely (via ssh)
location: linuxexchange.com - date: January 1, 1970
I have a server that I am experimenting with, and sometimes I want to work from home so I installed the 'ssh daemon' (namely, 'sshd') and I can ssh to the server. This works fine. But when I try to run a virtual machine on the server with 'qemu', I get the following error Could not initialize SDL(No available video device) - exiting.
Is it possible to run qemu via ssh connection?
Note, I do not want to see the visual interface to the VM that I'm launching. I just want to to run.
SSH to Amazon EC2
location: linuxquestions.com - date: July 22, 2011
I am wondering if anyone has any experience with SSHing to Amazon's EC2 site. Has anybody used this site and have any opinions on the reliability, security and real world usefulness of this site for running a cloud?
SSH] Server Version OpenSSH_5.3
[SSH] FAIL: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
[SSH] INFO: DISCONNECT
I get the above when I try to ZOC to an EC2 instance. I generated the key pair when the instance was created and appears to be a valid key. I am trying to do this from a windows7 box. I also tried using puTTY and got a similar result. Using puTTY Amazon says you have to convert .pem --> .ppk using puTTYgen and save the new resulting private key and use this not the .pem file for initiating the SSH session.
Server refused our key
No supported authentication method available(server sent:
Any help or information on Amazon EC2 appreciated. Thanks
[SOLVED] SSH connection issues on Ubuntu 10.10
- date: December 25, 2011
Recently installed openssh-client & openssh-server on my ubuntu 10.10 box, and my backtrack 5 laptop, yet I can't connect to either host using ssh [email protected]
Keep getting the port 22 connection refused error, and yeah I have updated my port rules to allow 22 on both machines, thanks in advance
HOWTO: Enable and control the gnome VNC vinoserver from an SSH connection
- date: September 28, 2006
NOTE: At long last here's the updated method. This was tested between two Ubuntu 10.10 Maverick hosts. Thanks to all the contributors to this thread, especially the posts by frafu and InkyDinky
:~$ ssh -Y [email protected]
# check settings and hit close button
:~$ sudo -s
motebox:~# export DISPLAY=:0.0
:~# xhost +
:~# /usr/lib/vino/vino-server &
# to start the vino server
:~# netstat -nl | grep 5900
# check to make sure vino server is listening on port 5900
exit or CTRL-D twice to close SSH session to remotebox
:~$ ssh -L 5900:localhost:5900 [email protected]
# establish a new SSH connection to remotebox w/forwarded VNC port
# launch Remote Desktop Viewer (vinagre) under Applications => Internet and connect to localhost
[SOLVED] Creating Custom SSH iptable rules for use with UFW
location: linuxquestions.com - date: February 22, 2011
I'm trying to set up a firewall at the moment that allows access to my custom SSH port from only my friend's url (they have a static url but dynamic IP). I find iptables a bit of a nightmare and was hoping to use UFW for most of my day to day firewall maintenance and just make a few extra iptable rules to cover exceptional circumstances like this. Fortunately it seems UFW allows this with /etc/ufw/before.rules and /etc/ufw/after.rules.
So at the moment I'm just trying to get the basic iptables rules right. As I say I'm not very good with iptables, does this look right?
SSH: Connection Refused Ubuntu 12.04
location: linuxquestions.com - date: June 28, 2012
I'm setting up an SSH server on my home computer. I'm kind of a Linux noob (I've been using Ubuntu since Febuary or so, meaning I'm not terribly good at everything, but I know some basic stuff to try.
So, if I try to connect to the server through my laptop (also running Ubuntu 12.04), I get this error:
Trying to run X11 over ssh: "connect /tmp/.X11unix/X0: No such file or directory"
- date: May 20, 2010
I'm trying to run X11 windows over ssh but I get this error:
ssh -X -C [email protected]
Warning: No xauth data; using fake authentication data for X11 forwarding.
connect /tmp/.X11-unix/X0: No such file or directory
Error: Can't open display: localhost:10.0
I managed to connect with another computer. That computer has a /tmp/.X11-unix/X0 socket. Is there a way to create a socket on this computer?
[SOLVED] winxp in qemu+kvm on ubuntu 10.04: extremely poor performance
location: linuxquestions.com - date: June 14, 2010
As the title says, I'm using qemu and kvm to run some WinXP guests on an Ubuntu 10.04 host, and find the performance of the guests is horrible. Installation takes 3 hours, installing some simple patches through windows update takes an hour, installing .net framework takes an hour, unzipping and copying files is slow..
During installation and subsequent setup, the guest shows hardly any cpu / memory usage, in windows task manager as well as virt-manager, but I can hear the host's hard drives working in little bursts. vmstat puts the host's cpu at 60-80% idle 20-40% io wait, which I suppose is bad.
I have verified the kvm module is being loaded and used correctly.
I've tried changing from qcow2 to raw images, this helped speed up the installation but patching and software install is still horribly slow. I've read there are problems with acpi on WinXP guests so I turned it off (in virt-manager and in the guest OS - using the Standard PC HAL) but this made little differe
Page: 1 2 3 4 5 6 7 8 9 10