Re: [CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-07 Thread J Martin Rushton
On 07/02/18 22:58, m.r...@5-cent.us wrote:
> Pete Biggs wrote:
>> On Wed, 2018-02-07 at 14:45 -0500, m.r...@5-cent.us wrote:
>>> Is there some way to do this? I've got the current putty (actually,
>>> putty-cac), pageant, and plink in my user's Downlods directory - neither
>>> he nor I have admin authority on his laptop, and Desktop support's
>>> teleworking today - but I can't seem to find a way to configure xming to
>>> look there for putty.
>>>
>>> Or is it start putty, *then* start xming?
>>>
>>
>> No start xming in passive mode (I don't know xming so don't know how to
>> do that - you just want to start the xserver and not have it start any
>> applications on the remote machine).
>>
>> Start putty with X11 forwarding turned on and connect.
>>
>> You should now be able to start X programs.
>>
>> The important thing is that the server needs to be started before
>> initiating the connection so that a display can be assigned.
> 
> Thank you! That did it. He's happy.
>>
>> Can I suggest an alternative though. I've started using MobaXterm
>> recently and I'm quite impressed: X11 server, SSH/putty client built
>> in, GL capable etc.  Home use is free.
> 
> I can look at it, but this is what he knows, and he's too busy to try
> something else. Hell, he's just pushed me updating and rebooting his
> at-work CentOS workstation until next week, and I have a job to keep them
> going, not for my convenience. 
> 
>mark
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
I'd second Moba as a solution to contacting a Linux server from a Win
box.  https://mobaxterm.mobatek.net/ states that "You can download and
use MobaXterm Home Edition for free. If you want to use it inside your
company, you should consider subscribing to MobaXterm Professional
Edition: this will give you access to much more features, professional
support and "Customizer" software."  The keywords here are "should" and
"consider".



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-07 Thread m . roth
Pete Biggs wrote:
> On Wed, 2018-02-07 at 14:45 -0500, m.r...@5-cent.us wrote:
>> Is there some way to do this? I've got the current putty (actually,
>> putty-cac), pageant, and plink in my user's Downlods directory - neither
>> he nor I have admin authority on his laptop, and Desktop support's
>> teleworking today - but I can't seem to find a way to configure xming to
>> look there for putty.
>>
>> Or is it start putty, *then* start xming?
>>
>
> No start xming in passive mode (I don't know xming so don't know how to
> do that - you just want to start the xserver and not have it start any
> applications on the remote machine).
>
> Start putty with X11 forwarding turned on and connect.
>
> You should now be able to start X programs.
>
> The important thing is that the server needs to be started before
> initiating the connection so that a display can be assigned.

Thank you! That did it. He's happy.
>
> Can I suggest an alternative though. I've started using MobaXterm
> recently and I'm quite impressed: X11 server, SSH/putty client built
> in, GL capable etc.  Home use is free.

I can look at it, but this is what he knows, and he's too busy to try
something else. Hell, he's just pushed me updating and rebooting his
at-work CentOS workstation until next week, and I have a job to keep them
going, not for my convenience. 

   mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-07 Thread Pete Biggs
On Wed, 2018-02-07 at 14:45 -0500, m.r...@5-cent.us wrote:
> Is there some way to do this? I've got the current putty (actually,
> putty-cac), pageant, and plink in my user's Downlods directory - neither
> he nor I have admin authority on his laptop, and Desktop support's
> teleworking today - but I can't seem to find a way to configure xming to
> look there for putty.
> 
> Or is it start putty, *then* start xming?
> 

No start xming in passive mode (I don't know xming so don't know how to
do that - you just want to start the xserver and not have it start any
applications on the remote machine).

Start putty with X11 forwarding turned on and connect.

You should now be able to start X programs.

The important thing is that the server needs to be started before
initiating the connection so that a display can be assigned.

Can I suggest an alternative though. I've started using MobaXterm
recently and I'm quite impressed: X11 server, SSH/putty client built
in, GL capable etc.  Home use is free.

P.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-07 Thread Miguel González
As far as I know Xming is a Windows software.

If you are using a SSH tunnel, you would need to run putty first.

In any case, you need to enable on putty X11 connections (Connection ->
SSH -> X11 -> Enable X11 forwarding ) if you are running any software on
your linux machine.

Regards,

Miguel




On 02/07/18 8:45 PM, m.r...@5-cent.us wrote:
> Is there some way to do this? I've got the current putty (actually,
> putty-cac), pageant, and plink in my user's Downlods directory - neither
> he nor I have admin authority on his laptop, and Desktop support's
> teleworking today - but I can't seem to find a way to configure xming to
> look there for putty.
> 
> Or is it start putty, *then* start xming?
> 
>   mark
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 


---
This email has been checked for viruses by AVG.
http://www.avg.com

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-07 Thread m . roth
Is there some way to do this? I've got the current putty (actually,
putty-cac), pageant, and plink in my user's Downlods directory - neither
he nor I have admin authority on his laptop, and Desktop support's
teleworking today - but I can't seem to find a way to configure xming to
look there for putty.

Or is it start putty, *then* start xming?

  mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-07 Thread Felipe Westfields
I'm trying to reinstall the elrepo drivers.
Removed the existing elrepo drivers
Downloaded the following elrepo drivers:

nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm

that first one appears to have a dependency on "NVidia-x11-drv-304xx =
304.135" and I can't find that package anywhere - I've checked CentOS base,
the EPEL repositories, and the elrepo repositories, RPMfind.

Do you know where I can find it?

Thanks,

On Tue, Feb 6, 2018 at 2:44 PM, Felipe Westfields <
felipe.westfie...@gmail.com> wrote:

> We do have the elrepo drivers installed. Maybe part of the problem is also
> that we're using an IOgear KVM switch?
>
> On Tue, Feb 6, 2018 at 11:58 AM, Phelps, Matthew 
> wrote:
>
>> On Tue, Feb 6, 2018 at 11:40 AM, Felipe Westfields <
>> felipe.westfie...@gmail.com> wrote:
>>
>> > I'm having issues with a quad video card on CentOS.
>> >
>> > We have several systems on CentOS 6.8 and CentOS 6.9. The installed
>> > hardware is:
>> >
>> > Video card - Nvidia NVS quadro 440
>> > PC - Dell OptiPlex 9020
>> >
>> > Whenever you update the kernel, it kills the graphical interface. The
>> > system appears to lock up and freeze during a reboot, but you can still
>> get
>> > into it with SSH, or, if you're at the console, control-alt-F2 gets you
>> to
>> > a command prompt.
>> >
>> > If you exclude the kernel update when applying yum update, it is usually
>> > fine. If the kernel update is applied, and you roll back the update,
>> that
>> > sometimes gets you back into the graphical console, but more likely than
>> > not, it won't.
>> >
>> > Not sure where to go with this.
>> >
>> > Any suggestions?
>> >
>> > FW
>> > ___
>> >
>>
>> Which version of the driver? How did you install it?
>>
>> If you're not already using it, I heartily recommend using the ELRepo
>> repository, http://elrepo.org/tiki/. We have several dozen CO 6.9
>> machines
>> with various Nvidia cards and except for a recent version that had an
>> issue
>> with DVI connections (not the repository's fault), we haven't had any
>> problems.
>>
>> --
>> Matt Phelps
>> System Administrator, Computation Facility
>> Harvard - Smithsonian Center for Astrophysics
>> mphe...@cfa.harvard.edu, http://www.cfa.harvard.edu
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - pushing database updates to web browser

2018-02-07 Thread Gary Stainburn
On Wednesday 07 February 2018 14:57:47 Timotheus Pokorra wrote:
> Search for websockets and html5.
>
> eg.
> http://srchea.com/build-a-real-time-application-using-html5-websockets
>
> all the best,
>Timotheus

Thanks for this. Looks a very interesting article, and exactly what I'm 
looking for.

Thanks Leon for your reply too.  I do already make use of JS and 
XMLHttpRequest in my pages but they are all driven by the client / JS code.

The new project will see 20+ users all managing a jobs list status page. 
Rather than have all 20+ browsers poll the server every n seconds, I want a 
method where if one user updates a job status it updates the server, and the 
server then kicks the other clients into pulling the update.

The websockets above may well be the answer I need.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - pushing database updates to web browser

2018-02-07 Thread Leon Fauster

> Am 07.02.2018 um 14:53 schrieb Gary Stainburn :
> 
> This is O/T apart from the fact that the server is Centos running Apache / 
> Postgresql.
> 
> I want to develop a real time (ish) dashboard type web page showring extracts 
> of the contents of a table.  I would like any changes that occur to be pushed 
> to the web clients rather than have the clients poll the database.
> 
> Based on the fact that I have not managed to come up with a successful Google 
> search phrase I think this may not be possible, but just in case I thought 
> I'd ask here.
> 
> If it's not possible, can anyone suggest the most efficient / responsive 
> polling techniques?

A combination of javascript (client-side) and XMLHttpRequest (interaction) ...

--
LF



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - pushing database updates to web browser

2018-02-07 Thread Timotheus Pokorra

Hello Gary,

I want to develop a real time (ish) dashboard type web page showring 
extracts
of the contents of a table.  I would like any changes that occur to be 
pushed

to the web clients rather than have the clients poll the database.

Based on the fact that I have not managed to come up with a successful 
Google
search phrase I think this may not be possible, but just in case I 
thought

I'd ask here.


Search for websockets and html5.

eg. 
http://srchea.com/build-a-real-time-application-using-html5-websockets


all the best,
  Timotheus


Diese Nachricht wurde versandt mit Webmail von www.tbits.net.
This message was sent using webmail of www.tbits.net.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] OT - pushing database updates to web browser

2018-02-07 Thread Gary Stainburn
This is O/T apart from the fact that the server is Centos running Apache / 
Postgresql.

I want to develop a real time (ish) dashboard type web page showring extracts 
of the contents of a table.  I would like any changes that occur to be pushed 
to the web clients rather than have the clients poll the database.

Based on the fact that I have not managed to come up with a successful Google 
search phrase I think this may not be possible, but just in case I thought 
I'd ask here.

If it's not possible, can anyone suggest the most efficient / responsive 
polling techniques?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?

2018-02-07 Thread Alexander Farber
Thank you Pete for the very insightful answer!

This has worked like a charm -

On Wed, Feb 7, 2018 at 10:16 AM, Pete Biggs  wrote:

>
> In fact there are a number of tools to help you.  By default yum keeps
> 5 versions of old kernels (which is usually too many for the default
> /boot size - good joined-up thinking there!), that number is specified
> in /etc/yum.conf as "installonly_limit=5" - change that to a suitable
> number for you, personally I use '3', some people have '2' - don't put
> it at '1' because then you'll not be able to use an old version to boot
> in to in emergency.
>
> The package yum-utils has the package-cleanup command to deal with
> various yum issues, including sorting out old kernels. Do
>
>package-cleanup --oldkernels --count=3
>
> to clean everything to do with old kernels leaving 3 versions on your
> system.
>


I had:

/dev/md1488M  428M   34M  93% /boot

Then I after running

# package-cleanup --oldkernels --count=3
Loaded plugins: fastestmirror
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-693.2.2.el7 will be erased
---> Package kernel.x86_64 0:3.10.0-693.5.2.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved


 Package   Arch  Version  Repository
Size

Removing:
 kernelx86_643.10.0-693.2.2.el7   @updates
59 M
 kernelx86_643.10.0-693.5.2.el7   @updates
59 M

Transaction Summary

Remove  2 Packages

Installed size: 119 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing: kernel.x86_64
1/2
  Erasing: kernel.x86_64
2/2
  Verifying  : kernel-3.10.0-693.5.2.el7.x86_64
1/2
  Verifying  : kernel-3.10.0-693.2.2.el7.x86_64
2/2

Removed:
  kernel.x86_64 0:3.10.0-693.2.2.el7 kernel.x86_64 0:3.10.0-693.5.2.el7

Complete!

I've ended up with comforting

/dev/md1488M  279M  184M  61% /boot

Have a nice day!
Alex
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?

2018-02-07 Thread Pete Biggs

> Could someone please suggest me, which files in my /boot partition would be
> safe to delete?

Don't "delete" anything. It's to do with old kernels - kernels aren't
updated as such, new ones are just installed. So long as you don't need
the old kernels, just remove the old kernel RPMs.

In fact there are a number of tools to help you.  By default yum keeps
5 versions of old kernels (which is usually too many for the default
/boot size - good joined-up thinking there!), that number is specified
in /etc/yum.conf as "installonly_limit=5" - change that to a suitable
number for you, personally I use '3', some people have '2' - don't put
it at '1' because then you'll not be able to use an old version to boot
in to in emergency.

The package yum-utils has the package-cleanup command to deal with
various yum issues, including sorting out old kernels. Do 

   package-cleanup --oldkernels --count=3

to clean everything to do with old kernels leaving 3 versions on your
system.

P.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] /dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?

2018-02-07 Thread Alexander Farber
Hello CentOS users,

in the recent time I keep getting the logwatch warnings from my 2 dedicated
servers running CentOS 7.4.1708.

I guess because of the numerous kernel updates (because of
Spectre+Meltdown) in the near past?

Could someone please suggest me, which files in my /boot partition would be
safe to delete?

I would like to avoid the situation of having to boot the rescue partiton
etc. remotely... and at the same time I am not proficient with grub or
whatever my provider has configured my dedicated hosts to use...

#  ls -al /boot
total 427877
dr-xr-xr-x.  6 root root 6144 28. Jan 10:33 .
dr-xr-xr-x  18 root root 4096  7. Feb 03:34 ..
-rw-r--r--   1 root root   140899  5. Dez 01:04
config-3.10.0-693.11.1.el7.x86_64
-rw-r--r--   1 root root   140915  4. Jan 02:19
config-3.10.0-693.11.6.el7.x86_64
-rw-r--r--   1 root root   140915 25. Jan 21:26
config-3.10.0-693.17.1.el7.x86_64
-rw-r--r--   1 root root   140898 13. Sep 00:38
config-3.10.0-693.2.2.el7.x86_64
-rw-r--r--   1 root root   140898 20. Okt 22:56
config-3.10.0-693.5.2.el7.x86_64
drwxr-xr-x   3 root root 1024 15. Sep 09:43 efi
drwxr-xr-x.  2 root root 1024 11. Apr 2016  grub
drwx--.  5 root root 1024 28. Jan 10:31 grub2
-rw-r--r--.  1 root root 40142116 15. Dez 2015
initramfs-0-rescue-34946d7b5edb0946bfb52c0f6cae67af.img
-rw---   1 root root 50402914  6. Dez 09:23
initramfs-3.10.0-693.11.1.el7.x86_64.img
-rw---   1 root root 18149718  6. Dez 09:24
initramfs-3.10.0-693.11.1.el7.x86_64kdump.img
-rw---   1 root root 50405879  5. Jan 09:02
initramfs-3.10.0-693.11.6.el7.x86_64.img
-rw---   1 root root 18150336  5. Jan 09:04
initramfs-3.10.0-693.11.6.el7.x86_64kdump.img
-rw---   1 root root 50402830 28. Jan 10:31
initramfs-3.10.0-693.17.1.el7.x86_64.img
-rw---   1 root root 18147918 28. Jan 10:33
initramfs-3.10.0-693.17.1.el7.x86_64kdump.img
-rw---   1 root root 50341850 15. Sep 09:45
initramfs-3.10.0-693.2.2.el7.x86_64.img
-rw---   1 root root 18147818 22. Okt 10:07
initramfs-3.10.0-693.2.2.el7.x86_64kdump.img
-rw---   1 root root 50393743 24. Okt 09:39
initramfs-3.10.0-693.5.2.el7.x86_64.img
-rw---   1 root root 18146720 24. Okt 09:40
initramfs-3.10.0-693.5.2.el7.x86_64kdump.img
-rw-r--r--.  1 root root   611928 15. Sep 09:45 initrd-plymouth.img
drwx--   2 root root12288 25. Mai 2016  lost+found
-rw-r--r--   1 root root   293093  5. Dez 01:07
symvers-3.10.0-693.11.1.el7.x86_64.gz
-rw-r--r--   1 root root   293110  4. Jan 02:21
symvers-3.10.0-693.11.6.el7.x86_64.gz
-rw-r--r--   1 root root   293109 25. Jan 21:28
symvers-3.10.0-693.17.1.el7.x86_64.gz
-rw-r--r--   1 root root   293064 13. Sep 00:40
symvers-3.10.0-693.2.2.el7.x86_64.gz
-rw-r--r--   1 root root   293084 20. Okt 22:59
symvers-3.10.0-693.5.2.el7.x86_64.gz
-rw---   1 root root  3228852  5. Dez 01:04
System.map-3.10.0-693.11.1.el7.x86_64
-rw---   1 root root  3232490  4. Jan 02:19
System.map-3.10.0-693.11.6.el7.x86_64
-rw---   1 root root  3232454 25. Jan 21:26
System.map-3.10.0-693.17.1.el7.x86_64
-rw---   1 root root  3228852 13. Sep 00:38
System.map-3.10.0-693.2.2.el7.x86_64
-rw---   1 root root  3228852 20. Okt 22:56
System.map-3.10.0-693.5.2.el7.x86_64
-rwxr-xr-x.  1 root root  5156528 15. Dez 2015
vmlinuz-0-rescue-34946d7b5edb0946bfb52c0f6cae67af
-rwxr-xr-x   1 root root  5877504  5. Dez 01:05
vmlinuz-3.10.0-693.11.1.el7.x86_64
-rw-r--r--   1 root root  171  5. Dez 01:05
.vmlinuz-3.10.0-693.11.1.el7.x86_64.hmac
-rwxr-xr-x   1 root root  5889728  4. Jan 02:19
vmlinuz-3.10.0-693.11.6.el7.x86_64
-rw-r--r--   1 root root  171  4. Jan 02:19
.vmlinuz-3.10.0-693.11.6.el7.x86_64.hmac
-rwxr-xr-x   1 root root  5890720 25. Jan 21:26
vmlinuz-3.10.0-693.17.1.el7.x86_64
-rw-r--r--   1 root root  171 25. Jan 21:26
.vmlinuz-3.10.0-693.17.1.el7.x86_64.hmac
-rwxr-xr-x   1 root root  5878848 13. Sep 00:38
vmlinuz-3.10.0-693.2.2.el7.x86_64
-rw-r--r--   1 root root  170 13. Sep 00:38
.vmlinuz-3.10.0-693.2.2.el7.x86_64.hmac
-rwxr-xr-x   1 root root  5878368 20. Okt 22:56
vmlinuz-3.10.0-693.5.2.el7.x86_64
-rw-r--r--   1 root root  170 20. Okt 22:56
.vmlinuz-3.10.0-693.5.2.el7.x86_64.hmac

#  cat /etc/grub2.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then