linux – what is gmain and the input thread?

So I was running this command: sysdig evt.dir = <and not (), and there were some results that seemed strange. There are two processes, one called gmain and the other InputThread. They are threads, so they do not appear at the top. In htop, when I enable displaying user threads and kernel threads, I have to take the thread handles from sysdig and map them to the htop output. Some of the communication names are Xorg,

In / proc, the identifiers there don't exist, and ps doesn't show them too. Because they are threads, they are supposed to be in / proc / pid / task / tid. If I went to ls / proc, the directories don't exist, but I am able to cd into / proc / even if they are not there. And also the one that puzzles me is that, if I had to run sysdig and start running firefox, the whole machine crashes.

And so the question is, is this supposed to happen? Is it bad to use sysdig kernel probes and a running Firefox? Why don't these process handles I got from sysdig not show up when I do an ls, but a cd on them works? What is gmain, which according to only 2 relevant entries in a google search is a process associated with gnome, but am I running xfce?

linux – How to use CNAME to load web applications

I have created an application and plan to host it at
I have around 10 clients who want the app to be hosted on their brand (white label).
Instead of deploying the same app 10 times, I'd rather host the app at and point the CNAME of each of the client's domains to

I implemented the same, but for some reason that doesn't work as expected.

My current settings:

customer1.tld.          60      IN      CNAME       59      IN      A

When hot in a browser it works fine, however when I go into customer1.tld it doesn't work. Logic: the client dns (CNAME) must point to my host name and my host name (record A) must point to the IP of my server.
Something that I missed?

Other related information I'm using:

  • VestaCP
  • Ubuntu 16.04
  • Apache / 2.4.29

linux – How to use fastboot to update Android ROM with Ubuntu

I know i can use fastboot flash recovery recovery.img flash a custom recovery (on Windows).
I managed to lock my phone in the custom mobile OS installation process.
So I am starting again. I have an Android ROM on my local machine but I don't know how
use fastboot to flash it on the phone.

fastboot flash boot (location) Where does fastboot search for the file in Ubuntu?

linux – Ubuntu NTFS does not write permissions

I have inside my system a m.2 samsung evo 970 formatted to NTFS. 3 weeks ago it worked perfectly with write permissions and everything went smoothly in Ubuntu 18.04. Then I upgraded to 19.10, partition is mounted without write permissions. I can read but not create directories or copy files.

I went to the disk GUI in Ubuntu and added the "rw" as you can see in the photo:

Link to photo

However it doesn't work, it mounts only as read-only.

How can I re-enable write permissions on the partition?

Thank you

I need to migrate more than 100 SmarterMail 13 domains to Linux

Hi everyone,
I need to migrate over 100 domains using SmarterMail Enterprise 13.0 to a new Linux server and after reading a lot of how I could … | Read the rest of

* *[]- Linux SSD – $ 1 / m – Unlimited bandwidth and email accounts – FREE Configuration. is one of the best reliable, cheapest, affordable and quality web hosting service providers in the markets. Host's servers are not powered by solid state drives (SSDs) that are up to 100 times faster than normal hard drives to ensure maximum performance, stability and reliability. We offer CPanel with a CloudLinux system that improves the overall stability of a shared hosting environment and increases server density by 100%. Hostpoco guarantees the best high quality web hosting to our clients at an affordable price.

Our SSD hosting plans start at $ 1 / mo and assure you Lightning Fast hosting with the best performance 20 times. Our plans are Cpanel based and come with the best possible features. You can increase the loading speed of your website by 300% faster than those hosted on hard disk servers … proceed now.

Our SSD plan starts from:

* SSD boot : $ 1 / monthly
* Pro SSD : $ 2.5 / Monthly
* Premium SSD : $ 5.5 / Month
* Elite SSD : $ 8.5 / Month

Features :

~ Unlimited bandwidth
~ 100% CPU
~ Unlimited email accounts
~ Unlimited subdomains
~ Unlimited parked domains
~ Unlimited FTP accounts
~ Unlimited MySql databases
~ Unlimited mailing list
~ FREE CloudFlare
~ FREE site apps
~ FREE Online Site Builder
~ FREE data migration
~ FREE attraction
~ FREE setup
~ FREE Cpanel control panel
~ FREE auto responders
~ FREE Backup Restore
~ FREE PhpMyAdmin
~ FREE virus scanner
~ DDOS protection
~ 99.99% uptime
* And much more….. $ 1 cheap host, hosting deals, web hosting deals, reseller hosting deals, instant panel hosting, cheap hosting, hosting, cpanel host, wordpress host, cheap web hosting, cheap wordpress hosting, cpanel hosting unlimited, unlimited db hosting, unlimited mysql, unlimited databases, web hosting, hosting, web hosting, Linux shared hosting, half dollar hosting, one dollar hosting, $ 1 hosting, $ 1 web hosting, hosting $ 1 unlimited, reliable web hosting, affordable web hosting, latest php hosting, free ssl hosting, money back hosting, cheap dedicated servers, low cost dedicated servers, priority hosting support, 24×7 support, best support hosting , dollar1host, dollar 1 host, dollar host, 1 dollar host, 1 dollar hosting, 1 dollar web, $ 1 web hosting, solutions cheap hosting, cheap vps hosting, cheap ssl certificate, free domain hosting.

Thank you.

How can I fully sync all apps on two computers? On Windows OR Linux

I have two laptops running Windows and Linux. So I am working with four operating systems (I am a developer and some things do not run on Linux (eg Tableau) and some are difficult to do on Windows). I want to find a way to fully sync my operating systems on two machines (Windows to Windows) and (Linux to Linux) so that when you install an application on one, you also have it on another. In the same way that Firefox and Chrome allow us to fully synchronize and have all the data every time we log in to the browser.

I know this may be too much to ask, but I appreciate any ideas.

openssl – Linux SH curl script broken unless you specify the TLS version

I was going to post this to a different SE site, but I found out that explicitly --tlsv1.1 to curl fixed the problem, for now. My question now relates to security.

A provider recently switched to FTPS (not SSH FTP). I've added --ssl Y --ssl-reqd to command and I get canceled transfers when I upload a file. I am running this on Ubuntu 18 server. This is the command I am using.

--upload-file "$FileToUpload" 

the -v output claims that the server's SSL certificate is fine. During detailed output to download, there are many duplicate messages on the screen, which read

* TLSv1.3 (OUT), TLS Unknown, Unknown (23):
} ($integer bytes data)

before finally ending with

* We are completely uploaded and fine
* Remembering we are in dir ""
< 450 Transfer aborted. Link to file server lost
* server did not report OK, got 450
* Connection #0 to host $FTPHOST left intact
curl: (18) server did not report OK, got 450

The test file $FileToUpload it is 10 MB; I generated it from "/ dev / urandom" using dd. Using WinSCP on my Win 10 workstation I can get a list of directories. The file size is different each time, between 7 and 9 MB. The automated provider process also deletes the file from the server quickly (or chmod so I can't see it), making it difficult to download to verify with a checksum. I can upload the file to the server with WinSCP on my Win 10 workstation without problems. Right after, if / when I can download it, I use

# Download

and list it with

# Listing

Both end with

< 226 Transfer complete
* Connection #0 to host $FTPHOST left intact

I watched a packet capture taken on my workstation while loading the same file and nothing really stands out that would indicate that my ripple options are wrong.

I also tried this on an Ubuntu 18 server on a different network and got the same results.

# Here's where the original  #
# post would've ended before #
#     I found a/the fix.     #

I added --tlsv1.1 and it loads successfully every time, with the message

< 226 Transfer complete
* Connection #0 to host $FTPHOST left intact

That argument alone makes the load work. If I replace it with any of the other TLS options -1, --tlsv1, --tlsv1.0, --tlsv1.2, --tlsv1.3, I'm back to error 450. The original detailed output showed curl and $ FTPHOST negotiated with tlsv1.3. A combined packet capture that specifies the job option --tlsv1.1 and they do not illustrate TLSv1.1 and TLSv1.3 being negotiated, respectively.

https: //$ FTPHOST: 443 is open, but a browser returns "SSL_ERROR_RX_RECORD_TOO_LONG".

curl -kv https://$FTPHOST/ shows possible errors:

* error:1408F10B:SSL routines:ssl3_get_record:wrong version number
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Y openssl s_client -connect ${FTPHOST}:${PORT} -showcerts ($PORT is in (21,80,443)) sample

140224622215616:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:332:
no peer certificate available
No client certificate CA names sent
SSL handshake has read 5 bytes and written 322 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)

Should I contact the seller and see if they can fix their ending to use TLSv1.2 or TLSv1.3? This seems like a bad server side configuration.

The question is, am I sacrificing any security that binds this script to use TLSv1.1?

How to extract ISO files with Linux

What is an ISO file?
The image file format has been a very popular way to distribute software online, since broadband network speeds allowed us to do so. If you've already installed a Linux distribution, chances are you did it using an ISO file. If you haven't installed a version of Linux, the first step is probably to find an ISO file to download.

The ISO file format is a digital file that contains the contents of an optical media disc. You can also make an ISO image from any optical media format, such as a CD, DVD, and even Blu-ray.

There is a notable exception. You cannot use the ISO file format to create an image of an audio CD, as it does not use a computer file system. In these cases, consider using the BIN / CUE image combinations instead.

ISO files make use of the ISO 9660 file system. It is also possible that these images make use of the UDF (Universal Disc Format) file system in some use cases. The data in the file is not compressed … See full publication

linux – Ubuntu 18.04 Not all RAM used but 2 / 4GB swap used,

So I've been working hard to optimize my Ubuntu Server 18.04 running LEMP with everything up-to-date, including the latest kernel updates, and I've noticed some slight delays in SSH responsiveness.

My idea points towards the use of RAM and SWAP

At the link above are free -m, htop and vmstat screenshots.
I'm not completely sure what's going on here, not all RAM is used, but is more than 2GB of SWAP used? …

I see 2 possibilities here:

  1. In fact, I am running out of RAM and Ubuntu is using a lot of this 2GB swap and keeping a small amount of memory free for important tasks.
  2. Actually, I am not using much ram and ubuntu is only using SWAP to improve performance.

However, I have doubts and would prefer that someone could point me to the correct understanding here.

I also set swappiness to 5 and vfs_cache_pressure to 50, to use as little SWAP as possible, quite some time ago.

Could this situation be causing my SSH to be slow?

enter password on my local PC in terminal: I can type as fast as possible and it will work

Entering the password on the remote server via SSH – I can't type the password as fast as I can as it will prompt me for an invalid password.

I'm using shift while entering password, but it shouldn't make me enter invalid password when SSH is slow.