New answers tagged

0

Having had the same issue, I fixed it following this procedure: Install all libinput package (libinput5, libinput10, xserver-corg-input- libinput Remove the synaptics driver → xserver-xorg-input-synpatics Remove all synaptics related fils in /etc/X11/xorg.conf.d/ (Like 50-synaptics.conf) Reboot And the touchpad is back in gcontrol-center


3

The directory is on an NFS-mounted filesystem. Likely, the NFS server has exported it with the root_squash option (default on most systems), meaning that for access to this filesystem, the root user is mapped to the nobody user, and is thus subject to the permissions for 'others' for the directory. Possible actions: Don't use root for accessing this ...


0

Try replacing the vfat type with fat32


0

Install network-manager , some dependencies need to be installed to get wifi working: aptitude install network-manager install the wireless-tools: aptitude install wireless-tools The right driver is installed according to your question. additional info : iwlwifi is a non-free firmware , it can be installed by adding a non-free to your /etc/apt/sources....


1

Found the answer here: https://wiki.debian.org/DebianSqueeze My apt sources needed to be pointed at archive.debian.org rather than http.debian.net


1

You need to (at least) remove apache2.2-bin: apt-get remove apache2.2-bin Alternatively, you can force the installation of apache2-bin: dpkg -i --force-overwrite /var/cache/apt/archives/apache2-bin_2.4.20-2_amd64.deb and then try apt-get -f install again.


0

I faced the same problem in Linux Mint (Kernel Version 3.13.0-24) and I was able to solve it using the commands : gpg --recv-keys <the-reported-key> gpg --export <the-reported-key> | apt-key add - Points to be noted: 1) The commands were executed in order 2) The commands were exectued as root user Courtesy this answer.


2

Just figured out the problem. When you giving privileges from other then the root user, then you need to specify user at the sudo command. See below example: This command run by cat and it works. sudo -u dog vim /home/dog/test.txt


0

I also confused by this problem for a long time.keeping Google,at last,I finally found a way out. systemctl status gdm3 service systemctl start gdm3 service and then I can access gui again


0

I could solve the problem with Anki on my machine by installing python-qt4 from Jessie. Go to https://packages.debian.org/jessie/python-qt4 Download the right package for your architecture (at the bottom of the page) Install it via sudo dpkg -i python-qt4_4.11.2+dfsg-1_<ARCHITECTURE>.deb Prevent updates of this package echo python-qt4 hold | sudo ...


3

If you know the root password then you can do $ su root # rm /etc/sudoers.d/jupyter visudo will validate the sudo files if in edit mode; you ran it in export mode...


-1

If you would type sudo -s in the terminal then all command afterward will be executed as sudo, but I would not suggest staying in such mode if not necessary.


0

Just in case anyone was wondering this is what I did to fix this problem. Fix: sudo setfacl -R -b This recursively (-R) removes all (-b) acl permissions I was also getting a group write warning for the following files: /var/lib/sudo/lectured /var/lib/sudo/ts Fix: sudo chmod 700 for both of the files and that correct the permissions and it fixed ...


2

As root edit /etc/sudoers and place the following line: youruser ALL=(ALL) NOPASSWD:ALL after # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL In this way you will be capable to execute all commands that require sudo privileges passwordless. In order to use sudo and be prompted for a password you need to remove ...


0

Because the By default jessie network configured via DHCP you have multi solution sol 1: sudo update-rc.d dhcpcd remove sol 2: sudo nano /etc/dhcpcd.conf or /etc/dhcp/dhclient.conf adding the following command nodhcp and in file /etc/network/interfaces must change the lines in the following way: iface lo inet loopback auto eth0 ...


-1

If the resolvconf program is installed, you should not edit the resolv.conf configuration file manually on Debian or Ubuntu based system as it will be dynamically changed by programs in the system. If you need to manually define the nameservers (as with a static interface), add a line something like the following to the interfaces configuration file at /etc/...


1

On Debian, the recommended approach if you want to install the proprietary NVIDIA drivers is to enable the contrib and non-free repositories and install the packaged driver. Adapting the instructions for Debian 8 (do everything as root or via sudo): add contrib non-free to the appropriate line in /etc/apt/sources.list, so you end up with something like ...


2

To have the usage per IP address, You can create an iptable rule for each IP address in the FORWARD chain and track iptables statistics counters. Taking it from Network Statistics with iptables and rrdtool iptables -N stats iptables -A stats -s 192.168.0.3 -o $WAN -j RETURN iptables -A stats -d 192.168.0.3 -i $WAN -j RETURN iptables -A stats-s 192.168....


0

On a system running Debian Jessie, I was able to append the following code to the file located at /lib/systemd/system/networking.service.d/network-pre.conf [System] TimeoutStartSec=15 This changed 'no limit' to a limit of about 20s, making the system boot much faster if network is disconnected. Creating a file in /etc/systemd/system/networking.service.d/ ...


1

If apt is borked, sometimes it's possible to set things right manually with dpkg and the full path of the local cached package. Here's how: cd to where apt stores the packages, namely /var/cache/apt/archives/ dpkg then (as needed) the switch for install, remove, purge or whatnot, then the filename of the package in the current directory. So to install ...


0

You can run applications in separated environments via https://linuxcontainers.org/. Each application instance can have separate file systems, users, networking and so on.


2

Sshd doesn't care where the connection is coming from, if it's configured to do a reverse DNS lookup, it does.


0

Reboot was the only solution that worked for me. I killed the runaway dbus process and other things failed. This is what happened when i tried to reload httpd- Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org....


0

I do not know of a tool that gives you the swap size on a per process basis, but it would be easy enough to write one... (see shell script example further down) Linux comes with a tool named smem. To install under Debian/Ubuntu you should be able to use (it will install many python packages in the process): apt-get install smem Then to use it, just type ...


0

You asked multiple questions. I'll answer the question: "Why doesn't my custom systemd service start at boot?" The answer is because you haven't enabled it. When you run systemctl enable my-service-name, The [Install] block in your Unit file is acted upon. In this case, you have instructed systemd to start up the service as part of reaching the multi-user....


1

I was finally able to install debian on the laptop - I manually created bootable USB stick with syslinux (which has textmode by default) and since that process was far more complicated than I originaly thought, I'm posting it here: I was using instructions from: https://www.debian.org/releases/jessie/amd64/ch04s03.html.en - this is unfortunately very ...


2

If you're modernist, you can switch to using systemd-networkd instead of the usual static configuration method. See man systemd.network; the basic idea is removing /etc/network/interfaces and creating instead /etc/systemd/network/static.network like [Network] Address=1.2.3.4/26 Gateway=1.2.3.3 Don't forget to systemctl enable systemd-networkd as well.


0

The predictable network interface naming scheme is made to solve exactly this problem of getting different names for an interface at different times. This means that with this change your problem should be gone (until the next change of interface naming in systemd 😉)


4

I think the easiest, practical solution is to revert to classical behavior. In the USB stick's bootloader config (so, in the grub2 config, for example), add the paramater net.ifnames=0 to the kernel command line. Continue using eth0 in /etc/network/interfaces. Given the situation you've described and the emphasis you placed on keeping things simple, this ...


0

One place to start is to use pavucontrol (install it if you don't have it) to check to what output your sound is sent. Under "Output Devices", the text next to the icon of a sound card should be something familiar (for me it is "Built-in Audio Analog Surround 4.0". There might be options to change ports, if you have multiple speaker configurations. But that ...


0

Let's say you want to restore Foo's directory "bar" from his home directory (which is /home/foo), your command would look like this: /usr/share/backuppc/bin/Backuppc_tarCreate -h host -n -1 -s /home/foo/bar > restore.tar Flags : -h host Host from which the tar archive is created. -n dumpNum Dump number from which the tar archive is ...


0

John's answer will work. Alternatively, the filter statement in the nss_ldap or nslcd configurations allows you filter users by random LDAP filters; e.g., filter passwd (|(uidNumber=1234)(gidNumber=1234)) This example will only define users with uid or gid '1234' on the current machine. You can use any valid LDAP filter here. The difference with John's ...


0

It won't let me comment because I don't have enough rep, but a quick Google search gives this: http://backuppc.sourceforge.net/faq/BackupPC.html#Compressed-file-format Also this: You can use the BackupPC_zcat binary to decompress individual files manually. http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/...


0

Your configuration has the following line in it: DocumentRoot /var/www The document root is the 'default' location where Apache will look for files. Since it points to /var/www, and since /var/www/owncloud exists, that means the webserver will look there if you enter http://domain.com/owncloud in your web browser. Since you apparently don't want that, ...


1

Below auto lo add auto eth0. Then, below that, add alow-hotplug eth0 Your final /etc/network/interfaces should read: auto lo auto eth0 allow-hotplug eth0 iface eth0 inet6 auto Reboot for good measure. see: man interfaces for more info :)


0

i found the answer.. Because i was installing the app at my sd card thats why i could not access or change the permissions of the folder.. because it was located at the sd card and not at the phone storage.. fix that by installing the app at the phone storage!


1

First of all, your syntax is wrong, and will result in a command line like... dh_gencontrol -- -Vdist:Depends=""php7.0, php7.0-opcache, ..."" rather than (what you would want): dh_gencontrol -- -Vdist:depends="php7.0, php7.0-opcache, ..." this is because make doesn't do quoting, and you quote the data in the variable twice (once in the assignment, once ...


0

The software to use is makeself.sh, distributed by megastep, which is downloaded as makeself.run. Here's a URL to download the package: http://stephanepeter.com/makeself/, where the archive creation options are explained. I used it to patch nvidia driver files and recreate the .run file. It will execute an existing installation program within the archive.


2

Find another company. If they claim to rent you four cores, you should get four cores. A complaint that the load is 3.5 (which means you're using approximately three and a half cores, not four) and that it therefore is abusing their system, is ridiculous. There are many cloud providers who will happily allow you to run whatever you want...


0

There are many ways you can throttle an application but the simplest is usually to add usleep() or similar calls to slow it down which in turn lowers the CPU usage. Considering that your application spawns many processes, it may also be worthwhile to look at adjusting that part as well.


2

This is occurring because the output for v3.3.6 was going to stderr, not stdout. Apparently, prior to v3.4.0 the output from python --version is sent to stderr, whereas in v3.4.0 and later this output is sent to stdout. Redirection of both stdout and stderr to the output file works just fine: python --version >> $fname 2>&1


2

Read https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ for an exhaustive treatment of the matter. You main problem is this: What precisely is required for $network is not obvious and can be different things depending on local configuration. Systemd gives you better tools as detailed on the above link. Basically, you'll want to put [Unit]...


0

Some distributions ship alsa with the main channel muted. Check alsamixer.


1

You need to build a new kernel. The Brodcom BCM43142 is working under the 3.2.81 kernel version. To get some idea about the problem we can refer to the Bug report posted by @stephen-kitt 1) Remove the bcmwl driver 2) Compile the 3.2.81 Kernel 3) Re-install the broadcom-sta-dkms


1

This is a complementary answer based on the other one. It seems that in order to fix this problem Dropbox needs to be started with the command dbus-launch dropbox start (dropbox stop in the script was needed considering that Dropbox was supposed to be already running) Run "Autostart" in krunner (Alt-Space, type 'Autostart') and remove dropbox from the ...


0

sudo alsactl init worked for me in a similar situation. I believe sudo privileges were required for this. At the time I had these packages installed: alsa-base, alsa-oss, alsa-utils.


1

If you can SSH to localhost, but you can't SSH from another machine, then either you changed the SSH configuration to forbid SSH from other machines, or there's a firewall that blocks incoming SSH connections. The firewall could be on the same machine, or on any hop between the client you're testing from and that server. If SSH works on the default port but ...


-2

Once I faced some weird errors because commented lines were without space between the character # and the text. correct: # no default banner path incorrect: #no default banner path


1

The line deb http://ftp.uk.debian.org/debian/ jessie main contrib non-free in your /etc/apt/sources.list is a duplicate/extension of deb http://ftp.uk.debian.org/debian/ jessie main Delete the shorter line. At least in theory, there could be also more duplications with lines in /etc/apt/sources.list.d/* files.


0

Step 1: Does your router works properly? Check if you can ping from server to test machine. If not fix this first! Step 2: Configuring DHCP-relay agent Show the configuration of the DHCP server as well to be sure. Don't you need to specify both interfaces? The interface from server to router and interface from router to client? So I think you need to put ...



Top 50 recent answers are included