Re: [gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Walter Dnes
On Fri, Jul 10, 2020 at 08:36:03PM -0400, Walter Dnes wrote
> 
> The question is how did .ssh/config ever get there in the first place?

  Would the following activity trigger creation of .ssh/config ??

* at the end of the Gentoo minimal install I rebooted
* oops; can't do passwordless ssh in to root (the only account)
* walked over to laptop; tweaked sshd_config to allow root login via
  password (I'm behind a NATting router); and restarted sshd
* ssh into laptop and ran ssh-keygen
* walked back to desktop and pushed .ssh/id_rsa.pub from desktop root
  and waltdnes accounts to .ssh/authorized_keys on laptop
* confirmed that desktop could do passwordless ssh to laptop
* walked over to laptop; tweaked sshd_config to forbid root login via
  password; and restarted sshd

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Grant Taylor

On 7/10/20 6:36 PM, Walter Dnes wrote:

   The question is how did .ssh/config ever get there in the first place?


Seeing as how there is a Host entry with your notebook's name, I can 
only speculate that you, or something you ran, put it there.


I find the KeyAlgorithms line to be atypical as well.

Is there a chance that you used a fancy wrapper, possibly menu driven, 
that might have updated the ~/.ssh/config file?




--
Grant. . . .
unix || die



Re: [gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Walter Dnes
On Fri, Jul 10, 2020 at 07:49:37PM -0400, Rich Freeman wrote

> Keep in mind that the username is set by the CLIENT, not the server,
> so that is where the issue lies if it isn't using the username you
> want it to.

  Doing some more googling.  Lots of hits about people who want to log
in as root (opposite of me).  Apparently, you need a .ssh/config file to
force that.  I don't remember ever setting one one up.  But I looked in
.ssh; lo and behold, there it was.  "cat" showed that its contents were

Host thimk
KexAlgorithms +diffie-hellman-group1-sha1
  User root

  I renamed the file, and behaviour returned to expected behaviour...

[i660][waltdnes][~] ssh thimk
[thimk][waltdnes][~]

  The question is how did .ssh/config ever get there in the first place?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Rich Freeman
On Fri, Jul 10, 2020 at 7:37 PM Jack  wrote:
>
> On 2020.07.10 19:08, Walter Dnes wrote:
> >   I've done the preliminary setup on my laptop install, and copied the
> > package names I wanted into the world file.  With dependancies thrown
> > in, the laptop is now compiling 268 ebuilds of various sizes.
> >
> >   One thing I noticed while setting up.  I ssh in from my desktop PC
> > to
> > the Thinkpad laptop (named "thimk" ) to set things up.  The default
> > seems to be to come in to the root account, unless I override.  User
> > "waltdnes" on my desktop does not default to coming in as user
> > "waltdnes" on my laptop.  I have to specify a non-root user.  See
> > below.
> >
> > [i660][waltdnes][~] ssh thimk
> > [thimk][root][~]
> >
> > [i660][waltdnes][~] ssh waltdnes@thimk
> > [thimk][waltdnes][~]
> >
> >   Is this a recent change?
> Have you tried ssh -v, or even multiple -v's?
>
> What versions?  I've got openssh-8.3_p1-r2, and haven't seen any such
> issues.

Keep in mind that the username is set by the CLIENT, not the server,
so that is where the issue lies if it isn't using the username you
want it to.

-- 
Rich



Re: [gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Jack

On 2020.07.10 19:08, Walter Dnes wrote:

  I've done the preliminary setup on my laptop install, and copied the
package names I wanted into the world file.  With dependancies thrown
in, the laptop is now compiling 268 ebuilds of various sizes.

  One thing I noticed while setting up.  I ssh in from my desktop PC  
to

the Thinkpad laptop (named "thimk" ) to set things up.  The default
seems to be to come in to the root account, unless I override.  User
"waltdnes" on my desktop does not default to coming in as user
"waltdnes" on my laptop.  I have to specify a non-root user.  See  
below.


[i660][waltdnes][~] ssh thimk
[thimk][root][~]

[i660][waltdnes][~] ssh waltdnes@thimk
[thimk][waltdnes][~]

  Is this a recent change?

Have you tried ssh -v, or even multiple -v's?

What versions?  I've got openssh-8.3_p1-r2, and haven't seen any such  
issues.  I do have a problem where ssh from my laptop (artix linux) to  
my desktop (Gentoo) almost immedaitely closes the connection, but if I  
ssh from laptop to a different laptop or desktop, and then to the  
Gentoo desktop, it works fine.  If it annoys me enough, I'll eventually  
post it here as a new issue.


I'd also check UID's not just names, just in case, although I can't  
think why it would matter.  Is there anything strange in ssh.config or  
sshd.config on either side?  You might compare sshd.config on the two  
boxes.




[gentoo-user] ssh defaults to coming in as user "root"?

2020-07-10 Thread Walter Dnes
  I've done the preliminary setup on my laptop install, and copied the
package names I wanted into the world file.  With dependancies thrown
in, the laptop is now compiling 268 ebuilds of various sizes.

  One thing I noticed while setting up.  I ssh in from my desktop PC to
the Thinkpad laptop (named "thimk" ) to set things up.  The default
seems to be to come in to the root account, unless I override.  User
"waltdnes" on my desktop does not default to coming in as user
"waltdnes" on my laptop.  I have to specify a non-root user.  See below.

[i660][waltdnes][~] ssh thimk
[thimk][root][~]

[i660][waltdnes][~] ssh waltdnes@thimk
[thimk][waltdnes][~]

  Is this a recent change?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Re: keepassxc 2.6.0 strange rendering (update)

2020-07-10 Thread Tamer Higazi

Can this be the problem ?

best, Tamer

tamer@tux ~ $ /opt/AppImages/KeePassXC-2.6.0-x86_64.AppImage
QObject::startTimer: Timers cannot have negative intervals
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization 
failed



On 2020-07-10 11:40, Tamer Higazi wrote:

Hi people,

I wanted to try keepassxc 2.6.0, but the output looks really nonsense 
and the output looks entirely "broken".
I uploaded the screenshot at "imgur" imagehost. url: 
https://imgur.com/WfrrP0T



I tried the same with the AppImage from the maintainer, the result is 
the same.



Any ideas what is going on ?


best, Tamer





Re: [gentoo-user] keepassxc 2.6.0 strange rendering (SOLVED)

2020-07-10 Thread Tamer Higazi

Hi everybody,

strange... i changed the theme to "high contrast" logged out (i 
restarted my machine) and just recently logged in.


And keepassxc 2.6.0 works without any problems. nothing is broken 

strange.


best, Tamer

On 2020-07-10 13:17, Tamer Higazi wrote:

Hi Neil,

Which Theme for xfce do I have to use ?
Or, what additional packages do I have to install ?

I tried now different themes, the result remains the same.

These are in XFCE:

menu -> settings -> appearance

there i have all the themes listed.


best, Tamer

On 2020-07-10 13:08, Neil Bothwick wrote:

On Fri, 10 Jul 2020 11:56:26 +0200, Tamer Higazi wrote:


Hi Victor,

I am on XFCE, Version 4.14

This is only with version 2.6.0, the version before (2.5.4) is rendered
correctly.

The theming and appearance has changed significantly for 2.6.0 so it
could well be a theme issue that did not previously affect KeePassXC.


best, Tamer

On 2020-07-10 11:53, Victor Ivanov wrote:

This is most curious. Under KDE Plasma version 2.6.0 works flawlessly.
What DE are you using?

Have you tried to force one of the other themes under "View > Theme"?
By default it will try to use your desktop environment's current
theme.

Regards,
Victor








Re: [gentoo-user] Two new-install questions

2020-07-10 Thread Walter Dnes
On Fri, Jul 10, 2020 at 06:41:31AM +0100, Ashley Dixon wrote
> On Fri, Jul 10, 2020 at 06:39:54AM +0100, Ashley Dixon wrote:
> > Summarised, this dependency is triggered by  CONFIG_IKHEADERS, which
> > has been configured too obscure to pull in cpio for everyone, (hence
> > the  WONTFIX  status for the latter bug report).
> 
> My apologies for a small typo. This should read "...which has been
> _determined_ too obscure...".

  Thank you.  That's a relief.  I was afraid that I had missed something
during the install process.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Tamer Higazi

Hi people,

I wanted to try keepassxc 2.6.0, but the output looks really nonsense 
and the output looks entirely "broken".
I uploaded the screenshot at "imgur" imagehost. url: 
https://imgur.com/WfrrP0T



I tried the same with the AppImage from the maintainer, the result is 
the same.



Any ideas what is going on ?


best, Tamer




Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Neil Bothwick
On Fri, 10 Jul 2020 13:17:44 +0200, Tamer Higazi wrote:

> Hi Neil,
> 
> Which Theme for xfce do I have to use ?
> Or, what additional packages do I have to install ?

I think it may help to change the theme in KeePassXC. Here, the classic
theme restores the previous appearance. Not that the new theme isn't
pleasant, when it works.

> I tried now different themes, the result remains the same.
> 
> These are in XFCE:
> 
> menu -> settings -> appearance
> 
> there i have all the themes listed.
> 
> 
> best, Tamer
> 
> On 2020-07-10 13:08, Neil Bothwick wrote:
> > On Fri, 10 Jul 2020 11:56:26 +0200, Tamer Higazi wrote:
> >  
> >> Hi Victor,
> >>
> >> I am on XFCE, Version 4.14
> >>
> >> This is only with version 2.6.0, the version before (2.5.4) is
> >> rendered correctly.  
> > The theming and appearance has changed significantly for 2.6.0 so it
> > could well be a theme issue that did not previously affect KeePassXC.
> >  
> >> best, Tamer
> >>
> >> On 2020-07-10 11:53, Victor Ivanov wrote:  
> >>> This is most curious. Under KDE Plasma version 2.6.0 works
> >>> flawlessly. What DE are you using?
> >>>
> >>> Have you tried to force one of the other themes under "View >
> >>> Theme"? By default it will try to use your desktop environment's
> >>> current theme.
> >>>
> >>> Regards,
> >>> Victor
> >>> 
> >
> >
> >  
> 




-- 
Neil Bothwick

C:\BELFRY is where I keep my .BAT files ^^^oo^^^


pgpWbhBaNPLSX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Two new-install questions

2020-07-10 Thread Alexey Mishustin
пт, 10 июл. 2020 г. в 08:27, Walter Dnes :

>   2) When building xorg-server I got a news item about the "suid" flag
> soon no longer being default for xorg-server.  I forced it manually on
> my laptop and desktop.  The other 3 options were...
>
>   * systemd... no thanks.
>   * elogind... with PAM doing the authentication... no thanks.  I've
> tangled with PAM in the past once too often.
>   * some memory-heavy "desktop environment" on my 3-gigs-ram-laptop...
> no thanks.

There is a way to run rootless X without elogind:

For Nouveau and Intel video cards except xorg modesetting driver:
https://wiki.gentoo.org/wiki/Non_root_Xorg

For AMD video cards and/or xorg modesetting driver:
https://forums.gentoo.org/viewtopic-t-1092792-start-0.html

-- 
Regards,
Alex



Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Francesco Turco
On Fri, Jul 10, 2020, at 11:40, Tamer Higazi wrote:
> I wanted to try keepassxc 2.6.0, but the output looks really nonsense 
> and the output looks entirely "broken".

I mostly fixed the problem on my system with the following steps:
1. I installed the Breeze theme (kde-frameworks/breeze-icons)
2. I applied the Breeze theme system-wide with qt5ct
3. I restarted KeePassXC

-- 
https://fturco.net/



Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Tamer Higazi

Hi Neil,

Which Theme for xfce do I have to use ?
Or, what additional packages do I have to install ?

I tried now different themes, the result remains the same.

These are in XFCE:

menu -> settings -> appearance

there i have all the themes listed.


best, Tamer

On 2020-07-10 13:08, Neil Bothwick wrote:

On Fri, 10 Jul 2020 11:56:26 +0200, Tamer Higazi wrote:


Hi Victor,

I am on XFCE, Version 4.14

This is only with version 2.6.0, the version before (2.5.4) is rendered
correctly.

The theming and appearance has changed significantly for 2.6.0 so it
could well be a theme issue that did not previously affect KeePassXC.


best, Tamer

On 2020-07-10 11:53, Victor Ivanov wrote:

This is most curious. Under KDE Plasma version 2.6.0 works flawlessly.
What DE are you using?

Have you tried to force one of the other themes under "View > Theme"?
By default it will try to use your desktop environment's current
theme.

Regards,
Victor
  








Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Neil Bothwick
On Fri, 10 Jul 2020 11:56:26 +0200, Tamer Higazi wrote:

> Hi Victor,
> 
> I am on XFCE, Version 4.14
> 
> This is only with version 2.6.0, the version before (2.5.4) is rendered 
> correctly.

The theming and appearance has changed significantly for 2.6.0 so it
could well be a theme issue that did not previously affect KeePassXC.

> 
> best, Tamer
> 
> On 2020-07-10 11:53, Victor Ivanov wrote:
> >
> > This is most curious. Under KDE Plasma version 2.6.0 works flawlessly.
> > What DE are you using?
> >
> > Have you tried to force one of the other themes under "View > Theme"?
> > By default it will try to use your desktop environment's current
> > theme.
> >
> > Regards,
> > Victor
> >  
> 




-- 
Neil Bothwick

Penis Envy is a total Phallusy.


pgpErS8ulCIle.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Tamer Higazi

Hi Victor,

I am on XFCE, Version 4.14

This is only with version 2.6.0, the version before (2.5.4) is rendered 
correctly.



best, Tamer

On 2020-07-10 11:53, Victor Ivanov wrote:


This is most curious. Under KDE Plasma version 2.6.0 works flawlessly.
What DE are you using?

Have you tried to force one of the other themes under "View > Theme"? By
default it will try to use your desktop environment's current theme.

Regards,
Victor





Re: [gentoo-user] keepassxc 2.6.0 strange rendering

2020-07-10 Thread Victor Ivanov
On 10/07/2020 10:40, Tamer Higazi wrote:
> I wanted to try keepassxc 2.6.0, but the output looks really nonsense
> and the output looks entirely "broken".
> I uploaded the screenshot at "imgur" imagehost. url:
> https://imgur.com/WfrrP0T
> 
> 
> I tried the same with the AppImage from the maintainer, the result is
> the same.
> 
> 
> Any ideas what is going on ?
> 

This is most curious. Under KDE Plasma version 2.6.0 works flawlessly.
What DE are you using?

Have you tried to force one of the other themes under "View > Theme"? By
default it will try to use your desktop environment's current theme.

Regards,
Victor



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Joining PDF files together.

2020-07-10 Thread Alan Mackenzie
Hello, everybody on Gentoo.

On Thu, Jul 09, 2020 at 13:31:36 +, Alan Mackenzie wrote:
> I've just scanned in a two-page document using sane, and it's given me
> as output two separate files.  I would like to join these together into
> a single document.

> Would somebody please suggest to me an appropriate package to do this
> with.

Thanks to everybody who responded with a suggestion.  In the end, I used
pdfunite, simply because it was there.  I don't have (and don't want)
Java on my system, so that ruled out pdftk.

Gerrit, you were quite right about sane producing ludicrously large PDF
files.  I should have cut my file down before emailing it off, but
laziness got the better of me.  :-(

gentoo-user is a tremendous group!

> Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).