Posts

Showing posts from February, 2011

networking - Iptable input icmp on interface - Ask Ubuntu

i'm trying accept incoming icmp traffic 192.168.1.0/24 on interface eth0 . here command iptables -a input -s 192.168.1.0/24 -i eth0 icmp --icmp-type 8 -j accept this command on file. when execute file /etc/file error: bad argument 'icmp' any ideas? you missing 2 points: the -p ( --protocol ) option name before icmp --icmp-type 8 echo_request (type 8), not echo_response (type 0), need --icmp type 0 do: iptables -a input -s 192.168.1.0/24 -i eth0 -p icmp --icmp-type 0 -j accept

nautilus - file-roller's "Extract Here" unpacks content directly to target folder instead of creating a directory named like the archive - Ask Ubuntu

i using default ubuntu 'extract here' context menu command .zip files. inside archive single folder 'scans' arbitrary files inside. when use 'extract here', creates folder same name archive, , begins extracting. when finished extracting, however, names folder 'scans'. how can make default right click extraction create folder same name archive, , put contents of archive in there? seems should standard thing, default extraction tool doesn't have this. yes, can in terminal, , yes can write nautilus script or whatever, there basic way have archives not extract 'scans'... because end having same name. this every day, , becoming tiresome have manually rename folder unique.

images - How to paste a screenshot into pinta - Ask Ubuntu

Image
i want paste screenshot pinta, press prtscr (print screen) button on laptop. when ctrl + v pinta, pinta said image cannot pasted screenshot not contain image what have do? lot open screenshot in pinta using open button in pinta toolbar. save screenshot in commonly used image format, .png or .jpg. open pinta , click open in top left corner. a new open image file window open. browse screenshot , click open button in lower right corner open in pinta.

Interrupted apt-get, can't use apt/dpkg - Ask Ubuntu

i installing lamp-server^ command sudo apt-get install lamp-server^ when hung on section: setting mysql-server-5.7 (5.7.15-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/mysql.cnf provide /etc/mysql/my.cnf (my.cnf) in auto mode renaming removed key_buffer , myisam-recover options (if present) i tried ctrl+c no avail, , out of habbit hit ctrl-z, suspended or something. using fg instantly exited left dpkg in odd locked state. i tried, sudo dpkg --configure -a both before , after sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock but no avail. if try --configure -a or apt-get upgrade this: theelous3@compoopr:/var/lib/dpkg/updates$ sudo apt-get upgrade reading package lists... done building dependency tree reading state information... done calculating upgrade... done following packages have been kept back: linux-generic linux-headers-generic linux-image-generic 0 upgraded, 0 newly installed, 0 remove , 3 not

permissions - How to give users FTP perms (vsftpd) - Ask Ubuntu

i can login ftp account, unfortunatly can't anything... appears if read only. cant make, delete, etc anything. how give myself perms on home server. edit /etc/vsftpd.conf file. change from: # # uncomment enable form of ftp write command. #write_enable=yes change to: # # uncomment enable form of ftp write command. write_enable=yes

Cannot get wireless internet from wireless adapter - Ask Ubuntu

i set computer dual boot windows 10/ubuntu 16.04 today. after struggle have working part, cannot wireless internet work. asus dual band wireless adapter. it's working fine windows 10, not ubuntu. what i've tried: i've tried out multiple solutions link . typing lspci -nn -d 14e4: into console hd no results, couldn't continue first solution. i followed second solution, typing in following console: sudo apt-get remove bcmwl-kernel-source sudo apt-get install firmware-b43-installer b43-fwcutter cat /etc/modprobe.d/* | egrep 'bcm' cd /etc/modprobe.d/ sudo gedit blacklist.conf and put # before approprite line, saved , rebooted. unfortunately, rfkill list returned nothing well. i'm not sure @ point, suggestions great. thank you.

dual boot - Windows is missing in GRUB! - Ask Ubuntu

this question has answer here: how can install windows after i've installed ubuntu? 14 answers grub not detect windows 8 answers i have ubuntu 16.10 windows 7. installed ubuntu ( first ) created partition windows, installed on partition deleted grub. restored grub , windows 7 not appearing in grub. any solutions on how add windows 7 grub? boot ubuntu open terminal run sudo update-grub

ssh continually hangs on Ubuntu 16.04 - Ask Ubuntu

after typing few commands new install of ubuntu 16.04 hangs. come life after few seconds (30 or so) other times crashes. i have on 14 servers running previous version of ubuntu lts new load 16.04 crashes continuously. using konsole client machine on local network. i can login of previous release no problem. any thoughts or known bug fixes ? it intermittent hardware issue on new server. faulty cable? nic? machine ok running 14.04 ? since able connect fine other machines, if problem not hardware, perhaps should have @ configuration of ssh daemon on the new 16.04 box, vim /etc/ssh/sshd_config what have tried troubleshoot ? can run sshd debugging options on 16.04 box: " ...debug mode provides lot of information connection , smaller amount server configuration. server's debugging level (- d ) can raised once, twice (- dd ) or thrice (- ddd ). " on terminal, can run ssh client -vvv option well. ssh -p 22 -vvv <user>@<server>

File lost using mv - Ask Ubuntu

went directory 7z file located. used command mv file.7z /home i logged in root directory file located , launched command root. can't find file anywhere. searched home folder root , user with ls -la but still no joy. know file has been moved original directory empty. i suspect file not lost, has been moved root directory , renamed home . you should find file in root directory called home . file. why happened the filesystem in unix/linux case-sensitive , meaning home , home not refer same thing. while intended move directory called home , used capital h , did not find such directory , instead interpreted command request move , rename new file called home . solution always use correct case. have prevented happening adding trailing slash after directory name, eg. mv file.7z /home/ this cause home directory . if didn't find such directory, instead of renaming home file, have failed.

upgrade - dpkg pre-depends on libbz2-1.0 error - Ask Ubuntu

i trying upgrade friends ubuntu 14 16.04 , have run above problem. followed instructions below because having problem..."required dependency 'dpkg (>= 1.17.5ubuntu5.6)' not installed." step 1. wget http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.17.5ubuntu5.6_amd64.deb or (depending on system) wget http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.17.5ubuntu5.6_i386.deb step 2. sudo dpkg -i dpkg_1.17.5ubuntu5.6_amd64.deb when ran step 2 got dpkg pre-depends on libbz2-1.0 . tried install libbz2-1.0 installed. just in case tried trigger update again using sudo do-release-upgrade -d but got initial "required dependency dpkg (>= 1.17.5ubuntu5.6)' not installed. error again. any appreciated

partitioning - How to mount a partition? - Ask Ubuntu

i new linux , don't know mounting. question related df -h doesn't show /dev/sda . comments teach me partition not mounted. so, how that, since have no idea of it. scared of damaging accidentally. output of lsblk : name maj:min rm size ro type mountpoint sda 8:0 0 100g 0 disk vda 253:0 0 60g 0 disk vda1 253:1 0 60g 0 part / vda15 253:15 0 1m 0 part the o/p of sudo fdisk -l /dev/sda is: disk /dev/sda: 107.4 gb, 107374182400 bytes 255 heads, 63 sectors/track, 13054 cylinders, total 209715200 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes i/o size (minimum/optimal): 512 bytes / 512 bytes disk identifier: 0x727b8bb7 device boot start end blocks id system i don't understand why 100g of sda isn't available. if have mount how? /dev/sda disk, not partition. partition identifier contains number, e.g. /de

live usb - Does non-persistent LiveUSB run entirely off RAM, or does it still need read/write cycles? - Ask Ubuntu

if use liveusb, non persistent mode, -toram command added boot options, usb's lifespan reduced significantly? far understand, liveusb runs entirely off ram, usb not suffer excessive write cycles, right? the non-persistent liveusb run entirely off ram toram boot option. doesn't use read/write cycles of liveusb. without toram boot option, tested confirm. pull usb out during session. none of items load after then, including ubuntu dash search. also, when exited out of firefox crashed. also, shutdown failed complete successfully. with toram option all test performs normal liveusb removed after desktop loaded. details adding toram option can found at: can boot live usb ram, allowing me remove disk? .

16.04 - Weird Nautilus / Unity look - Ask Ubuntu

Image
i don't know caused weird behavior of nautilus, here screenshots demonstrate why looking weird: icon size big , can not reduced. no options, weird buttons style, big list size no options reduce it. and i'm sure default theme. you're using budgie remix ppa . can remove with: sudo apt install ppa-purge sudo ppa-purge ppa:budgie-remix/ppa this will remove ppa repository list, replace packages ppa next best package other remaining configured repository if 1 available and remove other packages installed ppa. you'll need start new desktop session (log out , in) changes take effect , without glitches. for more info , alternative methods remove ppas see how can ppas removed?

16.04 - How to disable Nouveau kernel driver - Ask Ubuntu

Image
when installing cuda in ubuntu 16.04 executing cuda_8.0.44_linux.run, i got following error message in /var/log/nvidia-installer.log then checked /etc/modprobe.d/nvidia-installer-disable-nouveau.conf , got any suggestion disable nouveau kernel driver? i found this 2012 discussion didn't work me. according nvidia developer zone : create file nano /etc/modprobe.d/blacklist-nouveau.conf with following contents: blacklist nouveau options nouveau modeset=0 regenerate kernel initramfs: sudo update-initramfs -u and finally: reboot sudo reboot read more at: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ixzz4rqodn0jy

xubuntu - How to restore app switcher hotkey Alt Tab in xfce4? - Ask Ubuntu

i running xubuntu 16.04 lts. tried app switcher (skippy-xd). in order work, reassigned alt + tab launch skippy-xd instead of default xfce4 app switcher. did not skippy-xd however, uninstalled it. alt tab doesn't anything. restoring default hotkeys in settings manager not solve problem. how bind alt tab launch xfce4 app switcher again? easier method: settings manager > window manager > keyboard tab. change "cycle windows" shortcut alt-tab either double-clicking on entry or pressing "edit" key. when either, prompted dialog box press keyboard combination - press "alt+tab".

unity - Why are there two sets of closing buttons for windows in the files application? - Ask Ubuntu

Image
when click on files in unity launcher there close/minimise/maximise buttons on both sides (top right , top left). why this? tried solve using unity launcher didn't help.

upgrade - Can I skip over releases when upgrading? - Ask Ubuntu

i using ubuntu 10.04. know there 10.10 release, can upgrade directly 11.04? walk me through steps please? ubuntu supports upgrading 1 version next version, or 1 lts version next lts version. need upgrade 10.04 10.10, , 11.04. there technical reasons restriction. when new version of existing package installed has perform conversions, e.g., may have import existing settings new database format. in performing such conversions packaging scripts have make assumptions old format. if upgrades previous versions of ubuntu supported become maintenance nightmare, packaging scripts have able convert used formats current format. avoid nightmare, packaging scripts in general support upgrading version of package included in previous ubuntu release ( and previous lts release, in case of package included in lts release). upgrading directly penultimate, or earlier, version current version (called "skip upgrade) possible, liable result in misconfigured system.

touchpad - Synaptics forgets Min/MaxSpeed on startup - Ask Ubuntu

Image
i using 2013 11' macbookair running ubuntu 16.04 , striving touchpad work close possible macosx settings. using synaptics pretty job, think. bizarre phenomenon, though, when save settings in /etc/x11/xorg.conf.d/50-synaptics.conf file , reboot, applied 3 (minspeed, maxspeed, accelfactor) affecting cursor speed. i have modified other parameters (e.g. fingerhigh/fingerlow, maxtapmove, etc) , work should, namely on startup coincide in 50-synaptics.conf file although not default values . on other hand, 3 speed parameters keep on remaining same. i attach screenshot of 50-synaptics.conf file , of terminal window run synclient -l. i found way work out issue, creating simple shell containing required command , putting /usr/local/bin after having made executable via chmod . added name of shell startup applications, , ok.

networking - Proxy permission denied when executing wget command - Ask Ubuntu

i tried installing gfortran through command line. , result premkr@premkr-lenovo-ideapad-100-15ibd:~$ sudo wget gfortran [sudo] password premkr: --2016-10-29 01:07:36-- http://gfortran/ connecting 10.10.78.21:3128... connected. proxy request sent, awaiting response... 503 service unavailable 2016-10-29 01:07:36 error 503: service unavailable. does mean terminal has no internet access .my proxy works in firefox , there`s connection. to have terminal , wget have internet access through proxy, must edit following files: /etc/bash.bashrc /etc/environment /etc/wgetrc which must contain these parameters: /etc/bash.bashrc export http_proxy=http://username:password@proxyserver.net:port/ export https_proxy=http://username:password@proxyserver.net:port/ export ftp_proxy=http://username:password@proxyserver.net:port/ /etc/environment http_proxy=http://username:password@proxyserver.net:port/ https_proxy=http://username:password@proxyserver.net:port/ ftp_proxy=http://u

command line - inserting few copies of the same page into PDF - Ask Ubuntu

i want insert x blank pages pdf document. can pdftk : pdftk a=book.pdf b=page.pdf cat a1-end b output output.pdf when want insert more 1 page, can that: pdftk a=book.pdf b=page.pdf cat a1-end b b b output output.pdf is there syntax allows insert x pages without repeating same parameter in command line?

security - how to prevent standard users from seeing hidden files? - Ask Ubuntu

i have created 2 types of users, 1 admin , standard user. ctrl + h shortcut see hidden files in of linux file managers. i want disable option standard user. when standard user tries unhide files system won't anything, disable hide , unhide options. my primary goal when standard user press ctrl+h system not show hidden files standard user. secondary goal there no other option see hidden files standard user. concentrate revoke seeing hidden files because making hidden files easy , time saving compare make separate permission each folder. managing separate permissions each folder time consuming , sophisticated task , need root privilege manage permission or edit permission, want avoid many times calling root. when managing permission many times confuse between system files/folder there probability making silly mistake during manage special permissions per each folder/file. in simple words want revoke access of files names starting . dot your last comment says,

partitioning - resizing ubuntu root parittion - Ask Ubuntu

Image
i want expand /dev/sda5 partition unallocated space can used expanding not in ubuntu installation partition table. there way move unallocated space partition table? or other way expand /dev/sda5?

How to hide a specific mate-panel in Ubuntu? - Ask Ubuntu

Image
i want hide sidebar (from mate-panel's point of view called bottom panel). have more space. , unhide it, keyboard shortcut. temporarily, not forever, have more space , order on screen. how do that? 1) write script, toggles autohide value. (so panel not gone good, space): #!/usr/bin/env bash hide=$(dconf read /org/mate/panel/toplevels/bottom/auto-hide) # toggling it... [ "$hide" = "true" ] && hide="false" || hide="true"; dconf write /org/mate/panel/toplevels/bottom/auto-hide $hide ( reason value is not visible in dconf-editor . ) 2) assign script key in mate-keybinding-properties → custom shortcuts. (f10 appears choice me. f9 toggling sidebar, example in caja , pluma, f11 screen space, toggling fullscreen). update: enhanced version reduce it's size when intend hide , throw right bottom (on right, 1 far inadvertily trigger auto-show when grabbing fullcreen (or right-side-snapped) windows' scroll ba

virtualbox - Remove shutdown-restart-logout-suspend prompt in greeter login screen Ubuntu 14.04 and 16.04 - Ask Ubuntu

Image
the problem when use virtualbox command host ubuntu 16.04 vm ubuntu 14.04: vboxmanage controlvm "ubuntu desktop 14.04" acpipowerbutton it pops shutdown prompt in attached picture. if have logged in already, used pop until went dconf-editor , changed true: apps - indicator-session - suppress shutdown, restart then never prompted , fixed issue, in login screen before logging on (like in attached picture), still prompts me , dont want to! want send shutdown graceful signal vm. i tried @ end of article: http://ubuntuhandbook.org/index.php/2014/07/remove-shutdown-log-out-dialog-box/ still pops up! please can rid of , able shutdown vm gracefully without stupid prompts?? so found solution this, add "/sbin/shutdown -h now" @ beginning of script: /etc/acpi/powerbtn.sh now no matter if screen locked or not yet logged in, acpipowerbutton command sent, or power button of pc pressed, no confirmation dialogs anymore, straight forward shutdown. final

wireless - WiFi interface down on boot. Need to restart network manager - Ask Ubuntu

i using tl-wn823n wifi usb dongle in ubuntu 16.04. after following this , this answer (should have sticked one, know, didn't seem work) managed working, needed manually bring interface ( sudo ifconfig enx98ded01947a7 up ) , restart network manager ( sudo service network-manager restart ). now, whenever restart machine, need manually perform same steps. if bring interface up, network manager won't find wifi networks until restarted. when restarted, automatically connects wifi network. i found several questions on this, , i've been looking @ /etc/network/interfaces file. after fiddling around nothing has come out of it. its original contents were: # interfaces(5) file used ifup(8) , ifdown(8) auto lo iface lo inet loopback i added following line, , nothing changed: allow-hotplug enx98ded01947a7 now, interesting bit. if add following line well: iface enx98ded01947a7 inet dhcp the interface after reboot. no wifi networks found, though, regardless of how

Xubuntu XFCE 4.12 issue - Ask Ubuntu

after restarting xubuntu desktop changed. keyboard won't work, top bar in windows missing, no background, desktop icons missing. i deleted .config/xfce4 , issue remained. if hit ctrl alt f1, log-in, , startx works before. but if restart laptop issue remains. what problem? thanks

After Dual-Boot Win10/Ubuntu 14.04 Can't boot windows - Ask Ubuntu

i installed ubuntu 14.04 lts parallel windows 10. after installing , rebooting, grab window appears correctly , have 2 option booting windows , 1 option boot linux. when choose boot linux everything's fine. when try boot windows nothing happens . when choose first option "sda1" redirects me in black window flashing underscore. when choose second option "sda2" redirects me again in grab window select again os . i tried boot-repair no result. should do? use windows repair disc or windows installation disc repair boot of windows 10. then, boot ubuntu live disc , recover grub boot-repair. https://help.ubuntu.com/community/boot-repair

Upgrade Process of 14.xx on Intel CPU VM Selects AMD Packages - Ask Ubuntu

the title pretty says all. i'm using macbook pro, 2.3 mhz i7 running os x 10.12.1 , parallels pro 12. happen notice amd packages when upgrade process opened terminal window. haven't yet dared try run upgrade appears have hung after starting recover journal - reached clean/files/size line before hanging. why upgrade pick amd architecture instead of intel? fix short of deleting virtual machine , starting 16.04 new install? "amd64" name used debian/ubuntu refer x86_64 architecture (the latter being more vendor-neutral way refer it). it's called amd64 because amd designed , implemented before intel adopted well.

dual boot - Graphics Problem During Instalation - Ask Ubuntu

i trying create dual boot system using ubuntu 16.04 , windows 10. resized windows 10 partition, created unallocated space need, etc. problem when try boot ubuntu usb install it, ubuntu icon , screen becomes pretty fuzzy. doesn't show in particular, random shapes , things on blue screen. imagine graphics card. have amd radeon 7870. same thing happens when try install linux mint. tried kde , cinammon versions, still same. how can download drive ubuntu if cannot start installation process? tried both "install ubuntu" , "try ubuntu", installing iso image other locations, nothing worked. have installed in past earlier version of ubuntu in same pc, same hardware configuration. can do?

apt - How can I fix a 404 Error when using a PPA or updating my package lists? - Ask Ubuntu

Image
ppa seems offline. whenever use sudo apt-get update , error shown: w: failed fetch http://ppa.launchpad.net/ 404 not found how fix these errors? automated removal skip bottom of answer scripted way remove offending software-sources ubuntu versions prior ubuntu 15.04 what 404 errors the 404 or not found error message http standard response code indicating client able communicate server, server not find requested. the web site hosting server typically generate "404 - page not found" web page, when users attempts follow broken or dead link. what causes of these errors in update-manager typically, 3 main areas cause these errors in update-manager a user has upgraded , has re-enabled ppa software-source no longer exists a user has manually typed in new software source incorrectly a ppa added, maintainer has subsequently deleted some/all of ppa where these software-sources ppas typically saved in 1 of 2 locations /etc/apt/sou

dnsmasq forwarding - Ask Ubuntu

i trying understand how dnsmasq's forwarding works. read manual this: "[...]dnsmasq accepts dns queries , either answers them small, local, cache or forwards them real, recursive, dns server.[...]" so far understand if dns-request machine asks dnsmasq ip adress given domain. if dnsmasq cannot answer dnsmasq forward request "to real, recursive, dns server." how forwarding work? tried answer question myself way of googling did not answer question. when @ via wireshark see kind of pattern: 127.0.0.1 -> 127.0.1.1 (standard query) 192.168.1.2 -> 192.168.1.1 (standard query) 192.168.1.1 -> 192.168.1.2 (standard query response) 127.0.1.1 -> 127.0.0.1 (standard query response) can explain going on there? edit: what asking how dnsmasq know answer of 192.168.1.1 is. in fact 192.168.1.1 tells 192.168.1.2 ip address. how 127.0.1.1 know ip address? how information transferred? i expect this: 192.168.1.1 -> 127.0.1.1

bash - Running any command returns "Cannot allocate memory" on Ubuntu Server - Ask Ubuntu

i’m using ubuntu 14.04. recently, when login via ssh user sudo privileges, every command run results in “cannot allocate memory” error. here few tried @ console myuser@mymachine:~$ whoami -bash: fork: cannot allocate memory myuser@mymachine:~$ uname -a -bash: fork: cannot allocate memory even if try sudo reboot now above error, don’t know else can try unlock instance. host digitalocean if matters. edit: per answer/suggestion given here output of "free" myuser@mymachine:~$ free -bash: fork: cannot allocate memory solution as says in error messages, machine has run out of memory. can number of reasons, basically, eating of memory , not leaving left basic command usage. i suggest reboot droplet (just go client control panel , select "reboot"), ssh in , run top or htop . keep eye on memory usage , see process using memory. there, try either killing/removing faulty program/process warning : please research on if process essential syste

How do I install Adobe flash player on ubuntu 16.04? - Ask Ubuntu

this question has answer here: get latest flash player on ubuntu 3 answers i have google chrome , terminal write: cannot translate name of machine. command not found... must do? use command sudo apt install flashplugin-installer . however, flash shouldn't necessary @ google chrome.

boot - Install Ubuntu from ISO... cannot install grub - Ask Ubuntu

Image
i have broken ubuntu 14.04 lts system (i.e., not boot) in sda6 (in sda3, extended), booting 14.04 lts installation cd. sda6 readable, , can mount sda6, cannot boot. this additional info on cause of problems may help. i mean install ubuntu 16.04.1 lts directly iso, new partition sda1 (primary). have placed iso file in directory in ext4 partition sda4 (primary). followed instructions in accepted answer of install ubuntu iso image directly hard disk of system running linux? . when try to sudo update-grub i get /usr/bin/grub-probe: error: failed canonical path of '/cow'. all references problem ( failed canonical path of /cow , e.g.) indicate 1 should identify grub partition , perform couple of steps. not know if have such partition, nor how identify it. have 1 other partition sda2. i guess in / volatile, , can have persistent stuff under mounted sda partitions. here output of fdisk -l /dev/sda disk /dev/sda: 750.2 gb, 750156374016 bytes 255 heads, 63

16.04 - Downgrading kernel 4.8.0 to 4.4 - Ask Ubuntu

i want downgrade kernel 4.8 4.4. know how downgrade kernel? have 64 bit system. if wondering, of systems aren't compatible kernel 4.8. tried google it, no hope. the 4.4 kernel not supported in ubuntu 16.10. you can use ubuntu 16.04 on hardware claim incompatible 4.8 kernel.

Openbox autostart won't work in lubuntu 16.04 - Ask Ubuntu

i try test openbox autostart script. first copied global autostart user directory , set/check owner , permissions: $ sudo cp /etc/xdg/openbox/autostart /home/ubuntu/.config/openbox/autostart $ ls -la /home/ubuntu/.config/openbox/ -rwxr-xr-x 1 ubuntu ubuntu 545 nov 4 22:15 autostart next step edited , override autostart file: # # these things run when openbox x session started. # may place similar script in $home/.config/openbox/autostart # run user-specific things. # # if want use gnome config tools... # #if test -x /usr/lib/i386-linux-gnu/gnome-settings-daemon >/dev/null; # /usr/lib/i386-linux-gnu/gnome-settings-daemon & #elif gnome-settings-daemon >/dev/null 2>&1; # gnome-settings-daemon & #fi # if want use xfce config tools... # #xfce-mcs-manager & (sleep 10s && lxterminal) & after running openbox --reconfigure tried logout or reboot no lxterminal comes after login. suggestions?

php7 - Unable to load dynamic library '/usr/lib/php/20151012/php_soap.dll' from sessionclean cron - Ask Ubuntu

hp warning: php startup: unable load dynamic library '/usr/lib/php/20151012/php_soap.dll' - /usr/lib/php/20151012/php_soap.dll: cannot open shared object file: no such file or directory in unknown on line 0 i noticed getting warning sessionclean cron. have php7 installed on ubuntu 16.04. how can resolve error? sessionclean old in trying use dlls? you're trying use windows library (a dll) on linux system. dlls don't work on linux (apart emulating wine, developing mono or such). additionally, .dll file you're referencing in config isn't there ;) you need corresponding .so library, should supplied package php7.0-soap . in general, many php modules can found in respective packages, php7.0-mysql , php7.0-intl or php7.0-cgi .

xubuntu - No `rc.local` in 16.10, so how can I add a command to set brightness on boot? - Ask Ubuntu

i solved problem adding command: echo x > /sys/class/backlight/intel_backlight/brightness to /etc/rc.local on ubuntu 14.04 . there no /etc/rc.local on ubuntu 16.10 . don't know how solve now. there new script replaces rc.local can enter command? the standard way make permanent changes access points (they not files) in /sys use sysfsutils rather /etc/rc.local . package not installed default in 16.10, first do: sudo apt install sysfsutils now edit file /etc/sysfs.conf , example: sudo nano /etc/sysfs.conf and add line end of it: class/backlight/intel_backlight/brightness = x this same echo command.

command line - Ping multiple IP's at the same time - Ask Ubuntu

i have file "temp2" example 200 ip's. i want ping synchronously , save ping statistics file. num=100 in $(seq 1 $num) read b ping -s 100 -c 100 -i 1 $b | grep -eo '([0-9]{1,10}) received.*([0-9]{1,3})% packet loss' & done < temp2 wait echo "all done" this script starts ping in background 100 ip's, understood. how can write ping statistics file when ping done?

windows 10 - How to get apt back after uninstalling it - Ask Ubuntu

Image
i experimenting on bash supported windows 10. entered command sudo apt-get remove apt . greeted warning message, "it's dangerous bla bla", decided see how far take , input text message proceed, , uninstalled apt . now how can apt back? have uninstall , reinstall bash support on windows? if so, how can that? download correct apt package ubuntu version searching here open bash windows 10 , run following command show ubuntu release: lsb_release -a the current release of bash windows 10 14.04 out of box, can upgrade it. release of apt need download. bash on windows 10 can installed on 64-bit version of windows 10 anniversary update build 14393 or later, need download amd64 apt file. install apt using dpkg sudo dpkg -i apt_1.0.1ubuntu2.13_amd64.deb the above command if lsb_release -a returned ubuntu 14.04 , amd64 architecture match windows architecture. click amd64 download apt

iptables - Finding the IP Table settings - Ask Ubuntu

following recommendations basicsecurity manual, enabled ufw firewall (sudo ufw enable) "without further tweaks." i'd know default ip table settings like, don't know how find them. you can list iptables rule settings -l ( --list ) option of iptables : sudo iptables -l for more verbosity, add -v : sudo iptables -vl for not name resolution (only numeric output), add - n : sudo iptables -nvl note that, default list filter table entries, other tables need explicitly mention table type using -t ( --table ) option, e.g. nat table: sudo iptables -t nat -nvl also check man iptables more idea.

Enable the calculator mode button - Ask Ubuntu

Image
this question has answer here: how use 'scientific' mode in calculator? 1 answer i'd use advance mode , programming mode in calculator. not showing mode option button in 16.04 ubuntu. how enable calculator mode button. as of unity launched, ubuntu used global menu feature places menu bar each application on bar @ top of screen. so, if wish change application, need hover on top task bar while focusing on application. otherwise, there few command can use changing calculator mode without accessing hidden menu. basic mode : gsettings set org.gnome.calculator button-mode basic; gnome-calculator advanced mode : gsettings set org.gnome.calculator button-mode advanced; gnome-calculator financial mode : gsettings set org.gnome.calculator button-mode financial; gnome-calculator programming mode : gsettings set org.gnome.calculator butt

networking - How can I use Bluetooth HeadSet and wifi same time on Ubuntu? - Ask Ubuntu

i unable connect wifi , bluetooth same time. i using asus a556u. able play music laptop headset , can access wifi separately. but if connected bluetooth, wifi doesn't show me ssid , if connected wifi bluetooth don't show me anything. $ lspci -knn | grep net -a2; lsusb 03:00.0 network controller [0280]: realtek semiconductor co., ltd. rtl8723be pcie wireless network adapter [10ec:b723] subsystem: lite-on communications inc rtl8723be pcie wireless network adapter [11ad:1724] kernel driver in use: rtl8723be kernel modules: rtl8723be, wl bus 002 device 001: id 1d6b:0003 linux foundation 3.0 root hub bus 001 device 004: id 04f2:b52b chicony electronics co., ltd bus 001 device 003: id 0bda:0129 realtek semiconductor corp. rts5129 card reader controller bus 001 device 002: id 1ea7:0064 bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub hope command output helpful

tv tuner - Hauppauge WinTV-soloHD usb stick does not work on 16.04.1 - Ask Ubuntu

this question has been extensively discussed under 'hauppauge wintv solohd unclaimed' 1 question on askubuntu. my set similar. andrew@xps15:~$ lsb_release -a no lsb modules available. distributor id: ubuntu description: ubuntu 16.04.1 lts release: 16.04 codename: xenial andrew@xps15:~$ uname -a linux xps15 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux me-tv using hauppauge wintv-solohd usb stick there no dvb devices available andrew@xps15:~$ lsusb *-usb:0 unclaimed description: generic usb device product: solohd vendor: hcw physical id: 1 bus info: usb@1:1 version: 1.00 serial: 0011529330 capabilities: usb-2.00 configuration: maxpower=500ma speed=480mbit/s andrew@xps15:~$ lsusb bus 002 device 001: id 1d6b:0003 linux founda

serial port - how to transfer binaries over x modem at 3Mbps speeds - Ask Ubuntu

i tried using sx , couldn't figure out proper usage. tried cutecom doesn't have baud rate setting. how make transfer @ 3m speeds? edit: have device program on serial port. converting windows flashing linux. see uses xmodem @ 300m speed.i unable same on linux using sx or cutecom.

login - Unable to log into Ubuntu 16.04.1 - Ask Ubuntu

all of sudden, unable log ubuntu. once enter password goes black screen , goes right lightdm me login again. here list of things i've tried: removed , reinstalled lightdm removed .xauthority installed padoka ppa switching linux kernel 4.4.x , 4.7.6(which running before) uninstalling steam installing libstdc++ here 2 logs: xsessions xorg.0.log thanks help! i believe might issue padoka ppa of 2016-11-07 (same happened me, ubuntu 16.04.1, padoka ppa, radeon 380x). suspect it'll fixed soon. in meantime, can download , install amdgpu-pro driver http://support.amd.com/en-us/download , or purge padoka ppa using: ppa-purge paulo-miguel-dias/mesa

drivers - IRQ from Realtek WiFi are loading CPU - Ask Ubuntu

Image
i have problem toshiba satellite c850-d3k laptop ubuntu 16.04 installed , rtl8723ae wireless adapter. thing cpu consumption may go after while (30 mins - 2 hours) no reason. see image below: $ cat /proc/interrupts cpu0 cpu1 0: 43 0 io-apic 2-edge timer 1: 8809 535 io-apic 1-edge i8042 8: 1 0 io-apic 8-edge rtc0 9: 50 81 io-apic 9-fasteoi acpi 12: 115818 18613 io-apic 12-edge i8042 16: 326 30 io-apic 16-fasteoi ehci_hcd:usb1 17: 14687 151826239 io-apic 17-fasteoi rtl_pci i suppose problem wifi driver, because when execute modprobe -r rtl8723ae rtl_wifi cpu consumption goes normal (not taking account wifi not working anymore) i've tried installing driver https://github.com/lwfinger/rtlwifi_new didn't solve problem. the way solve problem me suspend , wake laptop each time problem appe

davsf2 auto mount on startup with root - Ask Ubuntu

i have folder want mounted time. when server reboots mount lost. so followed tutorial: link now, don't use users , on root. changed: secrets ~/.davfs2/secrets to: /etc/davfs2/secrets i did on other places aswell. , did skip part had add users. now, when type: mount /var/stack i error: /sbin/mount.davfs:/etc/davfs2/davfs2.conf:36: unknown option

networking - How should I make files downloadable? - Ask Ubuntu

this question has answer here: how transfer files between ubuntu , windows? 2 answers how can transfer files between 2 ubuntu computers on lan without installing additional software? 2 answers i have small server i've been using stuff internal our house - running plex tv, mostly. i'd make of documents on available friends download on internet, i'm wary of installing apache , running full-on web server if don't need to. would better idea try set ftp server instead? or option? there 'correct' way this? (for purpose of question, friends capable of following technical instruction level of being able connect ftp server, not further. running mix of oses , in various locations around country.) ftp convenient option. if concerned security, can eith

ubuntu touch - Send SMS with Cordova - Ask Ubuntu

the built-in messaging app in ubuntu touch has no commit since 2014, create new 1 using cordova. ubuntu touch supported cordova, during plugin search saw sms plugin looks not work on ubuntu touch. is possible access sms api cordova on ubuntu touch ? thanks in advance. edit app seems maintained, because of lack of options , parameters, i'd develop own application.

Installing CUDA-8.0 on Ubuntu 16.04 with Nvidia GeForce 845m - Ask Ubuntu

after having installed nvidia driver 367 typing: sudo add-apt-repository ppa:graphics-drivers/ppa -y sudo apt-get update sudo apt-get install nvidia-367 -y and disabled secure boot in uefi (bios) settings, i'm trying install nvidia-cuda 8.0. these steps (following this guide ): from https://developer.nvidia.com/cuda-downloads downloaded cuda_8.0.44_linux.run sudo mkdir /usr/local/cuda-8.0 sudo ./cuda_8.0.44_linux.run --override in /etc/profile.d/cuda.sh: export path=$path:/usr/local/cuda/bin in /etc/ld.so.conf.d/cuda.conf: /usr/local/cuda/lib64 sudo ldconfig force cuda work gcc 5, commenting line 119 out in usr/local/cuda/include/host_config.h: //#error -- unsupported gnu version! gcc versions later 5 not supported! rsync -av /usr/local/cuda/samples in cuda_samples/ sudo glpath=/usr/lib make however, when type: ./nbody -benchmark -numbodies=256000 in samples/bin/x86_64/linux/release, message: error: 0 devices available, 1 requested. exiting. any h

signature - Generating, Signing and Verifying Digital Certificates - Ask Ubuntu

so here's question project. in task, use openssl generate digital signatures. please prepare file (example.txt) of size. prepare rsa public/private key pair. following: 1. sign sha256 hash of example.txt; save output in example.sha256. 2. verify digital signature in example.sha256. 3. modify example.txt, , verify digital signature again. please describe how performed above 3 operations (e.g., exact commands used, etc.). describe observed , explain observations. please explain why digital signatures useful in general. so, following. 1.create private/public key pair openssl genrsa -out private.pem 1024 2. extracting public key. openssl rsa -in private.pem -out public.pem -outform pem -pubout 3. create hash of data. echo 'data sign' > example.txt openssl dgst -sha256 < example.txt > hash 4. sign hash using private key file called example.sha256 openssl rsautl -sign -inkey private.pem -keyform pem -in hash > example.sha256 5. verify

16.04 - How to add software icon to Indicators panel? - Ask Ubuntu

Image
i'm running on ubuntu 16.04 , have xfce4-indicator-plugin indicator panel.some programs f.ex. xpad , time tracker have application icons displayed in panel, when running.like this: but others icon appears: is possible add somewhere image indicator plugin take aplications, don't have default , if yes, how that? thank time. long story short, it's not possible, because depends on programming language in indicator written, best approach file bug report developers of application. here's mean in more detail. if indicator written in 1 of scripting languages, such python,perl, or ruby, can edit file. of course , you'd have know edit. write in python, , in case, icon name typically set in class declaration, example 1 of mine: class udisksindicator(object): def __init__(self): self.app = appindicator.indicator.new( 'udisks-indicator', "drive-harddisk-symbolic.svg", here see "drive-harddisk-symbolic.svg&quo

16.04 - Login loop after updating OS - Ask Ubuntu

this question has answer here: ubuntu gets stuck in login loop 37 answers i on 16.04, made update , have login issues, looping. there file can crash log or try? already tried on post ubuntu gets stuck in login loop , still not working. screen resolution wrong maybe has relation video card. if have nvidia card, everytime have upgrade reason still don't know why, deleting driver. how fixed it: downloading , installing driver once more. for nvidia users: ctrl+alt+f1 , login, then sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update sudo apt-get nvidia-370 (370 in case, may change)

16.04 - Error While Deleting - File Doesn't Exist - Ask Ubuntu

Image
somehow managed create file on nas drive contains forward slash in file name (i.e. '/'). think has caused problem. now trying delete file gives me "error while deleting - file doesn't exist" message. i've tried using terminal this, gives me 'input/output' error message. checking out various forums have suggested might issue hard drive , run dmesg, did , output voluminous, contained lots of sections looked this: [130690.519285] sr 1:0:0:0: [sr0] tag#0 failed result: hostbyte=did_ok driverbyte=driver_sense [130690.519290] sr 1:0:0:0: [sr0] tag#0 sense key : not ready [current] [130690.519292] sr 1:0:0:0: [sr0] tag#0 add. sense: medium not present - tray closed [130690.519294] sr 1:0:0:0: [sr0] tag#0 cdb: read(10) 28 00 00 00 01 23 00 00 01 00 [130690.519296] blk_update_request: i/o error, dev sr0, sector 1164 which doesn't @ all. i've used various scans on nas drive (which wd mycloud mirror) far have come negative (admittedly ha

sound - How can I fix the audio problems in Lubuntu 16.04? - Ask Ubuntu

recently installed lubuntu 16.04 , right until tried listen music , realized freeze constantly, no matter what. i solved problem music (partially), starting use cmus music player, music froze less, it's still annoying. problem not music, can't see videos (except in youtube), cause stop everytime, it's pain in ass. this first time have happened me, i've installed ubuntu gnome, xubuntu , others before this, , didn't give me sort of problem (at least don't remember). i think problem drivers, tried install realtek hda, tried compile package gave me error when put make don't know do, need help

monitor - Ubuntu 16.04.1 screen not turning off, screensaver not activating - Ask Ubuntu

since installing caffeine screen no longer turning off. installed screen saver, , isn't working either. caffeine wasn't running. unistalled caffeine, still no luck. suggestions how making screen turn off again? it's set @ 3 minutes. disabled lock. thank you! maybe deleted necessary package: sudo apt-get install gnome-screensaver should enable screensaver: gsettings set org.gnome.desktop.screensaver idle-activation-enabled true time in second before display darkens. gsettings set org.gnome.desktop.session idle-delay "time/s" maybe dim option disbled: gsettings set org.gnome.settings-daemon.plugins.power idle-dim true if not have display power management installed, x-server takes on task. xset +dpms && xset s on -> enabel dpms , screensaver xset +dpms dpms 600 1200 1800 -> standby, suspend , off set in seconds

Problems setting up dnsmasq for DHCP/DNS on 16.04 server - Ask Ubuntu

i've been running small slackware based server quite while. uses dnsmaq provide dhcp/dns services rest of network. simple setup, been working several years. i'm supporting few ubuntu servers in small business, , i've got tired of updating slackware. decided try new test server using ubuntu 16.04.1 server. everything going fine until got setting dnsmasq. used same config use under slackware, below: domain-needed bogus-priv resolv-file=/etc/nameserver.list #server=/localnet/192.168.1.1 local=/ibmpeers.net/ domain=ibmpeers.net expand-hosts dhcp-range=192.168.1.100,192.168.1.200,12h dhcp-host=00:01:d2:04:0b:d8,openwrt,192.168.1.92 dhcp-option=option:router,192.168.1.254 dhcp-authoritative i use file listing upstream dns servers. /etc/resolv.conf contains localhost. moving same config file ubuntu server failed work - dhcp local network worked, there no dns anything, either server or other machines on network. i managed results disabling resolvconf , putting ignore_

14.04 - Full personalization of all the mouse buttons - Ask Ubuntu

i'm starting use ubuntu after living windows entire life, , there's 1 thing miss windows: ability transform mouse in full user experience interface xmousebuttoncontrol. i found plenty of programs ubuntu allows me change 1 key or two, never complete xmbc windows. i want program recognize mouse buttons (left, right, middle, scrollup, scrolldown, scrollleft, scrollright, thumbleft, thumbright), , assign behaviours based in conditions, changing function of left button when ctrl down, or thumbleft pressed. all can in windows, same in ubuntu, program can use?

server - Clone the physical Ubuntu to image - Ask Ubuntu

this question has answer here: best way clone installation (copying identical hardware) 12 answers convert ubuntu physical machine virtual machine 3 answers first duplicate physical ubuntu first , restore physical ubuntu server

Free Storage on Live USB Not Equal to USB's Capacity - Ask Ubuntu

i created live usb downloading ubuntu desktop , used rufus make usb bootable. when plug usb computer while running windows, usb says there 27.2 gb of free space out of 28.6 gb. however, when boot ubuntu , click properties, tells me there 5.9 gb of free space left on drive. can please explain me or offer way fix it? what you're seeing root partition of usb drive. remaining space might either unformatted or might on partition. typically other partitions visible other "subdevices": if usb drive recognized /dev/sda , root partition might /dev/sda1 , other (in case larger) partition on /dev/sda2 . if remaining memory formatted other partition, might try mount separately (e.g. pmount /dev/sda2 in above example). otherwise, might successful using fdisk format free space. note "might".

dual boot - Install in unallocated Space - Ask Ubuntu

this question has answer here: how use manual partitioning during installation? 6 answers how install in unallocated space? have created 100 gb space ubuntu. need install along windows 10. if choose "something else..." have option format unallocated space ext4 , set root partition ('/').

multiple monitors - Kubuntus panel option auto-hide, is not always auto-hiding - Ask Ubuntu

i activated auto-hide panels dont hide, have hover mouse on panel , remove mouse , hides. doesnt work , have click on panel , remove mouse , panel hides. im using 2 monitors, second monitor on left side , auto-hide option doesnt work @ on side, until move second monitor , place in direction. so sum question: why happening , how can make panels auto-hide work properly?

software recommendation - Clipboard Manager for Ubuntu 16.04 - Ask Ubuntu

this question has answer here: ubuntu 14.04 clipboard manager? 7 answers i'm looking application can copy 2 or more items , can choose 1 of them paste. indeed, should work on terminal. clipit best among all. sudo apt-get install clipit launch it, 1 icon appear on top right can choose 1 of clipboards.

security - Lock screen Ubuntu 16.04 - Ask Ubuntu

Image
i unable lock screen either using ctrl-alt-l or waiting 5 minutes (inactive time option). after pressing combination of keys (or waiting 5 minutes), screen turns off not ask password return desktop. can me please? thank you! here settings: i solved problem. there option in unity tweak tool preventing screen lock. desktop lock checkbox must disabled . https://askubuntu.com/a/91719/219893

dns - Hostnames on VPN stop resolving after a period of time even though /etc/resolv.conf is correct - Ask Ubuntu

i use vpn connect subnet (192.168.3.0/24) , dns pushed vpn server. it works after period of time, hostnames on 192.168.3.0/24 subnet no longer resolve. i've checked /etc/resolv.conf , contain nameserver 192.168.3.1 . what should find more why happening? client running ubuntu 16.04. update: when reload networking service on client, subnet resolves again. see this question : looks problem networkmanager , dnsmasq. when try remove dnsmasq-base remove network-manager , teh desktop too. not working here. btw have upgraded form 16.04 16.10.

command line - Change the name of many files at the same time - Ask Ubuntu

i want change name files cv.aux , cv.log , cv.out official_curriculum_vitae.aux , official_curriculum_vitae.log , official_curriculum_vitae.out in 1 simple command. there such command? mmv such command (available install universe repository). name mmv - move/copy/append/link multiple files wildcard patterns e.g. in case mmv 'cv.*' 'official_curriculum_vitae.#1' otherwise, either prename -v -- 's/^cv/official_curriculum_vitae/' cv.* or regular mv simple shell loop for f in cv.*; mv -v -- "$f" "official_curriculum_vitae.${f#cv.}"; done

Open new window when clicking Unity launcher icons? - Ask Ubuntu

background i realize middle-clicking on launcher icon opens new instance , mouse doesn't have middle-click option (clicking scrollwheel works this, it's cumbersome). workflow tends involve numerous windows programs such terminal , chrome. currently, terminal opens new windows when click launcher icon, chrome , nautilus not. research i found out how list keys associated org.compiz.unityshell way of article on omg! ubuntu! , , got list: user@comp> gsettings list-keys org.compiz.unityshell override-decoration-theme disable-show-desktop launcher-switcher-forward reveal-trigger reveal-pressure alt-tab-prev-window launcher-capture-mouse stop-velocity panel-opacity-maximized-toggle automaximize-value spread-app-windows panel-first-menu decay-rate alt-tab-bias-viewport background-color lock-screen backlight-mode dash-blur-experimental edge-responsiveness show-minimized-windows inactive-shadow-color low-graphics-mode spread-app-windows-anywhere alt-tab-timeout switch-str

Getting error code(1) when installing MSSQL server in Ubuntu 16.04 - Ask Ubuntu

getting error code(1) in installing mssql server in ubuntu 16.04 error: machine must have @ least 3.25 gigabytes of memory install microsoft(r) sql server(r). but have 283.4 gigabytes free. when microsoft structured query language (sql) says needs 3.25 gb of free memory talking ram (random access memory) or volatile memory. when have 283.4 gb of memory free talking non-volatile memory aka hard disk storage or solid state disk (ssd) storage. although both "memory" comparing apples oranges both "fruit". to see how ram have available use command free terminal. ie: $ free total used free shared buff/cache available mem: 8031732 1614708 4377704 750208 2039320 5357500 swap: 8191996 0 8191996 the first row "mem:" refers ram. second row "swap" refers hard disk swap space we'll call "backup ram" lack of better term. the first col

command line - Writing out only files existing in one directory or other or having different size or time of last modify - Ask Ubuntu

i writing script need compare 2 directories (recursively) , write out files if have different size or time of modify(yy-mm-dd hh:mm) or if file exists in 1 directory. output in format: <dir1>:<local-path> <size> <last-modify> <dir2>:<local-path> <size> <last-modify> if file exists in 1 directory: <dir1>:<local-path> <size> <last-modify> or <dir2>:<local-path> <size> <last-modify> so far managed data in specified format using: find dir1 -type f -exec stat -c '%n %s %y' {} \; | sed 's,^[^/]*/,,' | sed 's/\:[^:]*$//' | sort # > dir1.txt find dir2 -type f -exec stat -c '%n %s %y' {} \; | sed 's,^[^/]*/,,' | sed 's/\:[^:]*$//' | sort # > dir2.txt which gives me 2 ordered lists of files in given directories , subdirectories , size , last modified timestamp. now need somehow compare them , them specified format above. tri

software installation - Unable to install Kompozer in Ubuntu 16.04 - Ask Ubuntu

i got following error message when trying install kompozer in ubuntu 16.04. saraswati@ubuntu:~$ sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g reading package lists... done building dependency tree... reading state information... done package libidl0 not available, referred package. may mean package missing, has been obsoleted, or available source following packages replace it: libidl-2-0:i386 libidl-2-0 e: package 'libidl0' has no installation candidate please me sort out problem. install same packages tried install before except libidl0. open terminal , type: ubuntu 14.04-16.04 sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 l