New answers tagged

0

As @Gilles suggested, it's more suitable to run on demand, especially when you're using it for Selenium testing. Here is example shell commands: export DISPLAY=:99 xdpyinfo -display $DISPLAY > /dev/null || Xvfb $DISPLAY -screen 0 1024x768x16 & Checking display using xdpyinfo before will make sure you won't run virtual framebuffer twice. If you ...


0

You need to install firmware-realtek Binary firmware for Realtek wired and wireless network adapters This package contains the binary firmware for some Ethernet adapters with the RTL8111/RTL8168 chips supported by the r8169 driver; and wireless network cards with the RTL8188, RTL8192, RTL8712, RTL8723 and RTL8821 chips supported by the r8192_pci, ...


0

Try Section 4.5 of the Debian Kernel Handbook: "Building a custom kernel from Debian kernel source". To quote from that section The easiest way to build a custom kernel (the kernel with the configuration different from the one used in the official packages) from the Debian kernel source is to use the linux-source package and the make deb-pkg target. ...


0

01 - ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 ...


0

Gnome's GDM (Gnome Display Manager) manages graphical display servers and handles graphical user logins. See this page on the ArchWiki for more information. (from the above link): To autorun programs: Ensure your ~/.xinitrc or /etc/X11/xinit/xinitrc files source ~/.xprofile: #!/bin/sh # Make sure this is before the 'exec' command or it won't be sourced. [ -...


1

It's a little unclear what you want, but here goes: ping usually shows what ip it's using. That might be the address on your LAN side of the router, but that is most likely what you need. If you're looking for the address on the WAN side, you can try visiting sites like http://whatismyip.com, but if your ISP uses CGN (Carrier Grade NAT) the reported IP ...


1

Yes, you can use all of them. Even some that are not even there! You will have to install the ones you haven't included when installing Debian. A simple $ apt-get install desktop-of-choice will do the trick. You can also use the program "synaptic" if you want a graphical interface for installing new software. In order to change between desktop ...


0

If the standard install iso doesn't work, try the minimal version https://www.debian.org/CD/netinst/


2

You only have the updates listed. The base repo you're missing is at deb http://ftp.debian.org/debian/ jessie main contrib deb-src http://ftp.debian.org/debian/ jessie main contrib


1

I have had this problem so many times I 'wrote it down' # tested works # jessie updates deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb http://mirror.cogentco.com/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free # source list deb-src http://ftp.us.debian.org/debian jessie main ...


0

I had the same problem. I DO NOT have Apache, and nothing else was blocking my port 80. I could NOT install nginx with sudo apt-get install nginx nor with sudo apt-get install nginx-common nginx-full After one week I stumbled over this little blog: https://etc.banana.fish/?p=75 In this blog, the solution is: Install nginx-common: sudo apt-get ...


0

you should be able to install all the desktop systems and select the one you wish to use on the login screen. You should then also be able to set a default desktop environment to use. I have never tried this myself, but I have a co-worker who set up his machine like that and it works fairly well. Only issues I have seen myself was when my wife accidently ...


0

If your objection to using SpiderOak is merely the file size limit and you have the bandwidth to sync all the mail as well, rsync works well if you can open/forward the appropriate ports on both networks. If not, btsync offers comparable security to SpiderOak without a size limit you will ever reach with a Thunderbird profile, and you don't need to worry ...


1

I'm not a Rasbian user, but I'm assuming that you've just installed the JSON GLib libraries. You also need the header files. These are available in the json-glib-dev package. As a general piece of advice: If you find yourself moving things (libraries, binaries) around as root, or creating symlinks here and there, then it is highly likely that you're ...


0

I fixed this by installing acpid (sudo apt-get install acpid). I then created 2 files: /etc/acpi/events/asus-brightness: event=hotkey ASUS010:00 0000002[0-9a-f] action=/etc/acpi/brightness.sh %e /etc/acpi/brightness.sh: #!/bin/bash test -f /usr/share/acpi-support/key-constants || exit 0 export DISPLAY=:0 PREV=$(cat /etc/acpi/prevbrightness) if [[ "0x$...


0

It sounds like you have not properly setup /etc/apt/preferences. The following will prevent anything from being installed from jessie-backports expect what tell it to install (such as the backported kernel). You will still have issues if the specified packages require other packages from backports that are not listed. Package: * Pin: release n=jessie-...


0

As a security measure Exim will not deliver email to root. The mail4root router is a last ditch handler to deliver mail for root to the mailbox for mail. Normally, an alias for root would be configured in /etc/aliases to deliver to the system administrator's personal mailbox. There are a number of aliases that redirect to root as they should be handled ...


0

Found it. In a similar case, the author complained that: I have to wait for about 20 seconds until my network comes up. It appeared that: This delay is caused by Spanning Tree Protocol (STP) Indeed, one of the differences was that the /etc/network/interfaces of Debian host contained bridge_stp on, while on Ubuntu, there was no bridge_stp ...


0

Use shell scripts on the host to modify and start the vms: normal_boot #!/bin/bash vboxmanage modifyvm "Vir153_1000" --uart1 off vboxmanage startvm "Vir153_1000" headless_boot #!/bin/bash vboxmanage modifyvm "Vir153_1000" --uart1 0x3F8 4 vboxheadless --startvm "Vir153_1000" --vrde off & The guest is still required to check for the presence of a ...


0

You should try Midori browser sudo apt-get install midori It works for me.


0

This also happened to me. The reason is that the touchscreen is detected as a mouse. Can you put the xorg logs?


0

After some struggling, this is what I found: There are two major possibilities mentioned in the docs: Use pg_dumpall to export the data from the old service and psql to import it in the new; Use pg_upgrade. My advice is: unless you have compelling reasons not to do so, use the pg_dumpall method: Export everything from the old database service (if the ...


3

rpcinfo will try both tcp and udp connections to talk to the portmapper. Indeed in a quick test I did, tcp was attempted before udp. You need to block both protocols in order to prevent remote access to it. iptables -A INPUT -p tcp --dport 111 -j DROP iptables -A INPUT -p udp --dport 111 -j DROP Many RPC services listen on both protocols; you can see ...


0

To list dependencies: $ apt-cache show linux-image-amd64 And then you can list their dependencies, etc.. You'll find it already is doing what you want. It has rules in there like here: $ apt-cache show linux-image-3.2.0-4-amd64 ... Depends: kmod | module-init-tools, linux-base (>= 3~), initramfs-tools (>= 0.99~) | linux-initramfs-tool So if your ...


5

The --no-reread option tells sfdisk to not check for if the device is in use (e.g. mounted or swap). The error you are getting is from the sfdisk telling the kernel that the partition information has changed; the kernel is responding "hey, this device is already in use; I'm not going to read the new partition data". So now the kernel copy of the partition ...


0

Each interface is supposed to have different IP addresses as they are different networks, unless you issue configurations to bridge them; in normal conditions they cannot both belong to 192.168.2.0/24. So I do advise creating a br0 (bridge interface), that will represent both interfaces, and giving only a single address to that virtual interface; in that ...


0

I was having a similar problem for a couple of weeks (Debian 8 Jessie, Macbook Pro July 2012). Every time I hit / held a key down, the mouse would stutter across the screen, even as everything else ran at a normal speed. I was examining this in the code of a game I'm writing, so I could see the nature of mouse input changing as a key was held - those values ...


0

The classic UNIX command for this is uptime which knows how long the current kernel has been running and also gives the current load.


-1

Create the directory /dev/fuse mkdir /dev/fuse Once you run that command try the install again


0

It could be because PCManFM is converting the filename to a URL, and the disk image writer, does not understand URLs. I do not know PCManFM, but on similar tools you can configure how it passes parameters.


6

Files in /etc/cron.d need to also list the user that the job is to be run under. i.e. 0,15,30,45 * * * * root /backup.sh >/dev/null 2>&1 You should also ensure the permissions and owner:group are set correctly (-rw-r--r-- and owned by root:root)


2

If you're the only user on this computer, you might want to use just crontab -e. You'll be prompted to select an editor the first time you run the command. Then you can add this to it: 0,15,30,45 * * * * /backup.sh >/dev/null 2>&1 If you change to a normal user account, you'll need to use sudo crontab -e to configure the scripts you want ...


0

I was able to get it working by compiling a new kernel with the option CONFIG_BT_HCIBTUSB=y.


3

Edit: As @fpmurphy1 mentioned in a comment, there's no need for all the runlevel grepping below. A simple last reboot -n 10 will do. last -xF | grep -e 'lvl 2' -e 'lvl 5' | head -10 last is mainly used to check when and for how long a certain user was logged in (also see lastlog for that), but the log file it uses (/var/log/wtmp by default) also ...


2

You have full support from official tp-link webpage, here the source (to compile): http://www.tp-link.com/res/down/soft/TL-WN823N(EU)_V2_160315_Linux.zip be careful with the hw version: you can choose v1 or v2.


-1

From the lvdisplay output pick the path for the root partition you are trying to resize/expand.


0

Solve VLC Media Player Video Decoding Problem: Right click on vlc > Tools > Preferences > Input / Codecs > Hardware-accelerated decoding >> VA-API video decoder via X11 Right click on vlc > Tools > Preferences > Video > Output >> X11 video output (XCB)


0

I find that rsyslog won't create custom log files initially, so I do it myself. Note: permissions are - as always - important! - make sure rsyslog has perms to write to the new log file, try something like print_status "Give Iptables its own log file - instead of /var/log/syslog" sudo touch /var/log/iptables.log # assign appropriate ownership to your ...


0

After a research and the hints from Stephen Kitt, Ive found the solution. Like dmesg was showing "...the firmeware couldnt be loaded" so I installed the package "firmware-iwlwifi" which was missing. Thanks for the help.


2

I use SUSE (SLES) linux and have encountered a similiar problem. In my case it has to do with /etc/X11/xorg.conf which is where the graphics drivers start... this file then points to the rest of what's needed for graphics whether it's an nvidia graphics card on a pcie slot or onboard graphics on the motherboard/cpu. I have found that when using a nvidia ...


0

Note the mail queue ID and remove corresponding queue files either manually or using qtool.pl For manual removal use rm /var/spool/mqueue/*THE-ID But you have either stop the sendmail or ensure it does not work on the mail at the moment. I use fuser -k for that.


0

While there is some security support for testing, packages are not uploaded directly into testing except for high-priority packages, since doing so creates some problems. Instead, it is expected that security updates to through the normal "upload to unstable, wait for migration" process, although the upload may be given higher priority so that the "wait for ...


0

In the end I found out what the problem was and got it to update actual packages. For that to work I had to repeat the whole process twice though. create signature file on offline computer download package for this signature file on online computer install package on offline computer - this time only the apt database was updated, no packages were updated ...


4

Perl in Debian is split into several parts. One of these parts, the perl-base package, is part of the set of "essential" packages. Debian defines these essential packages as "will always be installed on a debian system". Packages can assume they will be available, even if they do not have any form of dependency declared on them. If you remove one of them, ...


0

You cannot remove systemd from Debian 8 without affecting a wide range of Debian packages which have systemd support already compiled into them. Sure you can remove libsystemd0, but that will also take udev and consolekit with it, for instance. If you decide to install/patch something later which relies on systemd, consolekit or udev, you will not be able to ...


0

This isn't too much of a fix as it is an annoyance minimizer, but in System->Preferences->Monitors, drag the 2nd monitor to the edge so that they only touch corners. Theoretically, that means it'll only transfer over if you pull the mouse into a corner. On the Debian/Gentoo Wiki, they posted a small program that might work also. Good luck my man


1

You could use this find /folder -not -uid 1050 -exec chown student:studentgroup {} + means that student have user ID 1050. To get the uid you can use command id -u username


2

Aliases were used to allow multiple addresses, prior to IPv6. Multiple addresses are a key part of IPv6, so aliases are now obsolete. I don't know specifically why they would cause confusion here, but since you've identified that they do, the solution is not to use aliases. You should be able to literally replace eth0:1 with eth0 in your configuration and ...


0

This may be related to the fact that Debian patches systemd slightly for backwards compatibility. That's a workaround, however, and one that is somewhat problematic; the full story can be found in the Debian wiki page on the subject. The goal is to fix this for Stretch (the next Debian release) by adding systemd-specific code to the packages containing rcS ...


1

As Krzysztof points out, you'll need a separate cron entry for this. It's probably best to call unattended-upgrade directly (it's a python script), to ensure package blacklists/whitelists, reboots and other details are handled appropriately. For example: echo "0 0-23/4 * * * root sleep $(( $RANDOM % 14400 ));PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/...



Top 50 recent answers are included