pve console

bread-baker

Member
Mar 6, 2010
432
0
16
the following was due to a mis configuration in /etc/pam.d on my part.

this thread should be deleted.


I have an issue with using the console from pve.
Sometimes i can connect to a kvm or ct and sometimes not.

This has occurred using firefox 7.0.1 and google-chrome Version: 14.0... the desktop is ubuntu lucid .

To get around the issue I try clearing browser cache and restarting the browser.

Another issue is not being able to log into a kvm. As root it would not take my password. I thought possibly that I somehow forgot the password. to fix that I tried booting system rescue cd , chroot and run passwd. after that I booted the kvm normally, and could not log in.
So I remembered that I had run ssh-copy-id from the host to the kvm. so i ssh'ed in , reset the password and still could not log in from the console.
So there may be a bug to track down.

Has anyone else seen either of these issues?

Next I'll try using a beta release of chrome. this one does not let me copy and paste.
 
Last edited:
ok chrome 15. had same issues.

here is more info

daemon.log :
Code:
Oct  8 17:53:10 fbc10 pvedaemon[227040]: starting vnc proxy UPID:fbc10:000376E0:00271734:4E90C646:vncproxy:3241:root@pam:
Oct  8 17:53:10 fbc10 pvedaemon[217888]: <root@pam> starting task UPID:fbc10:000376E0:00271734:4E90C646:vncproxy:3241:root@pam:
Oct  8 17:53:10 fbc10 pvedaemon[218523]: <root@pam> successful auth for user 'root@pam'

Code:
pveversion -v
pve-manager: 2.0-7 (pve-manager/2.0/de5d8ab1)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 2.0-46
pve-kernel-2.6.32-6-pve: 2.6.32-46
lvm2: 2.02.86-1pve1
clvm: 2.02.86-1pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-1
libqb: 0.5.1-1
redhat-cluster-pve: 3.1.7-1
pve-cluster: 1.0-9
qemu-server: 2.0-2
pve-firmware: 1.0-13
libpve-common-perl: 1.0-6
libpve-access-control: 1.0-1
libpve-storage-perl: 2.0-4
vncterm: 1.0-2
vzctl: 3.0.29-3pve2
vzdump: 1.2.6-1
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 0.15.0-1
ksm-control-daemon: 1.1-1

if any more info is needed let me know.
 
Last edited:
here is more info.... and I usually assume that if there is an issue, it is do to something I do wrong...

i restored a 1.9 debian sarge kvm , and can login from console.

the etch kvm i installed from 2.0 , is the one i can not log into at console.


so I'll check further into the etch kvm configuration .
 
here is more info.... and I usually assume that if there is an issue, it is do to something I do wrong...

i restored a 1.9 debian sarge kvm , and can login from console.

the etch kvm i installed from 2.0 , is the one i can not log into at console.


so I'll check further into the etch kvm configuration .
Hi,
your console-keyboard work with all your character from your password? (right keyboard-settings?)
Does this also happens with an realy simple password (like qwert1234)? Of course, only for testing ;)

Udo

Udo
 
ok the problem with console login was due to settings in /etc/pam.d

I had added these:
Code:
common-account:session     optional      pam_mkhomedir.so skel=/etc/skel/ umask=0077
common-session:optional pam_mkhomedir.so skel=/etc/skel/ umask=0077

commenting them out made it so i could log in from console.

so this is probably no issue with pve
 

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!