Tag Info

New answers tagged

0

fter few days of struggle with Ubuntu crashing frequently finally it worked. Below are the steps I have tried. Please take it as a reference as there is high chances that I might have forgotten to write some steps ................................................................................................... Overview of a problem: Trying to connect ...


0

Check /etc/yum.conf (or any other yum.conf that your yum might by using. Check for the following line: exclude=kernel* Comment out that line, do a yum clean all and try yum update again and it should go through fine. This line is asking yum to exclude the kernel from getting updated. You are getting that error since kernel is not getting updated, but a ...


3

That error (likely) means you are trying to run a 32-bit executable on a 64-bit system. I'll answer the specific issue here, but see the bottom of the answer for the better approach in general. You say have yum around, so this may help you: yum install lib/ld-linux.so.2 yum will try to find anything that provides that file and then install it. It should ...


0

There are multiple ways of installing a package in Linux/Unix. Installing using package managers like apt or rpm. Compiling the package from source code and installing them. These packages are compressed archives. Binary packages that come with an installation script or you might directly need to copy the binaries to appropriate location. These too come ...


0

I get the exact same error when running 7zip on a rar file in multiple parts, I can't help you with that, but I suggest you use rar or unrar. Solution: Download rar from here. Then do: tar -zxvf /pathtofile/rarlinux-x64-5.1.1.tar.gz ln -s /pathtofile/rar/rar /usr/bin/rar ln -s /pathtofile/rar/unrar /usr/bin/unrar The command to decompress with unrar ...


2

Presuming you have twm installed (yum install xorg-x11-twm), create a shell script in $HOME called .xinitrc: !#/bin/sh twm That's it. I believe this must be executable (chmod a+x .xinitrc). You will now be able to startx from the console and get twm (don't invoke this script yourself directly). If you use a display manager (graphical login), it should ...


0

The solution is in adding both user iva and user picrin to the group tty and modifying the /etc/login.defs to include a line TTYPERM 0620. This solves the problem.


0

I just tried this on my Fedora 19 system and was able to write messages from user X to user Y as follows. user X (samtest) In samtest's terminal I ran the following command: $ write saml blah blah blah Ctrl+D user Y (saml) In saml's terminal I saw the following message: Message from samtest@greeneggs.mydom.net on tty3 at 21:03 ... blah blah blah EOF


3

The command to set the hostname is definitely, hostnamectl. root ~ # hostnamectl set-hostname --static "YOUR-HOSTNAME-HERE" Here's an additional source that describes this functionality a bit more, titled: Correctly setting the hostname - Fedora 20 on Amazon EC2. Additionally the man page for hostnamectl: HOSTNAMECTL(1) hostnamectl ...


1

I found this: https://aur.archlinux.org/packages/xf86-input-evdev-debounce/ after googling for "linux xinput mouse debounce" I'm not gonna test it. It's been a long time since you asked, but maybe someone has the same problem with a favorite mouse, so here it is. Also, I'm not an Arch user; but they really rock!


0

download boot.iso http://mirrors.eu.kernel.org/fedora/releases/20/Fedora/x86_64/os/images/boot.iso or http://mirrors.eu.kernel.org/fedora/releases/20/Fedora/i386/os/images/boot.iso we can put boot.iso on a usb stick , in same way that we put live images, describe in USB Booting : usb must be on vfat or else format usb with: # mkfs.vfat /dev/sdb1. # ...


2

Is my understanding of the above commands correct ? Yes What does the local repo mean ? Is it a directory that contains all the packages If you are configuring your own yum repository (or your system admin. in your lab) then it may refer as local yum repository. It may be on local system or on a private network. Ref: How to ...


2

The likely cause for this is your dhcp client. If you're using dhcpcd, which is common, the solution is to add the following line to /etc/dhcpcd.conf: nohook hostname This prevents dhcpcd from calling out to the script which changes your system hostname. By default, dhcpcd runs all the hooks present /lib/dhcpcd/dhcpcd-run-hooks (the path may differ on ...


0

Neither CentOS nor Fedora are "RedHat Linux". There isn't really any such thing; there is Red Hat Enterprise Linux, which replaced the previous Red Hat Linux. Fedora and CentOS are both Red-Hat sponsored projects but are not Red Hat products. Generally, Fedora is compatible with whatever is supported by the upstream kernel. Fedora does have kernel ...


1

You can install Valknut, which is another wonderful Direct Connect Client. The benefit of using Valknut is, it is available in the official yum repository so is easy to install. To install Valknut: su -c "yum -y install valknut.x86_64" I personally prefer Valknut over Eisaklt, as it is more stable and available in the official Fedora repository, so more ...


0

There are no bfq or bfs patches applied to the Fedora kernels unfortunately (esp. in the case of bfq). So there is no way to enable those features by adding kernel args. Further, there is no trusted Fedora repository that has kernels with those features enabled. It seems that until bfq becomes part of mainline you will have to keep creating the kernels ...


-1

Use this: # sudo yum clean all # sudo yum update


1

I found the files that where blacklisting my module here: /lib/modprobe.d/


1

/etc/modprobe.d/blacklist.conf search in this file for a module name and if it's indeed in there then comment out or delete the string.


0

I think the key to find out whether it is a LVM-over-LUKS, or the other way around, is the order of crypt and lvm TYPEs in the output of lsblk command. Based on that reasoning, I conclude my setup is a LUKS-over-LVM. For the lsblk output for a LVM-over-LUKS type of setup, look at output showed by @frostschultz below. In my case, since /dev/sda3 is a "Linux ...


4

cryptsetup luksDump /dev/fedora/01 shows the LVM logical volume to be a LUKS encrypted volume. The output of pvs or pvdisplay would show the partition /dev/sda3 to be a physical volume. Thus you have LUKS over LVM. At a lower level, you have LVM over PC partition. The output of lsblk confirms this: sda is a disk, sda3 is a partition (which contains an LVM ...


2

It's very odd to have a LUKS inside a plain crypt. Why encrypt twice? Once your filesystems are mounted, lsblk will show you what's what. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 59.6G 0 disk └─sda1 8:1 0 59.6G 0 part └─md0 9:0 0 ...


1

The accepted answer did not work for me but the following method did. However, if you have a directory that contains your LPD control files, typically it's /var/spool/cups, you'll notice a bunch of control files in there. These files are kept as a result of theMaxJobs` setting, which defaults to 500 when unset. $ sudo ls -l /var/spool/cups/ | wc -l 502 ...


1

You can see what you have like so: $ sudo blkid | grep crypto_LUKS /dev/mapper/fedora-home: UUID="XXXXXXXXXXXXXXXXX" TYPE="crypto_LUKS" That's a LVM logical volume with crypto LUKS on it. When I mount that volume it's mounted like this under Fedora 20: $ mount | grep home /dev/mapper/luks-XXXXX on /home type ext4 (rw,relatime,seclabel,data=ordered) If ...


1

According to fedora's wiki : If you are doing a UEFI-native installation and using custom partitioning, though, be aware that you must include an EFI system partition mounted at /boot/efi as a part of your partition layout. In the installer, go for custom partitioning. It'll show you the existing partitions on your disk. setup the efi partition: ...


1

You're confusing the System prefix of the journald setting with the system/user journal separation. SystemMaxUse sets the total disk space all of the journals will take up together, and doesn't take into account how system and user journals are split out. (Caveat here being that the limits are enforced when the journals are rotated and not directly as they ...


0

If you look at the output of lsmod it'll typically tell you which modules are loaded due to being a dependency of some other module. For example, in the case of bridge, it looks like stp & llc required it. $ lsmod | grep brid bridge 116006 1 ebtable_broute stp 12868 1 bridge llc 13941 2 stp,bridge ...


0

Gnome 3 uses an authorization mechanism called polkit so the right way to run that executable as root is via pkexec: pkexec allows an authorized user to execute PROGRAM as another user. If username is not specified, then the program will be executed as the administrative super user, root. To authorize the user in the active session to run that ...


0

I think you need to use gksudo in this case. I quote from the gksudo(1) man page: gksu is a frontend to su and gksudo is a frontend to sudo. Their pri‐ mary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly So it would seem that the issue here is that the ...


0

It's easiest to: Use VBoxManage to resize the Virtual Disk. You've already done this. Download A Gparted Live ISO Set Virtualbox to boot the GParted Live CD, on the VM Disk you resized in step 1. Complete the Resizing Operations in GParted, as GParted >=0.14.x supports LVM Shutdown the VM and remove the ISO from the virtual drive. Restart the VM. Twiddle ...


0

I had a lot of similar troubles. A few things: do the VDI resize whilst the machine is powered off resize the partition with fdisk before resizing anything related to LVM you've possibly set your /dev/sda2 to extend past the end of the disk if you also have /dev/sda1 (you used the full 20G for /dev/sda2, but it probably does not start at 0) I found this ...


1

No, updating a disabled service with yum should not re-enable it. I suspect however that you never actually stopped the service - doing systemctl disable just stops it starting automatically the next time you boot. If the service is already running then it won't stop it - you need to do systemctl stop for that. So if you just disabled it, and you haven't ...


0

I fixed this by disabling the shortcut in Yakuake itself ("none"), then going to KDE Control Panel, Global Keyboard Shortcuts, find Yakuake from the dropdown list of apps, and set open/retract as desired.


0

That's the way the cookie crumbles with QEMU. If you read the documentation you'll get to: Tap The tap networking backend makes use of a tap networking device in the host. It offers very good performance and can be configured to create virtually any type of network topology. Unfortunately, it requires configuration of that network topology in the ...


0

Check the output of: ls -l /dev/kvm Look at the user-permissions segment, looks something like user group Make sure your user has access to /dev/kvm chown your_user:your_group /dev/kvm Then you can run VMs from your user!


0

This answer is specific to Logitech devices with Unifying receiver, but you're mentioning one explicitely in your question. Install solaar, a tool which can be used to pair devices with the unifying receiver, but also provides basic device configuration (and status information like battery level). Select the mouse, disable "Smooth Scrolling".


4

You can use zenity (GTK+ dialog display): zenity --warning --text="Warning text" --title="Warning title" Change --warning to --error or --info for different window versions. And as always: man zenity is your friend.


0

My solution was similar to @slm's but I used SOCKS instead because it is simpler and required no proxy installation on the server or client. Run all commands on the computer with restricted acccess. in yum.conf set the proxy as follows proxy=socks5h://localhost:1080 from a terminal type ssh -D 1080 YOUR_USER@YOUR_SERVER_WITH_FULL_WEB_ACCESS press ...


-1

If you have an entry corresponding to your cd/dvd device in your fstab, try to comment it and reboot. Perhaps there is some interferences between automount and fstab options.


0

Unfortunately, Fedora 20 doesn't have the Python 3 version of this library, but Fedora 21 has it (see RPM SPEC commit). As a side note, while the Fedora Packages web page for python3-pandas might lead you think that it's available for Fedora 20 and 19, it's not. I've reported a bug about this.


0

Add this line to /etc/yum.conf and make sure to use the expected protocol (not http): ... proxy=socks5h://localhost:1080 ...


1

You should be able to proxy YUM's traffic over the SSH connection like so: add to the /etc/yum.conf on the protected server: proxy=http://127.0.0.1:8080 from the server with normal inbound/outbound ssh access: $ ssh -R 8080:ssh.server:8080 user@protected.server On the server where you want to run YUM commands: $ yum update References Port Forward ...


-1

Regarding your query, execute the following commands and verify the output for errors: $ lsblk $ lspci $ dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer' $ cdrecord -prcap dev=/dev/cdrom $ ls -l /dev/sr0 $ x-cd-roas Generally, the reported issue might be due to the following reasons, CD drive does not connected properly; Maybe the drivers need to be ...


1

To obtain a login prompt CTRL + ALT + Fn where n is between 2 and 6 F7 is your graphical login. I do this all the time on my laptop. No need to edit login.defs etc.


4

login command is configured under /etc/login.defs, in particular you are interested in two variables: #If defined, this file will be output before each login prompt. ISSUE_FILE /etc/issue # Password prompt (%s will be replaced by user name). LOGIN_STRING "%s's Password: "


2

The only way I found so far is vimdiff:


1

To enable browsing of HTTPS sites you have to add the proxy also to the HTTPS proxy settings. Also you have to import the root CA of your companys proxy to chrome else chrome will not accept any connections as it does not know the root CA. Also be aware that you will not be able to display some sites as chrome is using Certificate pinning for some sites ...


0

Permissions? You're showing the command service mysqld start but are you prefixing that with a sudo? I suspect you do not have permissions to start this service based on the fact that you're getting these "permission denied messages" in the output you've included in your Q. Sep 23 11:29:32 acer-4930g mysqld_safe[4250]: /usr/bin/mysqld_safe: line 138: ...


0

The easiest way to fix your problem is to manually install the package (which yum has downloaded into /var/cache/yum/... somewhere) using rpm -Uvh --replacefiles However you likely have some more "fumbling attempts" ;-) to clean up. Try doing rpm -qa --last | more to see recent activity. You also should check for duplicated installations.



Top 50 recent answers are included