Postings by Toralf Lund

Copy to smb share fails with "invalid argument" on CentOS 7


I've had problems copying files to Windows shares from my CentOS 7
machine lately. I originally got this in the desktop file manager, but
find that I can also reproduce using gvfs-copy. "cp" to the directory
mounted by gvfs works just fine, on the other hand. Also, the problem
does not occur with small files - I think anything below 64k is OK.

Specifying different options for different " smb" type gvfs mount


I'm trying to use smb:// URLs with gvfs-mount and/or similar desktop
functionality to access SMB shares on different servers that support
different protocol versions and features. With some of the servers,
mount will fail with a default configuration, but I have been able to
make it work by editing some of the "client" options in

CentOS 7 system unsable after "yum update" (with some errors on the way)

God dag,

I've been trying to run a "yum update" (without additional arguments) to install the latest system updates on my CentOS 7 machine. It's no going so well. What happens is this:

1. The process gets stuck a couple of places as a "post" script or similar tries to run "dbus-send"; the problem looks awfully similar to what's described in <a href="" title=""></a>. More specifically, this happens on installation of package "setroubleshoot" and "avahi". As a workaround, I'm using a manual kill to get rid of the hung process.

Create CentOS 6 system as "clone" of another - with LVM and different disk sizes


I just found myself having to set up a new CentOS 6 system with a nearly
identical configuration to an existing host, so I thought I would just

1. Do a minimal install to set up partitions etc. on the new system.
2. Create an image of the existing system using Clonezilla
(<a href="" title=""></a>)
3. Run a Clonezilla restore on the new system.

- as I though it would be a lot simpler than replicating the exact
package selection, installing the same users, doing the same manual
config edits (which are required) etc.

It turns out that it wasn't quite as easy, though.

Pulse Secure/Juniper Networks Network Connect (CentOS 7)


Is anyone here using the "Network Connect" VPN software from Pulse
Secure (which was previously known as Juniper Networks Network Connect)?

I've used this successfully in the past to connect to the machines at
work from home. That was with CentOS 6, though, on CentOS 7 I can't seem
to get it to work. The software actually starts, and it also
successfully sets up a "tun" type network device with an IP address, but
I can't reach anything across the connection. In fact, even resources
outside VPN/the company network become unreachable.

Does anyone have any idea what may be wrong?

Issues with qt-creator from EPEL 7


Is anyone here using the "EPEL" package for qt-creator on CentOS 7? I'm
having a few issues with it, and I though I'd run them by the list
before I try Qt Forums or whatever (since they could be specific to the
above mentioned build.) Most notably,

1. If I click on an error message in the "Issues" list after
compilation (to display source code related to the error), I
sometimes get a "File not found" message *if the file in question is
already open*. If I close the file and repeat, the same file opens
just fine.

Run as root w/o terminal/gksu-polkit uses 100 % CPU


On CentOS 7, what's the best way to start a GUI program as root without
a terminal? I mean, from a launcher or similar where you can't provide
terminal input to "sudo". I'm talking about applications that aren't
configured to switch to root out-of-the box, of course.

I just tried gksu-polkit from EPEL, and it kind of did the job but:

1. It consumed *a lot* of resources - CPU usage was reported at a
constant 100 %, more or less.

Switch off laptop screen when docked with lid close - CentOS 7


I'm using CentOS on a laptop that part of the time is connected to a
docking station with two monitor connected to it. When the laptop lid is
docked, its lid is closed, as the system is placed in a position where
it's not convenient to keep it open, let alone look at the screen.

Now in the past, with CentOS 5 (on a different laptop, but same physical
config) and 6, the screen has automatically been switched off in this
configuration - it's been as if it was no longer there after I docked
the machine, which is of course exactly what I want.

Intel Bluetooth problems - "Invalid request code (56)" - on CentOS 6.9


I have Lenovo laptop with an Intel wireless and Bluetooth adapter,
running CentOS 6.9. The wireless works just fine, but I can't seem to
get Bluetooth to work. When I try to force it up from the command line I get

# hciconfig hci0 up
Can't init device hci0: Invalid request code (56)

There is also a similar message message in /var/log/messages from
start-up on boot.

Location of grub.conf etc. with UEFI boot (CentOS 6)


What's the proper/normal way of setting up GRUB for a CentOS 6
installation that boots using UEFI? I've recently set up such a system,
but for technical reasons I mentioned in an earlier post, I booted in
"legacy" mode during installation, which meant I didn't get the correct
UEFI boot configuration, and had to set it up subsequently "by hand".
I've managed to get the system to start up, but I had to place grub.conf
under "/EFI/redhat/" on the EFI partition; without it, the system only
boots into the grub shell.

Small GRUB screen (menu/splash image)


After moving my CentOS 6 installation over to a new PC, the GRUB
start-up screen looks a bit strange. On the old machine, the menu area
and splash image would cover the entire screen, but now they occupy only
a small rectangle in its centre. I think what happens is that the max
resolution of the graphics card/monitor combo is enabled even at this
early stage, but GRUB assumes a 640x480 display.

Is there any way I can change the resolution so that the GRUB screen
covers the entire display?

Lock-up during boot when Logitech unifying receiver is connected (UEFI problem?)


I've got a bit of an issue after I switched to a new laptop for my
CentOS 6.9 installation: I'm using a Logitech cordless keyboard and
mouse that communicate with the system via a so-called "unifying
receiver". If this unit (a small USB thingummy) is connected when I try
to boot the system, it locks up completely. This happens before the GRUB
screen is displayed. The set-up otherwise works just fine, i.e.

Problem with attachments in thunderbird-45.5.1


Has anyone else had problems opening attachments in Mozilla Thunderbird
under CentOS 6 lately? I find that when I open the application and
select a message with attachments and double-click on one of them,
everything works as expected. But, if I try to open another (and another
etc.), the helper application isn't started. In other words, I can only
view one attachment per session - if I want more, I have to restart

CentOS 7/GNOME 3 customise top panel


Is there any way to customise the top panel in CentOS 7 with GNOME 3
(which I recently tried for the first time)? Specifically, I want to add
"application launchers", as it will make start-up faster than the
standard alternatives.

NetworkManger wireless issues - "Failed to load root certificates"/"unable to get local issuer certificate"


I'm trying to connect my CentOS 6.8 laptop to the wireless net at work,
which is secured with WPA2 and AES. I've done this successfully in the
past using NetworkManager, but a new safety feature was recently
introduced: A CA certificate is required. After this, I've not been able
to connect. I have a DER format file, whose path I've entered in

CA certificate:

in the NetworkManager security page, but apparently, this isn't enough;
NetworkManager will try for a while, then pop up the security/login
dialog again.

"Windows" share issue; access via smb:// fails, "mount -t cifs" works


Is anyone here using smb:// URLs to access "Windows" shares? I've been
doing this for a while with common file systems at work, and it used to
work just fine. Then I while back, I started getting issues; I will now
just keep getting asked for a password when I try to access something
through smb://.

Help viewer issues


Does anyone else have issues with the GNOME help viewer on CentOS 6? I think it mostly worked a while back, but after some recent update or the other, I have problems like:

1. Nothing happens when I click "Desktop User Guide" or "GNOME Desktop Accessibility Guide" or "GNOME Desktop System Administration Guide" on the "Help Topics" page.
2. If I select "section" links in the column on the left-hand side (under "Desktop"), I do get new section headings, but when I select any of these, again, nothing happens.

Mounting NFS file systems via Nautilus on CentOS 6


I'm trying to set up my "work" laptop, which has CentOS 6.6, for easy
NFS access to a "NAS" disk at home. I can't set for a normal "permanent"
mount, since most of the time, the filesystem will not be available. I
know several different ways to mount temporarily from the command line,
but I was hoping I could set up the system so I could mount by clicking
in the file browser (Nautilus.) I can't seem to find a way to do this,
though. I've tried two different approaches:


Logitech unifying receiver (pairing)


Is anyone here using a Logitech wireless mouse our keyboard or whatever
using a "unifying receiver". Any luck with pairing new devices with the

I've tried various different programs from the net that's supposed to be
able to do this, but they all fail in one way or the other.

Java plugin (icedtea-web) does not load


After some recent upgrade or the other, the browser plugin for java no longer works in my CentOS 6 x86_64 setup - using Firefox. Applets won't load, and no java plugin is mentioned in "about:plugins". The "openjdk" Java packages as well as icetea-web are installed, though, and everything worked just fine a few weeks ago.

Has anyone else seen this? Any idea what may be wrong and/or how to diagnose the problem?

Down-grading to an "obsoleted" package


Does anyone know if there is a clean way to "downgrade" to the old rpm
package when it was previously replaced by another that obsolete it?

I mean, say that I have installed some rpm "A-1.0-1.x86_64.rpm", and
along comes "B-1.0-1.x86_64.rpm", whose spec has

Obsoletes: A

Now, if I do "rpm -U B-1.0-1.x86_64.rpm" or "yum install
B-1.0-1.x86_64.rpm" or (if B is available through an enabled repository)
"yum update", what happens is that "A" gets removed and "B" is installed
in its place. Then I decide I want to switch back to "A". So what do I

Disk space warning ("gdu-notification-daemon" type) for remote systems


/I need to implement a system of disk space checks and warnings for a
client-server setup running CentOS 6. Simply put, I just want a warning
popup rather like the ones given by gdu-notification-daemon when server
file system is full or nearly full, but they should appear on the client
display(s) rather than locally, and must also work when nobody is logged
directly in to the (server) system.

What do you reckon is the best way of achieving this? I can think of
ways to get what I want via scripts/custom programs/cron jobs, but
perhaps there are "standard" solutions already?

CentOS 6.5 VirtualBox


Is anyone here using VirtualBox? I've had it working rather well for
some time, but after some recent upgrade or the other it's started
exiting with a Segmentation fault just after startup, before windows are
opened or anything. I've tried a few different versions, all with the
same result. I'm using binary packages
<a href="" title=""></a>.

So, have any of you lot seen this?

Filesystem missing from computer:///


Does anyone know what exactly controls which filesystems are listed when
opening Computer (URL computer:///) in the File Browser?

I have a system disk with 4 different data partitions, but only 3 of
them show up in the list. The "missing" one can, however, be mounted
just fine from the command line, and it's also included in
/dev/disk/by-label. It has an NTFS file system, but so do two of three
that do get listed.

Setting up paths etc. for Qt 4 development


I was just wondering, is there a "correct" or "preferred" way of setting
up the path and other environment variables for Qt 4 development/build
using qmake and all - on a CentOS 6 system?

I mean, this does not work out-of-the box, at least if you have build
files that assume "qmake" may be executed just like that - as there is
no Qt 4 qmake on the path, although "qmake-qt4" is available. Also, if
qt3-devel is installed, and the default path setup is used, "qmake" will
point to the Qt 3 version, as the package includes a profile.d file that
modify the path in such a way.

Issue tracker question: Can I delete/replace an attachment?


I recently uploaded a file to a certain issue in the CentOS issue
tracker. I then found it wasn't quite correct, so I edited it, then
tried "Upload file" again, with the same filename, but got a message saying:


This is a duplicate file. Please delete the file first.

Please use the "Back" button in your web browser to return to the
previous page. There you can correct whatever problems were identified
in this error or select another action.

CentOS source rpm repository setup


I thought I might set up my CentOS 6 system with a source rpm repository
config, so that I'll be able to download srpm files via "yumdownloader
--source" or similar.

Weird mouse behaviour (after upgrade to CentOS 6.4?)


For a few days now I've had some pretty annoying mouse-related problems
on my CentOS setup. I'm not sure if I get "false" mouse events or what
it is, but quite frequently I find that the system has somehow got into
a state where mouse clicks are not properly received - although I can
move the pointer all right, and they keyboard also works just fine.

Eclipse (again)...


Just thought I might ask my recent question about Eclipse again, only in
a slightly different way:

Is anyone here using the Eclipse version supplied with the CentOS 6
distro (as opposed to a build downloaded from <a href="" title=""></a>)? Does it
work for you? Are you able to install additional components via the
built-in software setup mechanism?


- Toralf

This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only.

Eclipse CDT not working properly

Hello again,

Another problem with my new CentOS 6 installation:
The C/C++ support in Eclipse seems to be partial or missing - even
though eclipse-cdt is installed. Eclipse starts all right, and I get a
C/C++ perspective, but:

1. If I open a C++ file, it's sent to an external editor.
2. C or C++ is not mentioned in Preferences.
3. I can't find a reference to CDT under Help->About Eclipse
Platform->Installation Details

I've tried reinstalling all the eclipse packages, and also resetting the
workspace as well as the settings in ~/.eclipse, but it made no