Tag Info

New answers tagged

0

https://github.com/linux-modder/Community-Kickstarts/blob/master/secure-kickstart.cfg use the above link a look at lines 122-134 for hints (if this based on 14.10 or 15.04 it has changed to sysD and the /etc/init.d references are now /usr/lib/systemd/systemd-foo


0

I'm not a KDE user, but after some searching, I found this forum tread by someone who had the same problem. Here what was the solution: Try to add a window rule ("kcmshell4 kwinrules") and in the "appearance & FIXES" tab, set "Accept Focus" to "Force" and "Yes".


1

Got it: xxd -p excel.xlsx > excel.xxdp xxd -p -r excel.xxdp > recover.xlsx diff excel.xlsx recover.xlsx Thanks!


0

Unfortunately, your question is application specific, and scenario/situation specific. The short answer is, simply, no (or rather it shouldn't). Your swap partition should be seen as an extension of your RAM. To prevent your SWAP getting full, you might (prior to getting more RAM) try to make your SWAP partition larger. But do get more RAM as well, SWAP ...


0

You have overwritten the card's partition table. Most consumer embedded devices require a BIOS (PC) partition table, and I'll guess that your phone is such a device. My experience is with cameras; I guess that a phone is probably similar. I'll also assume, that unlike my cameras, the phone doesn't have a 'reformat memory card' action hidden in its menus ...


0

Maybe this will help for some people on shared hosts with no access to httpd, apachectl or processes: Enabled modules: ls /etc/apache2/mods-enabled/ Available modules: ls /etc/apache2/mods-available/


0

Just in case it's of help to anyone. It turns out that the way the shell works is that if a current directory is deleted in a different instance of shell, and is then recreated and populated with files, the original shell will show an empty directory. And, if from my-dir (showing no files) you go cd .. cd my-dir you can now see the files. This led to ...


0

First of all, I'm not sure which version of OpenVPN you are using, but 'remote-gateway' is not a valid option in v2.3.2. If you’re using an older version, check your local man page and remove that directive if necessary. Next, check everything here. If you still have problems, there is likely an issue with your keys. Follow this guide to recreate your ...


0

I thing also netcat can be used for this see e.g. following link


0

I've had the same issue. The dhclient daemon is insane. The sanity checks need work. It should go something like this: Discover existing lease information (/var/lib/dhcp/*) Validate all interfaces for DHCP configuration (/etc/network/interfaces) If an interface is statically configured then clear DHCP lease information and ignore the interface for the ...


0

xterm's colors were likely chosen in the mid-1990s to more or less match the colors seen on an CGA display. The 256- and 88-color palettes were designed by Todd Larason (patch #111) and Stephen Wall (patch #115) in 1999 to provide easily programmed color palettes (and with compatibility of the 8-, 16-color subsets in mind). Aside from some dispute over the ...


0

Running in a Linux console (no X), setting TERM to xterm (any flavor) or rxvt (any flavor) will not give good results. The linux terminal description is the most often used. Compare those with infocmp, e.g., infocmp xterm linux and you will see a number of differences. One aspect of the "bright colors" is not apparent in the terminal description: the ...


0

Ran into this with Debian Jessie + Cinnamon + lightdm. Going backto wheezy, I find that /etc/profile and ~/.profile gets sourced by /etc/gdm/Xsession. This logic appears to be totally missing in "this" jessie setup. So I grabbed this code and copied to a new file in jessie: /etc/X11/Xsession.d/70fix_lightdm_gpv graeme@jessie:~/Desktop$ cat ...


1

Your root file system is mounted read-only. This likely happened on a reboot. There are a few options: Configure the system to fix errors during reboot. On Ubuntu this is controlled by the FSCKFIX option in the file /etc/default/rcS. Reboot in recovery mode and run fsck -f /dev/disk/by-uuid/e45e30eb-efa4-4cd9-aaf9-c6cbe46aa41c and reboot again. Boot ...


0

Manual:dumpUploads.php recommends tar, like php maintenance/dumpUploads.php | xargs tar cf backup_files.tar. However, if your aim is backup, you should preserve the directory structure you're using. As Manual:Backing up a wiki recommends, just use tar, e.g.: tar caf images.tar.gz /var/www/html/wiki/images/ if you want to backup the uploads only and to ...


0

Most likely, your $PATH is set incorrectly. Specify the full path to android, or set your path via something like this: <?php putenv( implode(PATH_SEPARATOR, array('/dir/containing/android', getenv('PATH'))) ); $fname = $_POST['fname']; $fpack = $_POST['fpack']; $email = $_POST['email']; // Create a new Android project var_dump(shell_exec("android ...


0

That is a pretty old guide. To install DirectX, I suggest using a new tool included with wine called winetricks. This tool allows a simple way to: install some basic components (typically Microsoft DLLs and fonts) and tweak settings required for some applications to run correctly under Wine. When you type winetricks into a terminal, you will be ...


0

This is a bug in the legacy encryption protocol. Actually the legacy encryption has now been removed. Please try using the latest version which uses SSL encryption instead.


2

Synergy will effectively combine your Windows 7 Pro and Linux boxes into one workstation. Its software for sharing your mouse and keyboard between multiple computers on your desk. No need to buy a KVM and have a pile of extra cables since Synergy is just software that works over your existing network.


1

All windows installers (at least the ones that I've used from 3.1 to Win 7) install their own bootloader if one is not found (and of course, it does not recognize Grub or Lilo). What you need to do is reinstall grub, by booting up linux somehow (live CD, the install image, or a USB install. It doesn't matter, really), and run this command: grub-install ...


0

Just putting the result into a var and in lowercase OS=`awk -F= '/DISTRIB_ID/ {print tolower($2)}' /etc/lsb-release`


0

Turning off meta mode is part of the answer. xterm has more than one configurable feature related to this. The ncurses FAQ Alt-keys do not work in bash provides some of the background. Essentially, there are two notions of what meta mode is: xterm and the terminal database (terminfo) document the use of a meta key as a sort of shift-modifier, setting ...


0

In Linux you can easily convert to and from wav. Mpg123 (or mpg321) can convert to wav adding the option -w out.wav. Lame is a popular example for the inverse: wav to mp3. Editing the audio itself can, again, be done in many ways. One very capable audio editor is snd which is available here. Note: snd can even load, edit and save mp3 files directly. I ...


0

If you know the extension, you can use basename $ basename /home/jsmith/base.wiki .wiki base


0

At most features of built-on keyboards like Fn only BIOS is in the control. Most often the OS does not even know about presence of this special modifier key. Some computer models make special features available to their drivers running under the OS, but this is not always true. Example: some features are reachable: in utility supplied by manufacturer of ...


0

What I wonder about though, is how this works for webservers which should be up 99.9999etc% of the time? Do they simply not restart and risk the security being breached because security updates are not installed (which I cannot imagine)? Or do they take the downtime for granted (which I cannot imagine either)? Big web servers are restarted when ...


0

I found this thread, which suggests running the following command as root: iw wlp2s0 set power_save off I ran this on my NixOS machine. This turns off power saving for the wifi network device wlp2s0. If you have a differently-named device (like wlan0), you need to use that name instead. SSH is now much more responsive, and ping times are also back down ...


2

The third parameter to futex(2) is not necessarily a process ID, the manual says it's futex(uaddr, op, val, timeout, ...), and that if op is FUTEX_WAIT, it "atomically verifies that the futex address uaddr still contains the value val, and sleeps awaiting FUTEX_WAKE on this futex address. [When] timeout is NULL, the call blocks indefinitely." In your case, ...


0

There are some standard network protocols for remote desktop and applications. In Linux/Unix you usually use X which is capable of serving your local screen, keyboard and mouse not only to local applications, but also to remote applications. Together with ssh you are able to encrypt the X network traffic. If remote machines are configured with some xdm, ...


0

Yes a KVM is the only real solution, Synergy also works but requires a monitor for each machine. I use Mouse Without Borders from Microsoft, but it is only for Windows so your Linux box would not be able to access and again you would have to have a monitor for each machine. I think a KVM is your best solution to be honest, you can just hit a hot key like ...


1

The error message ("For a UEFI installation...") clearly indicates that your installer booted in EFI/UEFI mode, rather than in the BIOS mode that Windows XP certainly uses and that Mint probably also used. The workaround you found will result in a successful installation, but without a copy of GRUB. This is probably fine, since you can then run update-grub ...


0

Check where is your data location (normally is /var/lib/owncloud/data) and after creating partition and filesystem mount the new filesystem there. Do not forget to copy existing files to new filesystem. In config.php you have line like 'datadirectory' => '/var/lib/owncloud/data', which point to the data directory


0

There's no shutdown command in SliTaz, so you'll have to use halt and family. But by default halt command doesn't do ACPI off. To get complete shut down instead of hanging on "System halted" message, you can use poweroff Note that using halt -p, which is normally a synonym of poweroff, won't work because BusyBox doesn't understand this option.


1

Use the xargs command. To pass the file names from a file to a cp command we can do: cat 'file_name'| args -I % cp % destination_directory But if you want to see the how it would echo then: cat 'file_name' | args -I % echo cp % destination_directory This will just echo.


0

Found the solution right afterwards: % > /etc/init.d/modemmanager % dpkg --purge --force-all modemmanager (Reading database ... 124407 files and directories currently installed.) Removing modemmanager (1.4.0-1) ... Purging configuration files for modemmanager (1.4.0-1) ... Processing triggers for man-db ... I.e., to create an empty initscript, ...


0

Many sensible programs have a default configuration with a lot of options and examples in it. This default configuration contains, you guessed it, the defaults, in addition to a lot more info and config options commented out. Where this default configuration is located varies, but I've often found them in /usr/share and some subdirectory of /etc/httpd Some ...


2

It looks like you don't have any logical volumes in your volume group. You need the lvcreate command for that. Frankly, I don't like doing disk partitioning from CLI. KVPM is an awesome GUI for LVM if you can get your hands on it. It's much more intuitive, you actually "see" your layout, and you can learn the CLI commands later if you need to script things. ...


0

You would need to configure computer A as a router using iptables or nftables. It is not enough to configure computer B with computer A as it's gateway. Computer A must know to forward those packets to its other interface. Additionally, PXE is not a routable protocol. You must also configure computer A to be a PXE server, or at least configure computer ...


0

To achieve this, you need to make your server (Machine A) into a router. In this way, traffic from the private network can be routed to the public interface and visa versa. There are many guides on how to do this depending on what OS/distro you are using but there is already a question answered on the SU sister site, Ask Ubuntu. How to set up a linux server ...


1

In bash, you can accomplish >/dev/null 2>&1 with &>/dev/null. You could do something like: #Run a command in the background, ignoring its STDOUT and STDERR silence() { local cmd="$1"; shift; "$cmd" "$@" &>/dev/null & } #The same, but stop caring about it too (no job control, no SIGHUP when the parent terminal closes) abandon() ...


0

Some of your problems, such as installers not accepting the mount points you specify, are clearly distribution-specific and should be addressed as individual questions relating to them, possibly on distribution-specific forums. To the overall question of how to configure a boot manager for your complex multi-OS setup, I will first advise you to not create ...


0

Nintendo zones can be unencrypted or encrypted. The situation for firmwares 9.2 and prior was that, the 3DS will connect to nzone ssids that were designated to be unencrypted even when encryption is in place, and these ssids happen to include attwifi/NZ@McD1 etc. In the later firmwares, these access points are no longer regarded as valid nzones. The ssids ...


0

All you need to do is something like this: wget -O photoshop-templates.zip http://example.com/client/photoshop-templates.zip?id=95923_324853&st=34258902386 or you can also try curl curl -o photoshop-templates.zip http://example.com/client/photoshop-templates.zip?id=95923_324853&st=34258902386


1

You can use pacat which is part of pulseaudio. First open your application. THen run pactl list and find your device. in my example, I will use chrome snipet: Client #229 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "Chrome input" native-protocol.peer = "UNIX socket client" ...


-1

The official build ships with a 64 bits version of electron, but you can install a 32 bits version on your system and use it to run visual studio code. Install electron with: npm install electron-prebuilt -g Then run: electron PATH_TO_VSCODE/resources/app You may also need to install a version of Mono >= 3.0.12 if you want VSCode to run the OmniSharp ...


0

I don't think this is gonna work, because especially in the early days, there were a lot of painful changes in fundamentals like glibc and rpm. I don't think you can make it as far as past FC4, because that was kind of a troubled release, and got to the point where it was actually impossible to start with a fresh install and apply the latest updates — you ...


3

There are so many ways of doing this, it would take all week to describe them all! All you really need is something on the server that will monitor your inbox - or an alternative folder - read the appropriate messages - filter them for safety then parse the data and pass to a command processor - the command runs and returns some status data which is sent as ...


1

I have done this once, on Debian; my experience ought to apply to Ubuntu too. Unlike you, I had a planned upgrade, so always had the option to go back to the old hardware if necessary. Short answer: yes, you'll be able to boot, assuming that you have something like a stock kernel on the disk, and sufficient drivers built-in (or in an initrd) to be able to ...


3

The problem has been solved. There is small link at the lower left corner "Full disk summary and boot loader...". So click on this link, and you will probably see your disk drive and green mark, this means that bootloader will be installed, just uncheck this option and click continue, warning message will appear, but just ignore it. Now you can install RH ...


0

First, get the index file: wget -O index.html "$URI" Then, rewrite the URLs in it: sed -i '/_sh\(\.html\)/_lg\1/g' index.html (I used sed, but you might prefer, e.g. an XSLT-based approach. Take your pick.) Now, tell wget to grab all the pages/info/*, using the modified index file and with its original location as the starting base URI: wget ...



Top 50 recent answers are included