screen question?
by bruce
Hey guys.
Trying to get my heads around something. I'm looking to automate a process.
Basically, I want to kick off/initiate a number of processes on remote
boxes. I've looked at different online sites, but I'm missing something..
I can ssh into the box, trivial.
I know I can create a "screen" process, that allows me to then later access
the 'screen' session to see the progress of the action. And of course I can
access the screen and fire up my process.
However, (and here's where I'm not getting how to do it) - I'd like to be
able to auto/programatically :
ssh into the remote box
create the screen session (with a name I define)
access the screen session, and then fire up/start my process
If I can figure out how to do all of this initially for a test, I can of
course roll out the rest of my tests...
Hope this makes sense.
(if someone has a chunk of code, or pointers to any code I can look at,
that would be great.)
I suspect this is really trivial.
Thanks again...
7 years, 6 months
Anacron mail -
by Bob Goodwin
I have been using Linux for a long time and have yet to see a
cron/anacron mail message.
In [root@Box10 bobg]# cat /etc/aliases I configured:
# Person who should get root's mail
root: bobg
And after a bit of googling I dnf installed mail. Mail is difficult to
use, has a long list of commands, but it did display about five hundred
messages of which it displays several pages and stops, those are old
from a couple of months ago while today's messages are all I am
interested at the moment.
Is there a command to display only what I want, a specific day or
perhaps reverse the order so that today's messages are at the top,
display first? Better yet I would think would be to display them in
Thunderbird but I don't know how to do that ...
Any help appreciated,
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-24/64bit LINUX XFCE POP3
7 years, 6 months
auto connect to guest host as simple user (non root)
by Adel ESSAFI
Dear list
I have installed a guest windows xp system on my fedora 24 machine.
I configured libvirt to run automatically at boot phase and it worked fine
[etudiant@localhost ~]$ lsmod | grep kvm
kvm_intel 184320 3
kvm 552960 1 kvm_intel
irqbypass 16384 1 kvm
I want to know, now, if it is possible to make a non-root user
(etudiant in my case) to connect to the guest VM with no need to set
the root password.
Regards
--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
7 years, 6 months
auto connect to guest host as simple user (non root)
by Adel ESSAFI
Dear list
I have installed a guest windows xp system on my fedora 24 machine.
I configured libvirt to run automatically at boot phase and it worked fine
[etudiant@localhost ~]$ lsmod | grep kvm
kvm_intel 184320 3
kvm 552960 1 kvm_intel
irqbypass 16384 1 kvm
I want to know, now, if it is possible to make a non-root user
(etudiant in my case) to connect to the guest VM with no need to set
the root password.
Regards
Adel
--
PhD in Computer Science
Address
Avenue Taha Hussein Montfleury, 1008 Tunis
tél : +216 71 49 60 66
fax: +216 71 39 11 66
7 years, 6 months
Alpine question
by William Oliver
I don't know if this is a fedora question or not, but I'm hoping it's an OS-level config issue.
I have a laptop that runs Fedora 24, and a virtual machine with CentOS that I use as my mailserver. I'm an old fogey who doesn't like all this multimedia mail stuff, so I still use pine/alpine and text emails.
The problem is this. When I ssh to my virtual machine from my laptop and run pine, it will work for a few minutes and then hang. If I close the terminal (which kills pine) and ssh in again, it works again -- for a few minutes. Then it hangs.
I don't *think* it's a pine/alpine issue itself. If I come in using shellinabox and open pine using a browser terminal, it doesn't happen. If I use some other client, e.g. roundcube, it doesn't happen.
If I just ssh in and do other stuff, it doesn't hang.
Finally, it only happens at work. My workplace has a very restricted wired network and a very open wireless network. We are supposed to "work" on the wired network and attach our cellphones and private laptops to the wireless network, which solves a lot of social engineering type security issues. If you want to do streaming media, or download cute stuff, don't use the work box -- use your own. So, the problem occurs on this wireless system. It doesn't seem to happen when I connect from my wireless at home.
Any pointers? It's very frustrating...
billo
7 years, 6 months
anacron/cron
by Patrick Dupre
Hello,
In my mailbox, I receive emails: Anacron job 'cron.weekly' on
While I do not receive any amail:
Anacron job 'cron.daily' on
while it should run daily:
logrotate
certwatch
It even more strange, on a fc22 machine I had Anacron job 'cron.daily' on
until July 14. and then not anymore !
Is anacrontab controlled by /etc/crontab or by /etc/anacrontab ?
In addition, in fc22
I had:
/etc/cron.daily/mlocate
while in fc24,
I do not have such a file.
How mlocate is now managed ?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
7 years, 6 months
Driver for RT3072
by JD
What is the driver's (or drivers') name (or names) for RT3072
which a usb dongle.
I cannot bring up the interface.
$ lsusb | grep Ralink
Bus 004 Device 008: ID 148f:3072 Ralink Technology, Corp. RT3072
Wireless Adapter
$ ifconfig
em1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 49:62:ac:22:aa:70 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf6900000-f6920000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 1902 bytes 98681 (96.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1902 bytes 98681 (96.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp0s29u1u1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
-----------<<<<<<<<<<<< rt3072
ether 00:0a:3a:41:ae:d5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
7 years, 6 months
orca broken after updates
by Gordon Messmer
After this morning's updates, I noticed that a bunch of common keyboard
shortcuts didn't work. In gnome-terminal, shift-insert didn't paste
selected text. In thunderbird, 'b' wouldn't move to the previous
message in the folder, but only if the keyboard focus was in the message
body pane. In firefox, the up and down arrow keys moved between links
rather than scrolling the page up and down.
I tried dnf history rollback, but a number of the previous package
versions aren't available, to that failed. Grump: there's no point in
having "history rollback" if packages don't remain available in the
updates tree long enough to roll back to when there are problems.
Then I tried gathering the names of updated packages and using "dnf
downgrade" instead. That caused dnf to offer to install dozens of i686
packages that are not currently installed. I tracked that to
evolution-data-server. Why downgrading that tries to install i686
packages is unfathomable.
Excluding that, the downgrade didn't resolve the problem, but at that
point I noticed that the "orca" process was using a whole lot of CPU
time. I killed it, and at that point keyboard shortcuts were restored.
My guess is that this is related to the python3 package upgrades
somehow, but downgrading them didn't fix the problem. I'm going to try
to find time later to resume troubleshooting this, unless someone beats
me to it.
In the mean time: if you're having problems with keyboard input after
updating, killing the "orca" process will work around the problem until
the root cause has been found and fixed.
7 years, 6 months
Odd DNF output
by Ian Pilcher
I've been seing this for several days now:
[pilcher@ian ~]$ sudo dnf update
Last metadata expiration check: 1:27:54 ago on Tue Sep 13 19:00:42 2016.
Dependencies resolved.
==============================================================================================================================================
Package Arch
Version Repository Size
==============================================================================================================================================
Installing:
fpc-srpm-macros noarch
1.0-1.fc23 updates 7.8 k
Upgrading:
autocorr-en noarch
1:5.0.6.2-10.fc23 updates 205 k
curl x86_64
7.43.0-9.fc23 updates 285 k
gnupg2 x86_64
2.1.13-2.fc23 updates 1.9 M
google-chrome-stable x86_64
53.0.2785.101-1 google-chrome 47 M
libcdio x86_64
0.93-8.fc23 updates 242 k
libcurl x86_64
7.43.0-9.fc23 updates 257 k
libgcrypt x86_64
1.6.6-1.fc23 updates 377 k
libguestfs x86_64
1:1.32.10-1.fc23 updates 1.9 M
libguestfs-tools-c x86_64
1:1.32.10-1.fc23 updates 3.4 M
libksba x86_64
1.3.5-1.fc23 updates 129 k
libmateweather x86_64
1.14.2-1.fc23 updates 71 k
libmateweather-data noarch
1.14.2-1.fc23 updates 3.4 M
libreoffice-calc x86_64
1:5.0.6.2-10.fc23 updates 8.6 M
libreoffice-core x86_64
1:5.0.6.2-10.fc23 updates 74 M
libreoffice-draw x86_64
1:5.0.6.2-10.fc23 updates 684 k
libreoffice-graphicfilter x86_64
1:5.0.6.2-10.fc23 updates 451 k
libreoffice-impress x86_64
1:5.0.6.2-10.fc23 updates 1.3 M
libreoffice-opensymbol-fonts noarch
1:5.0.6.2-10.fc23 updates 247 k
libreoffice-pdfimport x86_64
1:5.0.6.2-10.fc23 updates 281 k
libreoffice-pyuno x86_64
1:5.0.6.2-10.fc23 updates 518 k
libreoffice-ure x86_64
1:5.0.6.2-10.fc23 updates 2.5 M
libreoffice-writer x86_64
1:5.0.6.2-10.fc23 updates 4.3 M
net-snmp-libs x86_64
1:5.7.3-13.fc23 updates 788 k
nss x86_64
3.26.0-1.0.fc23 updates 849 k
nss-softokn x86_64
3.26.0-1.0.fc23 updates 383 k
nss-softokn-freebl x86_64
3.26.0-1.0.fc23 updates 222 k
nss-sysinit x86_64
3.26.0-1.0.fc23 updates 58 k
nss-tools x86_64
3.26.0-1.0.fc23 updates 496 k
nss-util x86_64
3.26.0-1.0.fc23 updates 83 k
perl-Module-CoreList noarch
1:5.20160820-1.fc23 updates 77 k
python x86_64
2.7.11-10.fc23 updates 96 k
python-devel x86_64
2.7.11-10.fc23 updates 399 k
python-libs x86_64
2.7.11-10.fc23 updates 5.8 M
python3-decorator noarch
4.0.10-3.fc23 updates 26 k
redhat-rpm-config noarch
37-1.fc23.1 updates 59 k
setroubleshoot x86_64
3.3.11-1.fc23 updates 136 k
setroubleshoot-plugins noarch
3.3.6-1.fc23 updates 361 k
setroubleshoot-server x86_64
3.3.11-1.fc23 updates 390 k
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
gnupg2-smime x86_64
2.1.13-2.fc23 updates 406 k
libguestfs-xfs x86_64
1:1.32.10-1.fc23 updates 19 k
pinentry x86_64
0.9.6-4.fc23 updates 81 k
Transaction Summary
==============================================================================================================================================
Install 1 Package
Upgrade 38 Packages
Skip 3 Packages
Total download size: 162 M
Is this ok [y/N]:
The odd thing is that none of the "problematic" packages --
gnupg2-smime, libguestfs-xfs, pinentry -- are installed.
I have install_weak_deps=false in /etc/dnf/dnf.conf, so it shouldn't be
trying to install weak dependencies.
Anyone know what the heck DNF is trying to do?
--
========================================================================
Ian Pilcher arequipeno(a)gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================
7 years, 6 months
Google calendar API limit
by Jeandet Alexis
Hi,
I got this message on Evolution this morning:
Failed to login to the server: Daily Limit Exceeded. The quota will be
reset at midnight Pacific Time (PT). You may monitor your quota usage
and adjust limits in the API Console: https://console.developers.google
.com/apis/api/caldav/quotas?project=923794261470
It's the first time I see it, does it applies to gnome project?
Is there anything to do about that (except waiting ;))?
Best regards,
Alexis Jeandet.
7 years, 6 months