Ask Your Question

jmt's profile - activity

2019-04-27 08:54:00 -0500 answered a question Reboot time takes about 5 minutes

You could boot your system without the the "rhgb" and "quiet" flags on the kernel parameters. The graphical boot is pret

2019-04-27 08:53:46 -0500 answered a question Reboot time takes about 5 minutes

You could boot your system without the the "rhgb" and "quiet" flags on the kernel parameters. The graphical boot is pret

2018-08-11 17:13:08 -0500 commented question System update doesn't update "/boot/grub2/grub.cfg" file

That simply is the way that is done in Fedora, Red Hat and CentOS. The kernel packages do not run a scriptlet to update

2018-05-24 14:04:20 -0500 edited answer [Fedora 28] How to create shortcuts in the desktop?

The desktop functionality in Gnome 3 has been provided by the graphical file manager Nautilus with code that has turned

2018-05-24 14:03:17 -0500 answered a question [Fedora 28] How to create shortcuts in the desktop?

The desktop functionality in Gnome 3 has been provided by the graphical file manager Nautilus with code that has turned

2018-02-04 06:05:16 -0500 received badge  Good Answer (source)
2018-01-20 20:08:01 -0500 commented answer Windows partition read-only [solved]

If Fast Start is enabled in Windows, the NTFS partitions are left in a state where it is not safe to write on them. That is why you will only get a read only permission. Please follow the suggestion given by patocarr.

2018-01-20 19:50:50 -0500 answered a question Sudo don"t ask password [solved]

I assume that your problem is that sometimes sudo asks for a password and sometimes not and you can't figure out why this happens.


  • Sudo uses timestamp files to implement a "ticketing" system. When a user invokes sudo and enters their password, they are granted a ticket for 5 minutes (this timeout is configurable at compile-time). Each subsequent sudo command updates the ticket for another 5 minutes. This avoids the problem of leaving a root shell where others can physically get to your keyboard. There is also an easy way for a user to remove their ticket file, useful for placing in a .logout file.

This behaviour can be changed in the sudoers file by changing the value of the parameter timestamp_timeout

First edit the /etc/sudoers file using the command visudo

In the section where the Defaults specifications are located, insert the following line

Defaults timestamp_timeout = 0

Now the timeout for the user tickets is zero which means that sudo will always ask the password.

2017-12-21 03:07:01 -0500 commented answer Need to resize lv_home to use remaining space on pv but cannot

When enlarging the PV upto the size of the partition, you don't even need to use the "--setphysicalsize" parameter.

2017-12-20 16:10:21 -0500 commented question Need to resize lv_home to use remaining space on pv but cannot

You might give us the listings of the following commands

  • fdisk -l /dev/sda
  • pvs
  • vgs
  • lvs Those might shed some light on what's going on.
2017-11-17 00:01:42 -0500 received badge  Nice Answer (source)
2017-11-16 13:49:17 -0500 answered a question Why is there no live image for fedora 27 for 32bit PCs?

The 32-bit x86 processors are still (as of F26) supported as secondary architecture. This means that

  • Problems with i386 architecture won't stop a Fedora release
  • The new version might be launched a bit later that the primary architectures
  • ISO images might not be released at the main launch date

Right now the live images are not available but last time (F26) they appeared pretty soon after the main release. Just wait and see. They might appear soot (or not).

2017-11-10 01:58:43 -0500 answered a question How know sudo password

It is your own password. In this case it's the password of user yoediver.

2017-10-31 16:03:33 -0500 commented question Receiving input/output error when trying to mount Windows share in Fedora 26

The error messages provided by dmesgare usually very helpful.

2017-10-25 16:11:26 -0500 commented answer Installed virtualbox but says kernel drivers not installed

You might want to start with Wikipedia

2017-10-23 08:08:00 -0500 answered a question Installed virtualbox but says kernel drivers not installed

This is actually not a Fedora question but I will answer anyway.

You can just discard the message and run you virtual guest without the kernel drivers but the drivers might speed up the guest machine considerably.

First you'll need to mount the kernel driver disk to you virtual guest. The command is somewhere in the Virtualbox interface. I don't have a Virtualbox instance installed anywhere so I'm just trying to remember how it goes.

Then you need to open a terminal window on your guest machine and find the appropriate directory on the driver disk. In that directory you will find and installation program. Run it. You may need to install addition dependencies on your guest machine.

When you reboot your guest machine, it will use the installed kernel drivers.

2017-10-21 14:35:59 -0500 commented answer mount -t cif mount error(112): Host is down

Look at mount errors in dmesg

2017-10-21 08:09:36 -0500 commented question i need to move a file into my vm

Is the virtual machine on the same network as the host or does is use NAT?

2017-10-21 08:07:06 -0500 commented question Downgrade kernel

That command is correct. Maybe dnf clear all could help.

2017-10-21 07:56:31 -0500 commented answer Can't add a partition to fstab

According to the LSB (Linux Standard Base) the /mnt directory is provided so that the system administrator may temporarily mount a filesystem as needed. Therefore it's not advisable to mount your filesystem there. Please consider some other mount point such as /storage or /data/storage or anything you like.

2017-10-16 15:48:07 -0500 commented answer Bootlog flashing after updates, unsure whether to update again

IIRC I used something like exclude=kernel*-4.13.5-* but this was in the days when Fedora still used yum.

2017-10-16 15:44:24 -0500 answered a question Bootlog flashing after updates, unsure whether to update again

With kernel problems on one of my machines I've usually removed the offending new kernel and excluded it in my dnf.conf file. This way I don't have to worry about losing the working kernel. You'll know when your excludedirective is written correctly whe dnf update will no longer try to install that kernel version.

The manual page of dnf.conf also mentions protecting packages, which is done by adding a file to the /etc/donf/protected.d directory with the protected package name in it. The documentation is not clear about whether you can protect a certain kernel version this way, but the running kernel is always protected from deletion.

2017-10-15 05:24:42 -0500 commented answer Turn on screen sharing (VNC) in Fedora 26

The Wayland security model is totally different from the one in the X Window System. Applications will need to be fixed to accommodate the changes.

2017-10-15 05:22:27 -0500 commented answer mount -t cif mount error(112): Host is down

You know that is only a temporary fix. The changes in the kernel that affect mount.cifs will most likely be permanent.

2017-10-13 19:11:14 -0500 answered a question mount -t cif mount error(112): Host is down

mount.cifs changed in the recent update. One change that hit me was:

No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.

For the previous I had to add option vers=1.0 or vers=2.0. Your error message, however, implies some other problem.

Take a look at dmesg on another terminal (dmesg -w) while you try to mount your disk. You will most probably see and error message that explains why your mount now fails.

2017-10-11 22:59:01 -0500 commented question My machine turns off while installing fedora 26

He must mean 500 MiB. But as for the problem, I think that the computer overheats for some strange reason which causes it to turn off.

2017-10-11 17:56:32 -0500 answered a question Turn on screen sharing (VNC) in Fedora 26

Due to the new security features in Wayland, the screen sharing through VNC is not possible. However, you can share an session through VNC just fine.

Note that VNC does not share your current desktop but creates a new X window to be shared.

2017-10-07 09:15:19 -0500 received badge  Nice Answer (source)
2017-10-06 17:43:46 -0500 answered a question Fedora Vs Centos Vs redhat

Estou respondendo por meio do Google Translate, por favor, descubra meu Português.

Na minha opinião, o CentOS é uma plataforma muito mais estável como um host KVM e, como tal, eu o recomendaria.

O Fedora, por outro lado, oferece o software mais recente, mas você terá que fazer uma grande atualização de versão uma ou duas vezes por ano. E é totalmente possível que suas máquinas virtuais possam parar de funcionar após essa atualização.

Além disso, as versões KVM no Fedora e CentOS geralmente não são compatíveis entre si, portanto, transferir máquinas virtuais entre elas pode ser complicado.

Então eu recomendo claramente a CentOS por sua estabilidade.

In my opinion CentOS is much more stable platform as a KVM host and as such I would recommend it.

Fedora on the other hand gives you the latest software but you will have to do a major version upgrade once or twice a year. And it is totally possible the your virtual machines might stop working after such an upgrade.

Furthermore, the KVM versions in Fedora and CentOS are usually not compatible with each other so transferring virtual machines between them might be tricky.

So I clearly recommend CentOS for its stability.

2017-10-06 17:24:24 -0500 commented answer How do I add an empty partition to another disk for more space?

Your volume group seems to called "fedora" so the command above becomes vgextend fedora /dev/sda5

2017-10-06 17:20:44 -0500 answered a question How do I add an empty partition to another disk for more space?

You can simply add the /dev/sda5 partition to your existing volume group on /dev/sda7.

You can do this as root:

At this point the command pvs should show a single physical volume on partition /dev/sda7

Get to know you LVM structure with the commands vgs and lvs. You should see a single volume group and some logical volumes

First you make the partition /dev/sda5 into a LVM physical volume. Make sure that this is the correct partition and it does not have any data on it and it is not mounted anywhere. Any data on /dev/sda5 will be lost after this command:

pvcreate /dev/sda5

Since the partition is not empty, you might have to --force it: pvcreate --force /dev/sda5

Now you can check that pvs shows two physical volumes, one with a volume groupe on it and one without an associated volume group (/dev/sda5)

Take a note of the volume group name shown by pvs

Now you just add the new physical volume to the existing volume group:

vgextend NAME /dev/sda5

Now use the commands pvs, vgs and lvs to see how the situation has changed.

Now you can extend you existing logical volumes and the file systems on them using these instructions

2017-10-06 16:53:15 -0500 commented question How to see dnf history full commands?

By the way, a shorter way to write seq 279 -1 276 in bash is {279..276}

2017-10-04 20:15:29 -0500 answered a question How to move storage from Partition to LVM /home that's part of that partition?

You seem to have a lot of unused space on your volume group "fedora" which resides on partition /dev/sda5

To allocate more space for your logical volume "fedora-home" where your /home partition resides, you need to do the following (as root):

Please first use the commands pvs, vgs and lvs to get to know your LVM structure a little bit better. Then you can extend you "fedora-home" logical volume using:

lvextend --size=+100G --resizefs /dev/fedora/home

The 100G here is just an example.

If you want to allocate all that space to you /home partition, do the following:

vgdisplay fedora

See the number of free physical extents (Free PE) on you volume group and then extend the "fedora-home" logical volume by the same amount:

lvextend --extents=+NNN --resizefs /dev/fedora/home

where NNN is the number of free extents you saw before.

In the end managing LVM is not so hard once you get the hang of it.

2017-10-04 19:55:20 -0500 commented question How to get window ID of gnome-terminal

You can open a new Gnome Terminal in two ways: 1) On the dashboard click the terminal icon with you second mouse button and select New Window 2) On an existing Gnomw Terminal select from the menu bar File -> Open Terminal or simply press Shift+Ctrl+N

2017-10-02 20:04:06 -0500 commented answer f24 cannot open display: :0 NOT using wayland!?

Have you tried xhost +root which should give the user root access to your display.

2017-09-29 12:13:26 -0500 received badge  Nice Answer (source)
2017-09-19 21:05:09 -0500 answered a question Vim.desktop doesn't work corectly. [Solved]

vim is a terminal application so starting it with a .desktop file makes no sense.

There is a package called vim-X11 which provides gvim which is a version of vim that runs in a window. This package also provides the .desktop file for gvim

2017-09-19 18:30:36 -0500 commented answer How to install old version of Acrobat Reader

rpm does not resolve the depencies but dnfdoes.

dnf install AdbeRdr9.4.1-1_i486linux_enu.rpm

2017-09-16 15:47:27 -0500 commented answer disk clean up

Since you are using lvm you can resize your partitions online, no need to boot from a USB stick. This is one of the reasons to use lvm.

2017-09-16 15:38:44 -0500 answered a question DNF crash created duplicate installs, DNF is a duplicate

dnf remove --duplicates

2017-09-12 16:14:24 -0500 received badge  Good Answer (source)
2017-09-12 15:20:20 -0500 received badge  Nice Answer (source)