Re: [PLUG] Auto start HTOP in tty.

2020-08-28 Thread Chuck Hast
There that brought a bunch of stuff back (old sux) and I
started seeing light flashes, as I knew I had done it in the
past but just could not remember how.

This is a server box so there is no X on it.  I will take a
look at screen/tmux, and see how that does.  Thank you
very much.


On Fri, Aug 28, 2020 at 6:34 PM King Beowulf  wrote:

> On 8/28/20 12:00 PM, Chuck Hast wrote:
> > Folks,
> > I have a server that I would like to have HTOP startup in
> > one of the TTY's so far all I find are how to do it from the
> > GUI (no gui this is a server) I would like for HTOP to start
> > in say terminal 3 for grins (I use 1 and 2 for doing changes
> > or whatever stuff I need if I am not doing it over and SSH
> > screen)
> >
> > So far I have not been able to find some instruction to have
> > a terminal (tty) start a program, any guidance here?
> >
> >
>
> As mentioned, assuming no X sessions, you can add a line to /etc/inittab
>
> For example (in Slackware):
>
> ...
> # These are the standard console login getties in multiuser mode:
> c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
> c2:12345:respawn:/sbin/agetty 38400 tty2 linux
> c3:12345:respawn:/sbin/agetty 38400 tty3 linux
> c4:12345:respawn:/sbin/agetty 38400 tty4 linux
> c5:12345:respawn:/sbin/agetty 38400 tty5 linux
> c6:12345:respawn:/sbin/agetty 38400 tty6 linux
> htop:2345:respawn:/usr/bin/htop /dev/tty7 2>&1
>
> ...
>
> That last line runs htop in tty7 accessible via ALT-F7
>
> However, a better way is to use screen or tmux (or similar).  That way
> you can access everything locally OR via ssh. If htop is already running
> on a tty, there is no good way to access it via ssh.
>
> If you are on a systemd box, then there is a config file for tty setup.
>
> -Ed
>
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>


-- 

Chuck Hast  -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Auto start HTOP in tty.

2020-08-28 Thread King Beowulf
On 8/28/20 12:00 PM, Chuck Hast wrote:
> Folks,
> I have a server that I would like to have HTOP startup in
> one of the TTY's so far all I find are how to do it from the
> GUI (no gui this is a server) I would like for HTOP to start
> in say terminal 3 for grins (I use 1 and 2 for doing changes
> or whatever stuff I need if I am not doing it over and SSH
> screen)
> 
> So far I have not been able to find some instruction to have
> a terminal (tty) start a program, any guidance here?
> 
> 

As mentioned, assuming no X sessions, you can add a line to /etc/inittab

For example (in Slackware):

...
# These are the standard console login getties in multiuser mode:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
htop:2345:respawn:/usr/bin/htop /dev/tty7 2>&1

...

That last line runs htop in tty7 accessible via ALT-F7

However, a better way is to use screen or tmux (or similar).  That way
you can access everything locally OR via ssh. If htop is already running
on a tty, there is no good way to access it via ssh.

If you are on a systemd box, then there is a config file for tty setup.

-Ed



signature.asc
Description: OpenPGP digital signature
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Multipass on Ubuntu

2020-08-28 Thread Russell Senior
Fwiw, the download to initialize it was so slow, when it got to 50%
downloaded, I started installing ubuntu-server in a VM with virt-manager
and finished the install before the multipass thing was ready, so I still
don't know anything about it ;-).

On Fri, Aug 28, 2020 at 12:57 PM Aaron Burt  wrote:

> On 2020-08-20 13:38, Russell Senior wrote:
> > I just learned about it today. I'm considering trying it out to use as
> > a
> > temporary build environment. Has anybody used it, want to give some
> > reflection on their experience? I would ordinarily use kvm and
> > laboriously
> > install from an iso.
>
> That's pretty cool!  Looks like it only supports Ubuntu images.
> It seems very similar in function to "vagrant", which seems more
> scriptable and is pretty much the industry-standard tool for easily
> managing/scripting VMs from the CLI.
>
> I haven't used Vagrant for a while, looks like they've added
> pre-packaged VM images called "boxes":
> https://app.vagrantup.com/boxes/search
> ___
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Auto start HTOP in tty.

2020-08-28 Thread David

On 8/28/20 12:00 PM, Chuck Hast wrote:

Folks,
I have a server that I would like to have HTOP startup in
one of the TTY's so far all I find are how to do it from the
GUI (no gui this is a server) I would like for HTOP to start
in say terminal 3 for grins (I use 1 and 2 for doing changes
or whatever stuff I need if I am not doing it over and SSH
screen)

So far I have not been able to find some instruction to have
a terminal (tty) start a program, any guidance here?




I think you want to look at /etc/inittab for that configuration.

It may be helpful to look at how X is (re)spawned on your system and see 
if you can mirror that.


dafr
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Multipass on Ubuntu

2020-08-28 Thread Aaron Burt

On 2020-08-20 13:38, Russell Senior wrote:
I just learned about it today. I'm considering trying it out to use as 
a

temporary build environment. Has anybody used it, want to give some
reflection on their experience? I would ordinarily use kvm and 
laboriously

install from an iso.


That's pretty cool!  Looks like it only supports Ubuntu images.
It seems very similar in function to "vagrant", which seems more 
scriptable and is pretty much the industry-standard tool for easily 
managing/scripting VMs from the CLI.


I haven't used Vagrant for a while, looks like they've added 
pre-packaged VM images called "boxes": 
https://app.vagrantup.com/boxes/search

___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] Auto start HTOP in tty.

2020-08-28 Thread Chuck Hast
Folks,
I have a server that I would like to have HTOP startup in
one of the TTY's so far all I find are how to do it from the
GUI (no gui this is a server) I would like for HTOP to start
in say terminal 3 for grins (I use 1 and 2 for doing changes
or whatever stuff I need if I am not doing it over and SSH
screen)

So far I have not been able to find some instruction to have
a terminal (tty) start a program, any guidance here?


-- 

Chuck Hast  -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] Ids 0.82

2020-08-28 Thread Rich Shepard

On Thu, 27 Aug 2020, Tom wrote:


Does anybody have a copy of this file?
http://prdownloads.sourceforge.net/ids/ids-0.82.tar.gz or any other
variants?


Tom,

My DDG web search found this:

IDS (Image Display System) 0.82 Perl script - IDS (Image ...

[Search domain ids-28image-display-system-29.script.soft32download.com]
ids-28image-display-system-29.script.soft32download.com

IDS (Image Display System) 0.82 is a Perl script for Image Galleries scripts
design by Ashley M. Kirchner. It runs on following operating system: Windows
/ Linux / Mac OS / BSD / Solaris.

The link took me to a page describing it and a download link button on the
bottom.

HTH,

Rich
___
PLUG: https://pdxlinux.org
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug