Como matar un proceso que inicia al arrancar es sistema

2020-08-08 Thread Jose Alfonso
Como podría matar un proceso que me inicia cuando arranco osea yo
arranco en modo consola y es cuando inicia el proceso, cree un script
que lo mata con kill pero no se como ponerlo para que cuando inicie se
ejecute ese script.



a little bit off-topic (Was: Re: Python 3 Segmentation Fault)

2020-08-08 Thread 황병희
Cindy Sue Causey  writes:

> Mine's Python 3.8.5 on Bullseye..

Howdy, Cindy^^^
*Because* i like very so much Bullseye^^^ 

Sincerely, Byung-Hee from South Korea

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//


Re: Python 3 Segmentation Fault

2020-08-08 Thread 황병희
Dear Arun,

"J.Arun Mani"  writes:

> Hello.
> I'm using Debian Testing (upgraded from Debian 10). Today I started Python 3, 
> but it was not able to interpret any
> commands from stdin and resulted in Segmentation Fault. Luckily
> modules (python3 -m ) and files ...

Just i guess because you are in Debian *Testing*. Many people say Testing
is always dangerous. So you would be try to Debian stable or Ubuntu LTS?

Sincerely, Byung-Hee (my python3 is 3.6.9 in Ubuntu 18.04 LTS)

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//



Re: Homebuilt NAS Advice

2020-08-08 Thread Celejar
On Fri, 7 Aug 2020 18:02:11 -0400
rhkra...@gmail.com wrote:

> On Friday, August 07, 2020 01:36:21 PM Celejar wrote:
> > On Fri, 7 Aug 2020 17:21:44 +0100
> > 
> > Jonathan Dowland  wrote:
> > > On Thu, Aug 06, 2020 at 12:03:56PM -0400, Celejar wrote:
> > > >Ah, okay. So IIUC, each time you backup you do a full backup, and you
> > > >then convert the previous backups into the reverse of the more common
> > > >incremental / differential backups.
> > > 
> > > It's an implementation detail: rdiff-backup does it too, I suspect it's
> > > commonly done. From what I recall many version control systems do
> > > something similar.
> > 
> > Thanks. But what's the advantage? Isn't it more work on each backup (of
> > which there are typically many), in exchange for less work on restores
> > (which are typically quite rare)? What am I missing?
> 
> Ok, I went back and did a little research.  RCS, one of the early version 
> control systems, used reverse deltas for the main line of development -- 
> forward deltas for branches, it's a long story ;-).  
> 
> The intent of the reverse deltas in RCS (according to the Tichy paper) was 
> (is) to allow fast checkout of the most recent version.

Fair enough. But less applicable in the case of backups, since restores
are quite rare, as I've been pointing out.

> [[https://docs.lib.purdue.edu/cgi/viewcontent.cgi?article=1393=cstech]
> [RCS: A System for Version Control - Purdue e-Pubs]]

Celejar



Re: GIMP Crash

2020-08-08 Thread 황병희
Ryan Young  writes:

> Here is the bug info
>
> ```
> GNU Image Manipulation Program version 2.10.8

In that case, if you are in Debian, you would be send bug report.
So that the maintainer can be know what problem is.

https://www.debian.org/Bugs/Reporting

Actually, you must add contain keywords "Package" and "Version" ;;;

Sincerely, Byung-Hee

-- 
^고맙습니다 _白衣從軍_ 감사합니다_^))//



Re: Homebuilt NAS Advice

2020-08-08 Thread deloptes
Stefan Monnier wrote:

> I have a total of 9 drives currently "in use" (i.e. which I'd have to
> replace if they were to die).  I suspect you have many more.

Also the quality of the drives is important. Leslie puts a 10G network
interface, but by the speed you calculated, he has either poor controller
and/or poor drives.

I found out best drives for NAS and home server (in terms of price/quality)
were WD Red precisely WD20EFRX. I saw last year there were complains of the
3 and 4TB drives, but the 2TB are solid.
So in about 15y I replaced many IDE and later SATA drives, but since I use
the WD20EFRX I did not have any issues.
So the high number Leslie replaces might have a different cause.






Re: xterm no title (buster)

2020-08-08 Thread Marc SCHAEFER
On Sat, Aug 08, 2020 at 02:22:44PM -0700, Mike Kupfer wrote:
> I assume you're using the system xterm, not something in /usr/local or
> $HOME.

yes
schaefer@reliand:~$ which xterm
/usr/bin/xterm

(BTW was working nice before upgrade to buster)


> Could the problem be locale-related?  I have
> 
>   LANG=en_US.UTF-8
>   XTERM_LOCALE=en_US.UTF-8

I tried setting the locale to

LANG=fr_CH.UTF-8
XTERM_LOCALE=fr_CH.UTF-8

and clearing the other settings to no avail.

I will do some tests tomorrow on a fresh buster install.



Re: Homebuilt NAS Advice

2020-08-08 Thread Stefan Monnier
>   Oh, for goodness sake!  The BPi uses less than 1 ampere at 5V.
>   That is under 5W, or 120 watt-hours per day.  In a year, it will use
>   less than 40 KWH.  At $0.12 per KWH, that is $5 or less, for full
>   year in operation.  The external enclosure will no doubt use more,
>   although if it hosts SSDs, then perhaps not.  Is $10 or $15 a year
>really a large burden for you?

The question is not whether I can but whether I should.

>> I've had to deal with 2 failed drives over my lifetime so far ;-)
>   You must be quite young or else not do much computing.

I don't do much computing, I guess (but I'm a CS professor and a Free
Software developer in my spare time, so I do use computers for most of
my waking life).

>   Three to 4 drives a month is about average, for me.

I have a total of 9 drives currently "in use" (i.e. which I'd have to
replace if they were to die).  I suspect you have many more.


Stefan



Re: xterm no title (buster)

2020-08-08 Thread Mike Kupfer
Marc SCHAEFER wrote:

> I have a funny problem since I upgraded my laptop to buster: xterm does not
> have any title.
> 
> It is the only window that has this problem. I did not see anything special in
> the .Xresources.
> 
> Anyone having this issue ?

I can't reproduce the problem (MATE, marco, xterm).  xterm comes up with
a title of "xterm", and I can set it to something else via an escape
sequence.

I assume you're using the system xterm, not something in /usr/local or
$HOME.

Could the problem be locale-related?  I have

  LANG=en_US.UTF-8
  XTERM_LOCALE=en_US.UTF-8

regards,
mike



Re: Homebuilt NAS Advice

2020-08-08 Thread Leslie Rhorer

On 8/7/2020 9:48 PM, Stefan Monnier wrote:

No, I am talking about "Extra space taken, extra power used 24/7".
An external device just does not use that much power


It can easily end up consuming about as much power as my BananaPi, so it
risks doubling the power consumption.


	Oh, for goodness sake!  The BPi uses less than 1 ampere at 5V.  That is 
under 5W, or 120 watt-hours per day.  In a year, it will use less than 
40 KWH.  At $0.12 per KWH, that is $5 or less, for  full year in 
operation.  The external enclosure will no doubt use more, although if 
it hosts SSDs, then perhaps not.  Is $10 or $15 a year really a large 
burden for you?



or take a lot of space.


I suspect my wife would disagree.


	The unit in the link I provided is smaller than a 2 liter bottle of 
soda.  If your wife won't let you have that much room, you have bigger 
problems than a failed drive.



I've had to deal with 2 failed drives over my lifetime so far ;-)


	You must be quite young or else not do much computing.  Three to 4 
drives a month is about average, for me.




The only really valuable data that I produce is code, and when I lose the
last N hours of code I wrote, it takes me much less than N hours to
reproduce it.


	That is still N hours.  I can't afford to lose N hours.  An extra hard 
drive costs less than 30 minutes of my time.



 And drive failure is but one reason why I sometimes lose code.


	Indubitably.  I do a great deal more than just write code, but with the 
exception of the aforementioned Windows system, it has been years since 
I lost anything for any reason other than my own stupidity.



I've been a sysadmin, and have used RAID then (there wasn't even
a question of using RAID or not).  But different use-cases call for
different choices.


Without question.


Yes, I agree that RAID can be handy in some contexts.

No, it is *ESSENTIAL* whenever time and data are important.


Redundancy is essential, yes.  RAID is one way to get redundancy.
Not the only one.


	OK, but RAID is the fastest, easiest, and least expensive way of 
preventing loss due to a drive failure.




Re: xterm no title (buster)

2020-08-08 Thread mick crane

On 2020-08-08 17:52, Marc SCHAEFER wrote:

> What about if you use another window-manager and/or desktop-environment?

I haven't tried that yet.


I just tried twm and it says "Untitled" even with xterm -T abcd &


with Buster it looks like I have
window manager XFwm4
display manager lightdm
desktop environment xfce4

xterm has "mick@slinky:~" in the top left bit.

mick

--
Key ID4BFEBB31



GIMP Crash

2020-08-08 Thread Ryan Young
Here is the bug info

```
GNU Image Manipulation Program version 2.10.8
git-describe: GIMP_2_10_6-294-ga967e8d2c2
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-13'
--with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr
--with-gcc-major-version-only --program-suffix=-8
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin
--enable-default-pie --with-system-zlib --with-target-system-zlib
--enable-objc-gc=auto --enable-multiarch --disable-werror
--with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32
--enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none
--without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.2.0 (Debian 8.2.0-13)

using GEGL version 0.4.12 (compiled against version 0.4.12)
using GLib version 2.58.3 (compiled against version 2.58.1)
using GdkPixbuf version 2.38.1 (compiled against version 2.38.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.42.3 (compiled against version 1.42.3)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 16588 - Thread 16588 #

[New LWP 16589]
[New LWP 16590]
[New LWP 16592]
[New LWP 16593]
[New LWP 16605]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__libc_read (nbytes=256, buf=0x7ffd5bc55ed0, fd=16) at
../sysdeps/unix/sysv/linux/read.c:26
  Id   Target Id   Frame
* 1Thread 0x7a5aacd05e00 (LWP 16588) "gimp-2.10"   __libc_read
(nbytes=256, buf=0x7ffd5bc55ed0, fd=16) at
../sysdeps/unix/sysv/linux/read.c:26
  2Thread 0x7a5aab4ad700 (LWP 16589) "gmain"   0x7a5aae982819
in __GI___poll (fds=0x581ef2edf1c0, nfds=2, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
  3Thread 0x7a5aaa957700 (LWP 16590) "gdbus"   0x7a5aae982819
in __GI___poll (fds=0x581ef2eb76a0, nfds=2, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
  4Thread 0x7a5a97ac8700 (LWP 16592) "async"   syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5Thread 0x7a5a972c7700 (LWP 16593) "worker"  syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6Thread 0x7a5a95e51700 (LWP 16605) "swap writer" syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 6 (Thread 0x7a5a95e51700 (LWP 16605)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x7a5aaec97f9f in g_cond_wait () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x7a5aaf3310cd in ?? () from
/usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
No symbol table info available.
#3  0x7a5aaec76415 in ?? () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x7a5aaea5efa3 in start_thread (arg=) at
pthread_create.c:486
ret = 
pd = 
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {134529480464128,
4780554623439464532, 140726143112750, 140726143112751, 134529480464128,
96889976575168, -5268408010271233964, -5268459145313916844}, mask_was_saved
= 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup =
0x0, canceltype = 0}}}
not_first_call = 
#5  0x7a5aae98d4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 5 (Thread 0x7a5a972c7700 (LWP 16593)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1  0x7a5aaec97f9f in g_cond_wait () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x581ef15b6423 in ?? ()
No symbol table info available.
#3  0x7a5aaec76415 in ?? () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0x7a5aaea5efa3 in start_thread (arg=) at
pthread_create.c:486
ret = 
pd = 
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {134529501918976,
4780554623439464532, 140726143118094, 140726143118095, 134529501918976,
96889925393344, -5268403142999545772, -5268459145313916844}, mask_was_saved
= 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup =
0x0, canceltype = 0}}}

Cups preserve job files

2020-08-08 Thread Bhasker C V
Hi,

 I am on bulls-eye.

 For the purpose of history I want to preserve the job files (not just
the job list)

 I understand that cups has

  PreserveJobFiles  which tells the job to be preserved.

 I cannot find out where the job files are preserved and also cannot
find out an option to control how long the job files are preserved.

 I want to also change the location of the jobfiles being preserved to
an encrypted path.

 Could someone help me with these please ?

thanks

-- 
Bhasker C V
Secure Mails: http://keys.gnupg.net/pks/lookup?op=get=0x4D05FEEC54E47413
Registered Linux User: #306349 



Re: xterm no title (buster)

2020-08-08 Thread Marc SCHAEFER
> > What about if you use another window-manager and/or desktop-environment?
> 
> I haven't tried that yet.

I just tried twm and it says "Untitled" even with xterm -T abcd &



Re: is there a way to corrupt the BIOS and/or the keybord on you laptop from the Internet? ...

2020-08-08 Thread Linux-Fan

Albretch Mueller writes:


 I found those links but not thorough Information:


[...]


 I browse the Internet using a USB wifi dongle and Windows and then
take out the drive and use Linux for my own business.

 I removed the network and bluetooth cards, as well as the wireless
antenna of that laptop, but I still notice that when I writing both
code and on to the shell characters are miswritten or not written at
all or apparently charaters get written in "temperamental" ways that
hit to some "memory"/"intelligence".

 I also know that keyboards have internal memory chips.


[...]


 How can you reset/wipe the keyboard controller?

 How could this be explained "technically"?

 What do you think might be "technically" going on?


Technically, I would think that you are experiencing either a hardware fault
or a driver issue. I know that on my laptop, there is an issue wrt. some
keys endlessly repeating under certain cirumstances and I have always
thought it to be an issue regarding the driver rather than the BIOS' fault.
I could not reproduce the issue outside Linux, but it only happens
occasionally thus not sure if it is that.

On desktop keyboards (mechanical ones...) I have experienced key chatter
(duplicate keys when pressed once) but these were always hardware faults
most likely caused by dust.

That being said if somehow your BIOS or other firmware were corrputed it
would be quite unlikely to be fixable for less than getting new hardware.
On some (new and expensive?) Desktop systems, there are dedicated buttons
to use a different BIOS located on a separate chip but I have never seen
such a thing for laptops...

HTH
Linux-Fan


pgp_6p05Vl96S.pgp
Description: PGP signature


Re: is there a way to corrupt the BIOS and/or the keybord on you laptop from the Internet? ...

2020-08-08 Thread Kenneth Parker
On Sat, Aug 8, 2020, 10:25 AM Albretch Mueller  wrote:

>  I found those links but not thorough Information:
>
>
> https://linux.slashdot.org/story/02/06/15/1416224/a-web-browser-in-your-bios
>
>  https://stackoverflow.com/questions/7531000/javascript-access-to-hardware


I will take the first part:  Color me Skeptical on both of them.  (And that
matches the Comments on both articles).

Good luck!

Kenneth Parker

-

 Here is my problem:
>
>  I browse the Internet using a USB wifi dongle and Windows and then
> take out the drive and use Linux for my own business.
>
>  I removed the network and bluetooth cards, as well as the wireless
> antenna of that laptop, but I still notice that when I writing both
> code and on to the shell characters are miswritten or not written at
> all or apparently charaters get written in "temperamental" ways that
> hit to some "memory"/"intelligence".
>
>  I also know that keyboards have internal memory chips.
>
>  https://en.wikipedia.org/wiki/Keyboard_controller_(computing)
>
>
> https://reverseengineering.stackexchange.com/questions/6388/storing-files-on-keyboard-memory
>
>  How can you reset/wipe the keyboard controller?
>
>  How could this be explained "technically"?
>
>  What do you think might be "technically" going on?
>
>  lbrtchx
>
>


Re: xterm no title (buster)

2020-08-08 Thread Marc SCHAEFER
On Sat, Aug 08, 2020 at 08:25:39AM -0400, Stefan Monnier wrote:
> Does it affect other terminal emulators?

no, mate-terminal is not affected.

> Have you checked whether the problem also shows up for a freshly created
> user (i.e. without any config of your own)?

yes, it does.

> What about if you use another window-manager and/or desktop-environment?

I haven't tried that yet.

also:

On Sat, Aug 08, 2020 at 02:42:18PM +0200, to...@tuxteam.de wrote:
> Xterm's title is most probably your window manager's job. What's yours?

MATE marco.



Re: ssh key used for login

2020-08-08 Thread echo test
If what you use is a certificate based authentication, you can add user
identity to the certificate with -I .
Any auth attempt will make that identity logged automatically. Then you
just have to get it from syslogs.



Le sam. 8 août 2020 à 02:26, Kushal Kumaran  a écrit :

> Rainer Dorsch  writes:
>
> > Hi,
> >
> > can anybody tell if there is a way to find out the ssh key (out of the
> ones
> > listed in authorized keys) was used for login to the current session?
> >
>
> See the environment="NAME=value" part in the authorized_keys(5) manpage.
> You can have each entry in authorized_keys set a different value for
> some variable you pick.
>
> You may also be able to use command="command" creatively.  This is what
> gitolite does: https://gitolite.com/gitolite/glssh
>
> --
> regards,
> kushal
>
>


Re: BIOS time fine, Linux/Debian's isn't! ...

2020-08-08 Thread Andrew Cater
Hi Albretch,

If I'm reading your question correctly:

Why can't you set the locale for one country, the timezone for a second,
the keyboard for a third?

You can. As root or equivalent, you can reset timezone with

dpkg-reconfigure -plow tzdata

[That's the dpkg-reconfigure command, -plow to force asking low priority
questions rather than taking the default answers, and tzdata being the file
that sets the timezone.]

dpkg-reconfigure -plow console-setup

[dpkg-reconfigure -plow and then the console-setup program. That might not
be installed by default, so you might have to apt-get / apt install
console-setup which will reset the keyboard layout that you see in a
terminal - UTF-8 is usually a good choice to start with.]

dpkg-reconfigure -plow locales

will set the system wide language and spelling defaults etc. using the
locales package and allow you to switch between locales

If you want to be asked all the questions at low priority during the
install, consider using the expert install method which will ask _all_ the
questions that a standard install sets automatically - if you set your
locale to British English during the install, it will provide
England/London or GMT as options for timezone and your keyboard to British
UK layout, for example.

Live well

Andy C.

On Sat, Aug 8, 2020 at 2:12 PM Albretch Mueller  wrote:

>  On the installer it says:
>
>  Configure clock: if the desired time zone is not listed ...
>
>  Select your time zone:
>
>
> https://manjaro.site/step-by-step-install-debian-9-0-netinstall-version/install-debian-9-0-configure-clock/
>
>  but why can't you set up your computer as US English and be, say, in
> the Ukraine with the time from there?
>
>  lbrtchx
>
>


Re: Alguna documentación sobre crear uma distro hija, osea una distro basada en otra??

2020-08-08 Thread walter




Camaleón:

El 2020-08-07 a las 11:58 -0700, Jose Alfonso escribió:


Algo acerca del asunto por favor!? he buscado por la red pero lo único
que me aparece es crear un From Scratch y eso es una distro desde
cero, yo lo que quiero hacer es un proyecto personal pero ni proyecto
es, es solo que quiero quitarle algunos paquetes a un ISO de ubuntu y
añadirle otros tbien para eliminarle todo el entorno grafico y
portarlo a una USB. Si alguien sabe por favor respondame al correo.!

DebianCustomCD
https://wiki.debian.org/DebianCustomCD

Saludos,


yo lo habia hecho con Remastersys

https://es.wikipedia.org/wiki/Remastersys

hace mucho... sobre Debian...
lo hice para uso en una empresa.. (con su software, logo.. fondos y 
protectores de pantallas con avisos, proxy, etc etc)

luego solo era instalar y detalles finales...
esta muy bueno... porque.. por ejemplo eran 60 equipos y 5 impresoras... 
instalaba todo
luego de una reinstalacion... en 15 minutos tenia el equipo en marcha 
otra vez...




is there a way to corrupt the BIOS and/or the keybord on you laptop from the Internet? ...

2020-08-08 Thread Albretch Mueller
 I found those links but not thorough Information:

 https://linux.slashdot.org/story/02/06/15/1416224/a-web-browser-in-your-bios

 https://stackoverflow.com/questions/7531000/javascript-access-to-hardware

 Here is my problem:

 I browse the Internet using a USB wifi dongle and Windows and then
take out the drive and use Linux for my own business.

 I removed the network and bluetooth cards, as well as the wireless
antenna of that laptop, but I still notice that when I writing both
code and on to the shell characters are miswritten or not written at
all or apparently charaters get written in "temperamental" ways that
hit to some "memory"/"intelligence".

 I also know that keyboards have internal memory chips.

 https://en.wikipedia.org/wiki/Keyboard_controller_(computing)

https://reverseengineering.stackexchange.com/questions/6388/storing-files-on-keyboard-memory

 How can you reset/wipe the keyboard controller?

 How could this be explained "technically"?

 What do you think might be "technically" going on?

 lbrtchx



Re: BIOS time fine, Linux/Debian's isn't! ...

2020-08-08 Thread Albretch Mueller
 On the installer it says:

 Configure clock: if the desired time zone is not listed ...

 Select your time zone:

 
https://manjaro.site/step-by-step-install-debian-9-0-netinstall-version/install-debian-9-0-configure-clock/

 but why can't you set up your computer as US English and be, say, in
the Ukraine with the time from there?

 lbrtchx



Re: xterm no title (buster)

2020-08-08 Thread tomas
On Sat, Aug 08, 2020 at 01:09:13PM +0200, Marc SCHAEFER wrote:
> On Sat, Aug 08, 2020 at 09:47:56AM +, Long Wind wrote:
> > have you looked at .bashrc?
> 
> Actually, I have sent the usual title escape sequence: it works in 
> mate-terminal,
> but xterm's title remains blank.

Xterm's title is most probably your window manager's job. What's yours?

Cheers
-- t


signature.asc
Description: Digital signature


Re: xterm no title (buster)

2020-08-08 Thread Stefan Monnier
Hi Marc, long time no see,

> I have a funny problem since I upgraded my laptop to buster: xterm does not
> have any title.
> It is the only window that has this problem. I did not see anything special in
> the .Xresources.

Does it affect other terminal emulators?
Have you checked whether the problem also shows up for a freshly created
user (i.e. without any config of your own)?
What about if you use another window-manager and/or desktop-environment?

> Anyone having this issue ?

I haven't seen this here (using `ctwm` in XFCE).


Stefan



Re: Apt-get vs Aptitude vs Apt

2020-08-08 Thread Joe
On Sat, 08 Aug 2020 13:06:50 +0200
Johann Klammer  wrote:

> On 08/07/2020 10:10 PM, Joe wrote:
> > On Fri, 7 Aug 2020 13:31:53 -0400
> > Default User  wrote:
> >   
> >> Hey guys,
> >>
> >> Recently there was a thread about aptitude dependency resolution
> >> limitations.
> >>
> >> Years ago, I believe I read in the Debian documentation that
> >> aptitude was preferred to apt-get, because it seemed to have
> >> better dependency resolution.
> >>
> >> Now, we have apt, as well.
> >>
> >> So, all other things being equal, which is currently considered to
> >> be the best at dependency resolution?  
> > 
> > I believe it is still aptitude.
> > 
> > However, the length of time it takes increases sharply with number
> > of packages to be upgraded. If you have more than a hundred or so,
> > (not unusual on unstable) it may take a very long time. It is
> > usually not the method recommended for upgrading Debian stable to
> > the next version. 

> If you make use of the accept/reject function it gets kinda
> acceptable. In the dependency resolution screen you can press a and r
> to accept and reject the selected action. 
> together with ',' and '.' you'll get where you want.

Yes, but the time taken is to actually calculate the action offered.
For a few hundred packages, that can be a couple of hours. I expect
installation to take a significant time. 

I recall giving up once after about six hours, but I can't recall how
many packages were involved. It was a first unstable upgrade in about
six months, I try not to let it go that long, and upgrade my unstable
workstation almost every day.

-- 
Joe



Re: Apt-get vs Aptitude vs Apt

2020-08-08 Thread Johann Klammer
On 08/07/2020 10:10 PM, Joe wrote:
> On Fri, 7 Aug 2020 13:31:53 -0400
> Default User  wrote:
> 
>> Hey guys,
>>
>> Recently there was a thread about aptitude dependency resolution
>> limitations.
>>
>> Years ago, I believe I read in the Debian documentation that aptitude
>> was preferred to apt-get, because it seemed to have better dependency
>> resolution.
>>
>> Now, we have apt, as well.
>>
>> So, all other things being equal, which is currently considered to be
>> the best at dependency resolution?
> 
> I believe it is still aptitude.
> 
> However, the length of time it takes increases sharply with number of
> packages to be upgraded. If you have more than a hundred or so, (not
> unusual on unstable) it may take a very long time. It is usually not
> the method recommended for upgrading Debian stable to the next version.
> 
If you make use of the accept/reject function it gets kinda acceptable.
In the dependency resolution screen you can press a and r to accept and 
reject the selected action. 
together with ',' and '.' you'll get where you want.




Re: xterm no title (buster)

2020-08-08 Thread Marc SCHAEFER
On Sat, Aug 08, 2020 at 09:47:56AM +, Long Wind wrote:
> have you looked at .bashrc?

Actually, I have sent the usual title escape sequence: it works in 
mate-terminal,
but xterm's title remains blank.

Thomas Schmitt :
Also I tried the -T option, with no success.

Running MATE in marco (buster).



Re: xterm no title (buster)

2020-08-08 Thread Thomas Schmitt
Hi,

Marc SCHAEFER wrote:
> buster: xterm does not have any title.
> Anyone having this issue ?

Not on my (provisory) LXDE desktop.

xterms from the "System Tools" menu come with title "xterm".
The same with xterms started by: xterm &
xterms started by: xterm -T '' &
come up with the title "Unnamed Window".

In order to get an xterm with empty title bar, i have to do
  xterm -T ' ' &


Have a nice day :)

Thomas



Re: xterm no title (buster)

2020-08-08 Thread Long Wind
 have you looked at .bashrc?
below is in my .bashrc of home dir:
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac
On Saturday, August 8, 2020, 5:18:44 AM EDT, Marc SCHAEFER 
 wrote:  
 
 Hello,

I have a funny problem since I upgraded my laptop to buster: xterm does not
have any title.

It is the only window that has this problem. I did not see anything special in
the .Xresources.

Anyone having this issue ?

Thank you for pointers.

  

xterm no title (buster)

2020-08-08 Thread Marc SCHAEFER
Hello,

I have a funny problem since I upgraded my laptop to buster: xterm does not
have any title.

It is the only window that has this problem. I did not see anything special in
the .Xresources.

Anyone having this issue ?

Thank you for pointers.



Re: /dev/fd is missing, how comes?

2020-08-08 Thread tomas
On Sat, Aug 08, 2020 at 08:03:42AM +0200, Sven Joachim wrote:
> On 2020-08-08 07:39 +0200, Harald Dunkel wrote:
> 
> > Hi folks,
> >
> > after booting my desktop PC this morning it seems that /dev/fd is
> > missing. This breaks dkms.
> >
> > How comes? Which tool/package/service was supposed to create the
> > symlink for /dev/fd?
> 
> It used to be created by udev:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967546

Ugh.

Thanks for the heads-up.

Cheers
 - t


signature.asc
Description: Digital signature


Re: Homebuilt NAS Advice

2020-08-08 Thread Jonathan Dowland

On Wed, Aug 05, 2020 at 06:18:16PM -0500, Leslie Rhorer wrote:
	Not only that, the system is simply unavailable until the file are 
restored.  This can take hours or even days.


Much more likely weeks in my case, but that's fine. This NAS has been
running for 5 years with one interruption to service and that was a
mainboard failure. So I would expect the downtime from a dead disk to
occur once every 5 years or less, which also correlates with my
experiences with all my other personal systems (except my first attempt
of a NAS, which had more frequent disk failures which I think were
caused by thermal problems. I did use RAID-1 in that system.)

In other words, I understand the risks and impacts for RAID or not RAID
in my personal NAS, and the inconvenience of RAID far outweighs the
inconvenience of downtime when one (or both) of the 2 disks fail, since
downtime is not a big deal for this system for me and the frequency I
expect to face it is very low.

I would make, and have made, different judgement calls for business
systems in my professional life, of course. And my VPS is doubtless
RAID-backed by the ISP that supplies it; downtime for that would be
much more of an inconvenience for me than my NAS.

--
Please do not CC me, I am subscribed to the list.

  Jonathan Dowland
✎j...@debian.org
   https://jmtd.net



Re: #include

2020-08-08 Thread Camaleón
El 2020-08-07 a las 12:00 -0700, Jose Alfonso escribió:

> El 26/7/20, Camaleón  escribió:
> > El 2020-07-26 a las 15:19 -0600, Channel Herrera escribió:
> >
> >> #include  buenas algun programador en C/C++ como corrijo el
> >> error de que no existe..
> >
> > Los dos paquetes que contienen ese archivo son:
> >
> > libgtk2.0-dev
> > libgtk-3-dev
> >
> > Comprueba que tengas instalado al menos uno.

(...)

> A mi ni me instala los paquetes por lo que no puedo trabajar con gtk,
> me da errores de dependencias

¿Qué errores, exactamente?

Saludos,

-- 
Camaleón 



Re: Alguna documentación sobre crear uma distro hija, osea una distro basada en otra??

2020-08-08 Thread Camaleón
El 2020-08-07 a las 11:58 -0700, Jose Alfonso escribió:

> Algo acerca del asunto por favor!? he buscado por la red pero lo único
> que me aparece es crear un From Scratch y eso es una distro desde
> cero, yo lo que quiero hacer es un proyecto personal pero ni proyecto
> es, es solo que quiero quitarle algunos paquetes a un ISO de ubuntu y
> añadirle otros tbien para eliminarle todo el entorno grafico y
> portarlo a una USB. Si alguien sabe por favor respondame al correo.!

DebianCustomCD
https://wiki.debian.org/DebianCustomCD

Saludos, 

-- 
Camaleón 



Re: Problemas con hplip para impresora HP en Debian Bullseye

2020-08-08 Thread Camaleón
El 2020-08-07 a las 19:28 +0100, José Manuel (Abogado) escribió:

> El 7/8/20 a las 19:10, Camaleón escribió:

> > > > > Ya he reiniciado el servicio, pero me sigue saliendo en firefox lo 
> > > > > siguiente
> > > > > "Firefox no puede establecer una conexión con el servidor en 
> > > > > localhost:631."
> > > > Ejecuta y manda la salida de esta orden:
> > > > 
> > > > cat /etc/cups/cupsd.conf | grep -i -e WebInterface -e listen
> > > > 
> > > root@debianPAPA:~# cat /etc/cups/cupsd.conf | grep -i -e WebInterface -e
> > > listen
> > > Listen /run/cups/cups.sock
> > > Listen /run/cups/cups.sock
> > > WebInterface Yes

> > Edita el archivo «/etc/cups/cupsd.conf» (tendrás que hacerlo como
> > súperusuario), busca esas líneas y deja esto:
> > 
> > Listen localhost:631
> > Listen /var/run/cups/cups.sock
> > WebInterface Yes
> > 
> > Es decir:
> > 
> > Añadir localhost:631
> > Dejar sólo una línea de cups.sock (comenta # la otra)
> > Mantener webinterface
> > 
> > Guarda los cambios, reinicia el servicio de CUPS y prueba a acceder a la
> > configuracón vía web para seguir con el siguiente paso (eliminar y
> > volver a añadir la impresora).
> > 
> Gracias de nuevo y disculpa las molestias que te ocasiono.
> 
> Así queda en las primeras 10 líneas
> LogLevel warn
> PageLogFormat
> MaxLogSize 0
> localhost:631
  ^
Esta línea está mal puesta. Lo correcto es:

Listen localhost:631

(...)

> después reinicio: service cups restart
> Pero sigo igual: no puedo entrar en la página localhost:631 para borrar la
> impresora e instalarla de nuevo.
> 
> ¿debería reiniciar el sistema para estos cambios o no?

No, no es necesario. Con reiniciar (o detener e iniciar) el servicio de 
cups es suficiente, pero el archivo de configuración de CUPS debe 
contener las variables correctas.

Ya he visto que al final has reinstalado el paquete hplip y el de 
cups-daemon y la impresora ha vuelto a funcionar y el acceso a la web 
de configuración disponible, así que perfecto :-)

Saludos,

-- 
Camaleón 



Re: /dev/fd is missing, how comes?

2020-08-08 Thread Sven Joachim
On 2020-08-08 07:39 +0200, Harald Dunkel wrote:

> Hi folks,
>
> after booting my desktop PC this morning it seems that /dev/fd is
> missing. This breaks dkms.
>
> How comes? Which tool/package/service was supposed to create the
> symlink for /dev/fd?

It used to be created by udev:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967546

Cheers,
   Sven