[gentoo-user] Heads up: Video mode and booting with KVM switch
I have 3 machines kicking around. One is a Dell Inspiron 530 from June 2008 that simply refuses to die. The others are more recent. On my desk (actually a re-purposed kitchen table) I only have room for 1 24 inch monitor, 1 big Unicomp "IBM-like clickety-clack" USB keyboard http://www.pckeyboard.com/mm5/merchant.mvc?Screen=PROD&Product_code=UNI041A and 1 trackball. I got an IOGear 4-port USB KVM. It has a remote clicker to switch between the 4 ports; no icky escape/control sequences. Because it's hardware-controlled, there are no drivers required. It works great with one exception, which is a linux kernel problem, not a switch problem. The problem I've found occurs when booting a machine that is not currently selected by the KVM switch. I found the BIOS settings to eliminate the... Keyboard failure Select F1 to continue; F2 to enter SETUP ...message. The linux kernel problem is that it doesn't detect the display when that particular machine is not selected at bootup (du), and assumes 1024x768 console and graphics video. If the machine is selected by the switch at bootup, things work properly. But don't panic. Even if I boot into 1024x768 text mode, and default to 1024x768 graphics, running "xrandr -s 1920x1080" gets me 1920x1080 X Window display. The available modes for your display may be different. Just run "xrandr" for a list of available modes. -- Walter Dnes I don't run "desktop environments"; I run useful applications
[gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect
I'm running: nxserver-freenx-0.7.3_p104-r7 After recent upgrade, system installed new stable openssh-7.1_p1-r2 The problem is the new openssh-7.1_p1-r2 will not allow my my "nxserver" to connect, I get an error: Permission denied (publickey,keyboard-interactive) see below: nxsetup --test ... < done > Testing your nxserver connection ... Permission denied (publickey,keyboard-interactive). Fatal error: Could not connect to NX Server. Please check your ssh setup: The following are _examples_ of what you might need to check. - Make sure "nx" is one of the AllowUsers in sshd_config. (or that the line is outcommented/not there) - Make sure "nx" is one of the AllowGroups in sshd_config. (or that the line is outcommented/not there) - Make sure your sshd allows public key authentication. - Make sure your sshd is really running on port 22. - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to authorized_keys2. (this should be a filename not a pathname+filename) - Make sure you allow ssh on localhost, this could come from some restriction of: -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost -the iptables. add to it: $ iptables -A INPUT -i lo -j ACCEPT $ iptables -A OUTPUT -o lo -j ACCEPT What I should be getting is this: > Testing your nxserver connection ... HELLO NXSERVER - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0) NX> 105 quit Quit NX> 999 Bye <--- done I did not change anything in sshd_config. But I downgraded to: openssh-6.9_p1-r2 and nxserver connects OK. What could be the problem with new: openssh-7.1_p1-r2 -- Thelma
Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect
Thelma On 11/13/2015 11:08 PM, the...@sys-concept.com wrote: > I'm running: nxserver-freenx-0.7.3_p104-r7 > After recent upgrade, system installed new stable openssh-7.1_p1-r2 > > The problem is the new openssh-7.1_p1-r2 will not allow my my "nxserver" to > connect, I get an error: > Permission denied (publickey,keyboard-interactive) see below: > > nxsetup --test > ... > < done > > > Testing your nxserver connection ... > Permission denied (publickey,keyboard-interactive). > Fatal error: Could not connect to NX Server. > > Please check your ssh setup: > > The following are _examples_ of what you might need to check. > > - Make sure "nx" is one of the AllowUsers in sshd_config. > (or that the line is outcommented/not there) > - Make sure "nx" is one of the AllowGroups in sshd_config. > (or that the line is outcommented/not there) > - Make sure your sshd allows public key authentication. > - Make sure your sshd is really running on port 22. > - Make sure your sshd_config AuthorizedKeysFile in sshd_config is set > to authorized_keys2. > (this should be a filename not a pathname+filename) > - Make sure you allow ssh on localhost, this could come from some > restriction of: > -the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost > -the iptables. add to it: > $ iptables -A INPUT -i lo -j ACCEPT > $ iptables -A OUTPUT -o lo -j ACCEPT > > What I should be getting is this: > > Testing your nxserver connection ... > HELLO NXSERVER - Version 3.2.0-74-TEAMBZR104 OS (GPL, using backend: 3.5.0) > NX> 105 quit > Quit > NX> 999 Bye > <--- done > > I did not change anything in sshd_config. > But I downgraded to: openssh-6.9_p1-r2 and nxserver connects OK. > > What could be the problem with new: openssh-7.1_p1-r2 I think the reason is that OpenSSH 7.0 disables ssh-dss keys by default https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html And and nxserver is using ssh-dss keys by default. I have to find a way a way to replace the ssh-dss key in: /etc/nxserver/ with RSA one. Do I just run: ssh-keygen -t rsa and copy the key pair to /etc/nxserver/ directory? -- Thelma