Tag Info

New answers tagged

0

Also you can edit /etc/default/grub and replace the line GRUB_CMDLINE_LINUX="" by GRUB_CMDLINE_LINUX="swapaccount=1" Then run update-grub [optional], and reboot the server. find more tricks in http://kencochrane.net/blog/2013/08/the-docker-guidebook/#remove-all-docker-images


0

I had found the way to implement the automatic guest installation of default archiso image, controlling only host machine, however it's somewhat cumbersome. You need to combine VBox native functionality with exposed serial port over ssh. Enable virtual serial port support for VBox: VBoxManage modifyvm "$VNM" --uart1 0x3F8 4 --uartmode1 server "$SERIAL" ...


0

You could try replacing GDM with a different login manager, like KDM, LXDM, LightDM, SLiM or XDM. These may have better configurability. In fact, on this page are some screenshots: https://wiki.mageia.org/en/Display_Managers . SLiM looks like there is no user list, although others could be configured to look the same.


2

This should work with gdm ≥ 3.12 (tested on archlinux w. gdm 3.16.1): switch to a VT (e.g. Ctrl+Alt+F3), login as root and run: su - gdm -s /bin/sh to switch user to gdm. then run: export $(dbus-launch) and: GSETTINGS_BACKEND=dconf gsettings set org.gnome.login-screen disable-user-list true run exit or hit Ctrl+D to return to root account. restart ...


0

Surely, there is a way. systemd supports specifying so-called "ordering dependencies" between pairs of units which make systemd follow a certain mutual ordering when these units happen to be activated/deactivated in a single transaction. From systemd.unit(5): Before=, After= A space-separated list of unit names. Configures ordering dependencies ...


1

Well, as current I mean active Display of a XOrg Server. Remember that we can have more than one XOrg Server running and they can be multi-head, what make the things harder to manipulate. The other important note is that the DISPLAY variable in some cases cannot be accessed (eg. systemd). After some discussion in commandlinefu, I got this result: for p in ...


0

Hard shutdowns sound a lot like overheating. Are your laptop CPU's fan and heatsink clean and without dust? Perhaps it would be worth running some compressed air through to clean them up. Another test you could do would be to use another distribution's Live CD, without installing it on the hard drive. This would allow you to rule out (or confirm) problems ...


1

Copy/paste between Wayland windows and XWayland windows does not work yet (it has not been implemented). I can't manage to find any official source on this, but here are a couple of links to posts saying exactly this: http://www.phoronix.com/forums/forum/software/desktop-linux/49641-gtk-3-18-plans-for-full-wayland-support-a-scenegraph?p=631866#post631866 ...


1

You may try to use loginctl list-sessions to get the list of sessions, and then use loginctl show-session -p Display -p Active <session ID> on each of these to get the X11 display number associated with the currently active session. Something like this (in bash): TARGET_DISPLAY=() while read id uid user seat; do while IFS='=' read property value; ...


2

One way of thinking of users are actual accounts which a person could log into on your server. But a more common view of users, which you should get used to for administration, is more like a system role. For example, if you install apache, you will see apache running as 'http' or 'apache' user. That is a legit user on your system, but noone could login ...


1

Technically this question doesn't make sense. What you want to do is offer people the possibility to connect to your computer and load webpages. For doing that you have to install for example apache as a webserver to give access to the pages. For installing Apache you need to be logged in as a user with root privileges. This user could be the new user(only ...


1

This AUR package solves the problem. It patches gnome-settings-daemon to prefer raw type backlight devices to platform ones.


0

From your shell the following will give you a list of compilers and interpreters. apropos interpreter compiler You can add bash, python, ruby, and wish. You might also consider awk and sed.


0

A POSIX shell is probably a requirement for anything normatively GNU/Linux (certainly it is if it's to retain "pretty much POSIX" as a defining characteristic). While a C compiler is required to create the distro, it isn't required to operate a system, and one may or may not be included by default. As you note on Debian it is (in fact, g++ is there too); ...


0

I recommend to use yaourt as a package management tool. It sits on top of pacman. With yaourt you have full access to the official repositories as well as access to the AUR (Arch User Repository). The chance is high, that you find a package there (via yaourt).


0

You can remove the password from the wallet. Start the kwalletmanager and then click on »change password«. disable the wallet. Start the kwalletmanager and go to settings / configure wallet. Uncheck the box »Enable the KDE wallet subsystem«.


0

To answer my own question, the first thing I did was run urxvt from the terminal. After firing up two or three of them, I got unicode to show up. My locale is clearly en_US UTF-8 so it should work anyway. I checked a bunch of posts from arch and found https://bbs.archlinux.org/viewtopic.php?id=50963 which lead me to try to chsh my shell into zsh. It ...


1

Personally I modified the makepkg script and it's working like a charm: # vim `which makepkg` +/clone ... 541 msg2 "$(gettext "Cloning %s %s repo...")" "${repo}" "git" 542 if ! git clone --mirror "$url" "$dir"; then 543 error "$(gettext "Failure while downloading %s %s repo")" "${repo}" "git" ... Appending "--mirror ...


0

Perhaps this has got to do with some of your iptables (firewall) settings. You could try running sage server at a different port : sage -c "notebook(port='9080')" & Try different port numbers and see on which it is working.


0

I think you want to choose "Plasma" instead of "Plasma Media Center" (which is default) session in the sddm. I just got caught too =)


0

I fixed a similar issue by editing /etc/hosts: 127.0.0.1 localhost.localdomain localhost my_hostname ::1 localhost.localdomain localhost my_hostname


3

See man yes. Try if yes| your-pacman-command will do.


1

@asonwryan's answer to another question provides a good solution to this problem. Hardware problems (lack of Real Time Clock) make this a bit difficult. Give the RaspberryPi's lack of a RTC, I would suggest that you ensure that you use a tool that can store the last time to disk and then references that at boot time to pull the clock out of the dawn of ...


1

There are several programs for that purpose. I recommend KSnapshot, which has more options, or you can use scrot


0

The problem was that I followed tutorials on the web and youtube videos, instead of reading manjaro wiki. The correct way of doing it is not to install virtualbox virtualbox-host-modules, instead of that, first I should check kernel version uname -r in my case I'm using 3.16.7.10-1-MANJARO so I have to do sudo pacman -S linux316-virtualbox-host-modules As ...


1

The problem might be caused by an incomplete description of your keyboard in evdev.conf. Simplifying, all keyboards your machine is supposed to use must have an entry in a file /etc/X11/xorg.conf.d/10-evdev.conf (or whatever it's named these days - it varies with the OS, and with the version of X). Each entry describes, among other things, the layout of ...


0

Got the printer working again: # cupsenable hplj1320n Changing ErrorPolicy from the default stop-printer to retry-current-job prevents CUPS from deactivating the printer on error. This can be done via the web interface:


0

The line header [< 4.777880>] says that this messages happened about 5 seconds after the previous one, it doesn't say for sure that mounting, by itself, took this long; intermediate, unlogged events may have happened in between (as Celada mentioned in a comment). On a recent boot of a Rasperry Pi, I see: [ 2.474306] EXT4-fs (mmcblk0p2): ...


0

The discussion under the AUR page seemed confusing to me but what worked in the end was the Comment by sarri-on, saying that megasync 2.0.0-2 has some problem with the checksums. The solution is: Download only the PKGBUILD file yaourt -G megasync Install ignoring integrity checksum cd /tmp/yaourt-tmp-username/megasync But in my case the path ...


3

Sources: here and here. Skype is in multilib repo. Enable it first by editing pacman.conf. In Terminal: sudo gedit /etc/pacman.conf Edit file by uncommenting below lines [multilib] Include = /etc/pacman.d/mirrorlist Then, to update sources and install Skype: sudo pacman -S skype


0

So I ended up installing LILO as bootloader which works just fine. It kinda confirms the theory that there might be something wrong with the newer versions of GRUB. Here are the install instructions: First remove GRUB bootloader: sudo pacman -Rsn grub For installing packages that are not listed in the arch repo by default we need development tools: ...


0

Use losetup to check what each loop device refers to. Real disks should show up as one of sd[a-z], hd[a-z], vd[a-z], ... or if it's a card reader, maybe mmcblk[0-9]... Also, smartctl -a $device or hdparm -i $device should list name and type of the disk so you can verify you have the corerect one. Example for my Crucial M4 64GB: # hdparm -i /dev/sda ...


1

This Configuration uses randomly generated keys at boot and will not support Hibernation to hard disk! You Should Disable Hibernation through your respectie DE Power Management Utility and set it to Shutdown on Critical to avoid Data Loss! Make sure to run sudo -s or su before running the following. Disable Swap: # swapoff -a Locate the existing Swap ...


0

This has never happened to me but this is more a "menu" issue than an application one. As a starting point I suggest you navigate to the file ~/.config/menus/gnome-application.menu See if its listed there and if there are any issues with the listing. There is also an app called "menulibre" which allows you to add/modify icon names. It available in the ...


0

This could happen because you'd not have the permission to the "Trash" folder for that particular partition. Every partition has a hidden folder by the name .trash-### (where the hashes denote some number). Perhaps you don't have the permission for that folder. Try changing permissions of that folder.


0

Like most of the time I didn't read the Arch Wiki carefully enough. There is a section on how to have the device active after booting. You need to set a udev rule and to do so create /etc/udev/rules.d/10-local.rules with the following code # Set bluetooth power up ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up" That's it... it should now ...


0

Manually echoing 1/0 to cur_state file of cooling_device will turn it on/off: for cdev in /sys/class/thermal/cooling_device*; do [ $(cat $cdev/type) == "Fan" ] && { echo 1 | sudo tee $cdev/cur_state; } done


1

While dual booting is a useful concept to allow you to use both Windows and Linux on the same machine, the benefits of dual booting Linux are more subtle. The boot process in Linux typically involves using a boot loader to load a kernel and ram disk which eventually mounts the root file system and lets you do things. Different distros have different kernels, ...


2

This scheme is certainly workable. You are right, the best solution is to transform your current layout as little as it is possible. If you don't ask Arch Linux to install his Grub bootloader, you'll have to run grub-mkconfig -o /boot/grub/grub.cfg in Ubuntu (if you have os-prober installed, it will find your Arch installation and update all the config ...


2

Most probably /etc/ppp/ip-up.d is the location you are looking for. My example is valid on Gentoo Linux but the same directory structure seems to exist on Arch. Every time a VPN connection is made /etc/ppp/ip-up is run, which typically executes /etc/ppp/ip-up.d/* in turn. Its first argument is the attached pppn device. Put this script under ...


0

I had the same issue on a MacbookPro1,1. I use rEFInd, so I edited the boot parameters and added nomodeset to the end of the line. This solved the problem.


-1

Follow these steps: ~# chmod 440 /etc/sudoers ~# chmod -R 755 /root ~# chmod -R 755 /etc ~# chmod 755 /etc/phpmyadmin/config.inc.php


1

It seems that you haven't loaded the kernel module "vboxdrv". Use 'modprobe' to load the module and then try. In case if something goes wrong try installing again the required packages. There is a pretty good documentation on arch linux.


0

It seems like nvidia-349.16-1 is broken. When I remove that package tty's show up on both monitors again. The nvidia driver (as opposed to the open source Nouveau driver) does not make use of the built in kernel mode setting in Linux which would support native resolution in the framebuffer (with TTY in correct resolution and also on all detected screens). ...


0

The maintainer of udiskie pointed out that stale mount points not being cleaned up is a bug in udisks2. In fact, after more tests, I can confirm that sometimes the mount point is deleted.


1

Yes, there is a new mirror for it now. You need to add this to your pacman config: [haskell-core] Server = http://orbitalfox.com/haskell/core/$arch Information about the mirrors here: https://wiki.archlinux.org/index.php/ArchHaskell#Available_repositories Also consider changing the download command use to curl or wget, as they are more persistent at ...


2

Based on don_crissti answer, I have created a bash script for automating this task. Here is the script: #!/bin/bash if [ -z $1 ]; then echo "usage: screencast <outfile>" exit 1 fi fname=$1 audio=$(pacmd list-sources | sed -n 's/\s*name: <\(.*\.monitor\)>/\1/p') pacmd set-default-source "$audio" echo "Screencast started, to stop it ...



Top 50 recent answers are included