Posts

Showing posts from January, 2011

16.04 - Logging in loop - Ask Ubuntu

it seems user name changed somehow, "felipe" since remember "phgalaz" originally. anyhow, if use wrong password system warn me it's wrong, , if enter right 1 log in screen come after try log in sometime shows me desktop, not, , come log in screen. i've been searching solutions , found resources in site, of them require go sort of terminal trough control+alt+f3. when go ahead control+alt+f6 new screen shows asking me log in again, once enter credentials not correct. hello had problem before , can solve , while on login screen press ctrl, alt f1. apply these commands. service lightdm stop sudo su - cd /usr/local/bin wget -nc smxi.org/sgfxi chmod +x sgfxi sgfxi after follow steps shown this should help, , if please approve answer!

networking - install usb wifi adapter on ubuntu 14.04 - Ask Ubuntu

i have windows 10 on laptop , run oracle virtualbox ubuntu 14.04.5 lts 64 bit on it. bought tp-link usb wifi adapter - tl-wn821n v5. i try connect usb vm have wifi , wireless functionality in it. in vbox there option connect usb direcly machine the windows 10 dont detect usb . lsusb detect adapter: bus 001 device 002: id 2357:0107 bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 002 device 002: id 80ee:0021 virtualbox usb tablet bus 002 device 001: id 1d6b:0001 linux foundation 1.1 root hub but lshw -c network network *-network description: ethernet interface product: 82540em gigabit ethernet controller vendor: intel corporation physical id: 3 bus info: pci@0000:00:03.0 logical name: eth0 version: 02 serial: 08:00:27:bc:0d:35 size: 1gbit/s capacity: 1gbit/s width: 32 bits clock: 66mhz capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 10

dual boot - Grub don't work after latest Win10 update - Ask Ubuntu

i had dual-boot ubuntu 14.04 , windows 10. after last win10 update, grub disappeared , booting straight windows. wanted repair it, wanted update ubuntu 16.04. updated ubuntu usb still booted straight win. went live ubuntu , tried boot-repair, no luck. tried procedure described here . did not error messages system still loads directly windows. have secure boot disabled , have hdd partition first in boot order in bios before windows boot manager. have run bcdedit command in windows. ideas? i using wrong file in bcdedit command. right command is: bcdedit /set {bootmgr} path \efi\ubuntu\grubx64.efi

Can't install nvidia driver on my laptop anymore - Ask Ubuntu

i had installed nvidia driver on msi pe60 6qe laptop (gtx 960 m) running ubuntu 16.04 using sudo apt-get install nvidia-current had performance issues, decided use proprietary driver. while getting installed, laptop accidentally shut down. after rebooting, can't neither install open source driver nor proprietary one: installation process never ends. should do? the nividia-current not install latest nvidia driver name suggests. install current long term support nvidia driver unsurprisingly doesn't work gtx960m. according nvidia suitable driver versions are: 352, 361, 367 , 370 (currently beta). keep in mind later. now, regarding issue, first of all, don't need install open-source driver nouveau because installed , used default in absence of other (proprietary) drive. start removing traces of previous attempts @ nvidia drivers: sudo apt purge nvidia* sudo reboot at point open-source should , running in freshly installed ubuntu. open additional dr

java - Websockets on Ubuntu 16.04 - Ask Ubuntu

i trying create discord bot, , requires being able connect websocket, however, whenever attempt connect websocket through java code, times out, when run on personal pc, works fine. error: java.lang.runtimeexception: java.net.connectexception: connection timed out @ net.dv8tion.jda.requests.websocketclient.connect(websocketclient.java:199) @ net.dv8tion.jda.requests.websocketclient.<init>(websocketclient.java:81) @ net.dv8tion.jda.entities.impl.jdaimpl.login(jdaimpl.java:132) @ net.dv8tion.jda.jdabuilder.buildasync(jdabuilder.java:291) @ net.dv8tion.jda.jdabuilder.buildblocking(jdabuilder.java:312) @ me.swedz.pb.main$1.run(main.java:29) @ org.bukkit.craftbukkit.v1_8_r3.scheduler.crafttask.run(crafttask.java:71) @ org.bukkit.craftbukkit.v1_8_r3.scheduler.craftasynctask.run(craftasynctask.java:53) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(thre

unity - How can I temporarily hide the overview when using Alt+Tab? - Ask Ubuntu

Image
background: i temporarily hide overview shown when pressing alt+tab . can useful, instance, when recording screencast , wish hide many lesser important , distracting elements possible. screenshot: for need compizconfig settings manager: sudo apt install compizconfig-settings-manager sudo apt install compiz-plugins open ccsm going dash , type: ccsm . click ccsm icon and: scroll down ubuntu unity plugin . choose tab switcher . disable alt + tab binding ("key start switcher" ) click back button. this way, can still shift + alt + tab , see icons, whereas alt + tab not show them!

cURL: Hostname was NOT found in DNS cache - Ask Ubuntu

we having strange error. happens around once every minute , see in logs: * connection #0 host data01 left intact * hostname not found in dns cache * trying x.x.x.x... * connect x.x.x.x port yyyy failed: connection timed out * failed connect x.x.x.x port yyyy: connection timed out * closing connection 0` we have data01 correctly defined in our /etc/hosts file reason, resolved x.x.x.x ip address incorrect connection fails. curl --version returns following: curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 openssl/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 please help. finally, found workaround: curlopt_resolve although curl incorrectly resolving ip address of host, using option allowed override regular resolution process. hope helps other people find same issue.

power management - Undervolting Ivy bridge core i7 laptop with Ubuntu 16.04 - TLP & PHC not suitable - Ask Ubuntu

linux noobe exploring possibilities of ubuntu. my question is, how undervolt dell e6530 core i7-3720qm? i'm running ubuntu 16.04lts (loving it!) , read posts on here relevant question. suggest installing tlp, have done. reading tlp documents, undervolting tlp requires installing phc. running through phc install apparent there not version suitable later model core intel cpus use p-states. phc not install kernel version (4.4) from phc wiki page "note: current intel core cpus use intel p-states instead of acpi_cpufreq , therefor not compatible phc." so if phc (and therefore tlp?) can't used undervolt, how do on more current generations of intel cpus? (or ivy bridge gen) to clear i'm looking @ pure undervolt, not changing frequencies (although flexibility both desirable). thanks in advance , help, nigel so if phc (and therefore tlp?) can't used undervolt … no 1 working support , can't done – yet, never. knowledge phc , tlp indepen

Can i download Windows version of games from Steam on Ubuntu for WINE? - Ask Ubuntu

when search tutorial on how open game in wine, see "install wine blah blah blah... once done, open game , should work". how can download windows version of games steam ignoring platform? i don't wanna download pirated version of it. you want use steamcmd, can specify want download linux/mac/windows version of steam id uses steampipe (which of them). https://developer.valvesoftware.com/wiki/steamcmd#cross-platform_installation is direct link specific bit you're after. exert: cross-platform installation it possible choose platform steamcmd should download files, if isn't platform running on. done using @ssteamcmdforceplatformtype variable. (yes, 2 "s"es @ beginning of variable name.) example, download windows csgo dedicated server on linux, can run following command: ... hope helps! edit : know, you'll need steam id particular game use method, can find: https://steamdb.info/

disk - How to remove Ubuntu and put Windows back on? - Ask Ubuntu

Image
i have absolutely no experience linux, , desperately need computer , running again windows. how remove ubuntu , reinstall windows? to remove ubuntu, need windows recovery dvd or installation dvd, or ubuntu live dvd. note: if don't have windows recovery or installation dvd, can download official iso files windows 10, windows 8, or windows 7 microsoft download center . windows install evaluation copy 30 days without genuine product key. using windows recovery dvd or installation dvd grab windows recovery media or installation cd , boot it. should see or similar screen on recovery media cd. you should see on installation media cd. click "repair computer" , should see screen first image. open command prompt , type bootrec /fixmbr command prompt. reboot , boot windows. follow steps below remove ubuntu partitions. using ubuntu live dvd , boot repair if don't have windows recovery cd or constrained download , burn iso files men

Ubuntu 16.04 thin fonts (com fonte bugada) - Ask Ubuntu

english translation: sometimes ubuntu 16.04 installation gets stuck on thin font. reboot fix it. how can fix this? portuguese original text: Às vezes o meu ubuntu 16.04 fica com fonte muito fina. depois de reiniciar algumas vezes, ele volta ao normal. como posso corrigir esse erro? this problem occurs ubuntu starting fast. can solved in 2 ways: enable login screen (by disabling auto-login). pause have enter password @ startup slows down ubuntu. ------------------- or ----------------------- put sleep 1 (sleeps 1 second, increase 2, 3, etc if needed) command /etc/rc.local file before exit 0 line @ bottom. if none of these steps work upgrade kernel latest version 4.8.4 (as of october 24, 2016). to read these lines type: portuguese english google chrome search bar.

kernel - usbip - Why is linux version different in linux-source package and uname -r? - Ask Ubuntu

i trying install , run usbip using this link . version of linux tools not corespond uname. error when try this: /usr/lib/linux-tools/`uname -r`/usbipd when running uname this: root@allan-ms-7998:/# uname -r 4.2.0-42-generic in /usr/lib/linux-tools/ folder named 3.13.0-100-generic , not 4.2.0-42-generic. checked witch source installed using dpkg. root@allan-ms-7998:/# dpkg -s linux-source package: linux-source status: install ok installed priority: optional section: devel installed-size: 30 maintainer: ubuntu kernel team <kernel-team@lists.ubuntu.com> architecture: source: linux-meta version: 3.13.0.100.108 depends: linux-source-3.13.0 description: linux kernel source ubuntu patches package depend on latest linux kernel source code available. ubuntu patches have been applied. to install usbip 2.0 on 4.2.0-42-generic had find source code usbip. not /usr/lib/linux-tools/. source found in folder: linux-lts-wily-4.2.0 found source in folder: linux-lts-wily-4.2.0

power management - Ubuntu consumes too much battery - Ask Ubuntu

i've switched ubuntu 16.10 (gnome) recently. before, used windows 10. working , ubuntu. however, consumes power (only 3 hours compared more 4 hours windows 10). besides, charging time longer in windows. can give me advice? lot. you have aspire r7. if assumptions correct, either intel broadwell-based computer or skylake-based. (core i5/i7-5xxx/6xxx) there many ways conserve power in ubuntu. in 16.10, tlp default included. configure tlp from: sudo gedit /etc/default/tlp i recommend setting cpu governor powersave when on battery, , performance when plugged in. there several other power saving settings there. install powertop: sudo apt-get install powertop and open sudo powertop in terminal. can view "tunables" in rightmost tab. can either auto-adjust with: sudo powertop --auto-tune or create html power report: sudo powertop --html=powertop.html which can view in terminal directory. in html file list of tunable commands. put in rc.local

Wifi very slow on 16.04 - Ask Ubuntu

after 2 years decided install ubuntu on samsung ultrabook (series 5) again. yesterday did fresh installation of 16.04 , works great wifi not. very slow. slow not able download 30mb file. i found script getting important wifi-information hope me finding problem. this output of script: http://paste.ubuntu.com/23375528/ thanks help

software installation - How To Install Zoiper - Ask Ubuntu

i'm linux novice. i'm trying figure out how install zoiper on ubuntu 14.04. downloaded , extracted downloads folder. then, followed instruction: sudo ./zoiper_3.3_linux_free_64bit.run then terminal says sudo ./zoiper_3.3_linux_free_64bit.run if type in terminal: sudo /home/xarcell/downloads/zoiper_3.3_linux_free_64bit.run it throws warning not root? that indeed file name. went wrong? the file may download /tmp/zarcell0 folder, or downloads. from download (let's in firefox) click on whole line , choose 'open containing folder'. there, right click on zoiper download, go down , click on 'extract here'. open folder, , choose either 32 or 64bit run file. right click on file need, copy. open file manager , go downloads. paste there. open terminal. type in: cd ~/downloads sudo chmod +x zoiper_3.3_linux_free_64bit.run sudo ./zoiper_3.3_linux_free_64bit.run

home directory - Empty Documents folder - Ask Ubuntu

my home/user/documents folder has become empty. permissions have been changed , trying write not permitted. assume happened after upgrade new kernel 45. noticed strangely named (temporary?) file "tmpmgrh...lots of random letters ...lqa", 17gb in size assume contains data. have not recent backup unfortunately not @ location. ideas on happened , how recover data and/or restore folder appreciated. ls -la | head -5 total 8 dr-xr-xr-t 2 user user 4096 okt 24 21:36 . drwxr-xr-x 59 user user 4096 okt 27 15:33 .. you can't write documents folder because have w bit turned off, , t (sticky bit) turned on. can fix documents directory default with: $ chmod 0755 ~/documents as far previous files you'll have try recall names of of files sure in documents folder , locate one. when find one, others should in same folder. you can with: $ locate -ir "locate -ir "intel.*pdf" /home/users/l/j/ljames/documents/intelliapp releases.pdf /home

networking - Is there a locate type command for finding hostnames? - Ask Ubuntu

i work on large network thousands of instruments, , sometimes, wish use command $locate --hostname dawar locate information ip, , full hostname of computer(s) named "dawar" on network. wrote little program uses depreciated c function gethostsbyname , gethostsbyaddress, , guess write in search function. i'm curious if there similar program can search nameserver,... not have write. alternatively, non-depreciated function equivalent gethostbyname in c? here output of nslookup, don't want use, given how output appears; nslookup 123.111.129.108 server: 127.0.1.1 address: 127.0.1.1#53 108.129.111.123.in-addr.arpa name = rm135.domain. take @ "dig" utility > # dig google.com ; <<>> dig 9.8.2rc1-redhat-9.8.2-0.10.rc1.el6 <<>> google.com ;; global options: +cmd ;; got answer: ;; ->>header<<- opcode: query, status: noerror, id: 8753 ;; flags: qr rd ra; query: 1, answer: 6, authority: 0, additional

Programmes won't open in Lubuntu - Ask Ubuntu

i decided try lubuntu see about. after setting up, installed libre office, works perfectly. attempted install spotify , brackets. when try launch spotify or brackets, nothing happens, , after 1 minute, folllowing error: error message received i appreciate if point me in right direction how resolve issue. thank :) i looked forward problem , found 2 solutions. try reinstalling spotify , barckets. 2.reinstall ubuntu system command: sudo dpkg-reconfigure -phigh -a *note step 2 erases data data before reinstalling. hope works worked friend :d !!!

16.04 - Dual Monitor not working - How to install Nvidia driver for 2 graphic card - GT630 and GT610? - Ask Ubuntu

resolved!! ubuntu 16.04: in software additional driver, gt630 - nvidia-340 driver available , gt610 - nvidia-304 available. installing 1 of them doesn't work out both monitors. wonder if can install both , specify driver use specific device because: solved i'll reply working copy of xorg.conf. kinda messed else after resolved. trying fix this issue now . have backed working copy of xorg.conf. 1) if install nvidia-340 works first monitor, second monitor has no display. if xinerma enabled, secondary monitor has ubuntu logo in center , mouse can moved. window can't moved , no menu bar. xorg.0.log: nvidia-1 : no input driver specified, ignoring device. nvidia-1 : device may have been added device file. nouveau being used gt610 default. if blacklist-nouevea , reboot, rather ubuntu logo, black screen , can move mouse on monitor (x cursor). 2) if install nvidia-304 , restart low graphic memory error , have press alt+shift+f1 , purge nvidia-304 dis

server - Start script on system startup (Ubuntu 16.04.1) - Ask Ubuntu

on new ubuntu system tried start bash script automatically on system start up. i found lot of posts , how-to's it. tried make via crontab: run crontab -e add @reboot /cronjobs/demo.sh >> /cronjobs/cronlogs/demo.output set execution permission script sudo chmod +x /cronjobs/demo.sh reboot system the output created, script not execute. tried solution rc.local file: run sudo vi /etc/rc.local added /cronjobs/demo.sh || exit 1 reboot system but script doesn't run. read reboot script must in /etc/rc0.d/ . tried this: move script mv /cronjobs/demo.sh /etc/rc0.d/k99_demo.sh check permissions (all seems ok) reboot system same thing - script not executed. so, what's error? why script can't executed? can execute script if run ./demo.sh after switched folder cd /cronjobs . script demo-file creates folder: #!/bin/sh echo demo output mkdir /cronjobs/demofolder edited: replaced paths , filenames; added full content of demo.sh file

software installation - Could'nt punch through NAT(or NAT not in place) - Ask Ubuntu

i trying install ethereum ubuntu 14.04. followed mentioned thread . error description getting! maybe problem proxy bypassing settings. if add light on issue... **please enter master password: ethereum (++) 0.9.41 code gav wood et al, (c) 2013, 2014, 2015. transaction signer: xe10203tgolg20fx2x46keoaqy0j7ond56 (06c45f10-757c-4ac4-1aba-f846def126d7 - 0079eeef) mining beneficiary: xe10203tgolg20fx2x46keoaqy0j7ond56 (06c45f10-757c-4ac4-1aba-f846def126d7 - 0079eeef) foundation: xe55pxqkkk4b9bypbgt1xcyw6r5elfat6em (00000000-0000-0000-0000-000000000000 - de0b2956) ℹ 12:27:18|p2p upnp device: http://172.26.21.17:1990/wfadevice.xml [st: upnp:rootdevice ] ⧎ ✘ 12:27:18|p2p couldn't punch through nat (or no nat in place). node id: enode://e31b85cc980158aa5cc5a6b8a8e35e97f29e1dff98592dbb30a4abceec7a90321ac8a3e6228189c00f5f13cca7e56511cfb90913f9e676bf4b8f5a6ac309f927@0.0.0.0:0 ⧎ ✘ 12:27:18|eth error resolving host address... poc-9.ethdev.com:30303 : host not found (non-auth

configuration - where to define aliases: .cshrc or .bashrc ? - Ask Ubuntu

where should define aliases please? i.e., best practice (and why)? can think of following options: .bashrc .cshrc .tcsh ... thank you the options mention refer different shells. when user starts shell program, relevant rc file in user's home directory read. if using bash (as when open terminal in ubuntu, unless have installed , selected different shell default user), should put aliases either in .bashrc , or if prefer (for example can more see , edit aliases), in dedicated .bash_aliases file. file not exist default, if created, sourced when bash started default .bashrc : $ grep -n '^[^#]*bash_alias' /etc/skel/.bashrc 104:if [ -f ~/.bash_aliases ]; 105: . ~/.bash_aliases if using shell, use appropriate rc shell.

Apache2 virtual host load server documentroot - Ask Ubuntu

i have ubuntu 16.04.1 vps , installed apache2 there , php7, fail2ban , other things. i set virtualhost domain (xxxxx.xx) link /var/www/html/twido-demo site loads content /var/www/html. what did wrong? file /etc/apache2/sites-available/twido.conf <virtualhost *:80> servername xxxxx.xx serveralias www.xxxxx.xx documentroot /var/www/html/twido-demo <directory /var/www/html/twido-demo> options -indexes +followsymlinks +multiviews allowoverride require granted </directory> errorlog ${apache_log_dir}/myproject-error.log # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. loglevel warn customlog ${apache_log_dir}/myproject-access.log combined </virtualhost> file /etc/hosts 127.0.0.1 localhost 127.0.1.1 ubuntu # following lines desirable ipv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters

Ubuntu upgrade failing from 16.04 to 16.10 : ' Failed to lock /var/cache/apt/archives/lock " - Ask Ubuntu

i unable upgrade ubuntu 16.04 16.10. error message: failed lock /var/cache/apt/archives/lock there numerous links on how fix it. i tried all . no success. can help? existing links on same topic: update: failed lock /var/cache/apt/archives/lock https://ubuntuforums.org/showthread.php?t=1911838 could not lock /var/cache/apt/archives/lock - open error message: calculating changes calculating changes want start upgrade? 10 installed packages no longer supported canonical. can still support community. 16 packages going removed. 293 new packages going installed. 1842 packages going upgraded. installing upgrade can take several hours. once download has finished, process cannot canceled. continue [yn] details [d]y fetching fetched 0 b in 0s (0 b/s) upgrading not download upgrades upgrade has aborted. please check internet connection or installation media , try again. failed lock /var/cache/apt/archives/lock t

apt - Unnecessary download when upgrading to 16.10 - Ask Ubuntu

i'm using 16.04 lts , upgrade 16.10. download size 3.2gb me. when looked "to upgraded" packages, there's 0ad game. currently on 16.04, version 0.0.20 (alpha 20) , no newer version released yet . so, why large package (~1.5gb) listed in "upgrade" package list? ( question 1 ) question 2: if hold package (using apt-mark hold ), can play game when finished upgrading 16.10? maybe new versions haven't been released, the package did bump : xenial (16.04lts) (games): real-time strategy game of ancient warfare [universe] 0.0.20-1: amd64 arm64 armhf i386 yakkety (16.10) (games): real-time strategy game of ancient warfare [universe] 0.0.20-3: amd64 arm64 armhf i386 the changelog has say: 0ad (0.0.20-3) unstable; urgency=medium * add debian/patches/fix-gcc6-segfault.patch fix spidermonkey segfault when built gcc6. (closes: #835176) * temporarily disable test suite on arm64 fix arch-specific ftbfs. * call dh_strip --dbgsym-m

dual boot - Guys can you please help me install ubuntu - Ask Ubuntu

i have acer laptop following specification: cpu: intel core i7-6500 2.5ghz turbo boost 3.1ghz graphics card: nvidia geforce 940m 2gb dedicated vram ram: 8gb ddr3 l memory hdd: 100gb (1 tb) i need install ubuntu on laptop @ same time keeping windows 10. have uefi bios. tried many youtube videos none of them worked. happens when installed ubuntu, dual boot menu doesn't show. windows 10 load automatically. can please me in regards how solve problem? , things should have laptop @ able dual boot. ubuntu important studies. thank you! under windows, can download , install grub2win , you'll go. please follow of instructions given it. first time start grub2win control panel you'll have install clicking on yellow button (can green too, upper one). i hope you. -thijs365

mysql - 16.04, can't mysqld --initialize in non-default location - Ask Ubuntu

i running mysqld on 14.04 non-standard --datadir (/usr/local/mysqld-test) & port (33306). after upgrading 16.04, no longer able start test mysqld, so, following instructions here , in bug links here , wound going far as: sudo apt purge mariadb-client-10.0 mariadb-common mysql-client mysql-client-5.7 mysql-client-core-5.7 mysql-common dbconfig-mysql sudo apt-get install mysql-client mysql-server (in process, uninstalled amarok!? snarl) that still wasn't working, wound nuking entire /usr/local/mysqld-test (intentionally; in theory have scripts rebuild it). mysql_install_db command had used before deprecated now, , doesn't seem understand -p 33306 argument, instead i'm trying use mysqld --initialize-insecure . here's i'm doing: mysqld --initialize-insecure --basedir=/usr/local/mysqld-test --datadir=/usr/local/mysqld-test/data it fails: mysqld: can't create directory '/usr/local/mysqld-test/data/' (errcode: 13 - permission denied

display - Can`t find the right screen resolution - Ask Ubuntu

i installed ubuntu 16.10 afterwards, noticed screen resolution not matching properly. jumped scree display settings , found resolution option "1024x768(4:3)" while laptop screen 1366x1768. 01:00.0 vga compatible controller [0300]: advanced micro devices, inc. [amd/ati] whistler le [radeon hd 6610m/7610m] [1002:6742] (prog-if 00 [vga controller]) subsystem: toshiba america info systems radeon hd 7610m [1179:fb31] flags: fast devsel, irq 16 memory @ b0000000 (64-bit, prefetchable) [size=256m] memory @ c2000000 (64-bit, non-prefetchable) [size=128k] i/o ports @ 4000 [size=256] expansion rom @ <ignored> [disabled] [size=128k] capabilities: <access denied> kernel modules: radeon any appreciated.

How to mount a USB SD card with three partitions in read/write - Ask Ubuntu

i'm trying mount sd card has 3 partitions can read , write 3 partitions. i'm missing something... i'm using usb reader sd card , i'm trying use command: sudo mount -o remount, re /media/vincent/84060bcd-e8e2-4e04-8e26-e7be3f39d0b1 i'm not sure i'm missing though.

lvm - I can't see my old files in Ubuntu 14.04 after I newly installed my Ubuntu to 16.04 - Ask Ubuntu

this question has answer here: how recover accidentally lost windows partitions after installing ubuntu? 3 answers recover ext4 partition 1 answer to whom may concern, i newly installed ubuntu 16.04, can't see old files in 14.04. please kindly help. choose live-install ubuntu 16.04 boot-up usb disk, choose lvm, choose new format. can't see old files when in old ubuntu 14.04. thank you

networking - Can I bypass OpenVPN for a website address rather than IP? - Ask Ubuntu

recent political events (the snoopers carter) have prompted me start looking @ again. want use vpn vast majority of traffic want able use netflix effectivly detects , blocks vpn connection what want use vpn except sites don't allow vpn connections. i have been directed site previously http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html which fine small sites, issue is, involves knowing ip address, , netflix distribute server load, need know 1000s of ips , there's no complete list of them. ips changing can't add each ip encounter it. so, there anyway can direct openvpn ignore connections specific site?

games - What's eating all the RAM and swap? - Ask Ubuntu

Image
after hours after playing minecraft or game in 16.10, ram , swap gets filled invisible process, , system freezes hdd led on, it's writing ssd, nothing happens, , need force shutdown , restart computer. to understand these issues, refer below screenshots. here 2 screenshots without chrome , java, adding values on first picture, it's not 1.7gb. think hidden process causes this. chrome can use lot of ram when chrome window has focus press shift >+ esc bring process manager: i've ententionally narrowed task name width hide gmail inbox name can see using on 400 mb of ram. in screen chrome using 1.7 gb of ram surfing net 10 tabs opened. your screen shows chrome name screen shows each opened tab name track down offender. in case if wanted free ram close gamil.com . the second large ram user earth-sunrise website has comment section. websites comment sections can burn lots of ram, in testing on 1 gb per tab on few hours. simpy refreshing t

Ubuntu BCM43142 (14e4:4365) wireless drivers broadcom - Ask Ubuntu

i using ubuntu 16.10 , have problem drivers bcm43142 (14e4:4365). have installed broadcom-sta. version v6.30.223.271 got from: http://de.archive.ubuntu.com/ubuntu/pool/multiverse/b/broadcom-sta/ using dpkg. (4th version) still not work. ~$ sudo dpkg -i ~/downloads/broadcom-sta-common_6.30.223.271-4_all.deb [sudo] password jan: (reading database ... 204118 files , directories installed.) preparing unpack .../broadcom-sta-common_6.30.223.271-4_all.deb ... unpacking broadcom-sta-common (6.30.223.271-4) on (6.30.223.271-4) ... setting broadcom-sta-common (6.30.223.271-4) ... update-initramfs: deferring update (trigger activated) processing triggers initramfs-tools (0.125ubuntu5) ... update-initramfs: generating /boot/initrd.img-4.8.0-26-generic w: possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin module i915 w: possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin module i915 ~$ sudo modprobe wl modprobe: error: ../libkmod/libkmod-module.c:832 kmod_modul

How can I integrate mpv media player into the Ubuntu sound menu? - Ask Ubuntu

Image
i tried following command integrate mpv ubuntu sound menu. $ gsettings set com.canonical.indicator.sound interested-media-players "['lollypop', 'mpv']" this adds entry mpv misses playback controls. we can integrate music player (or other application) sound indicator as shown here make controllable if player supports dbus (mpris) controls. sadly not case mpv . there external plugin claims add mpris support. haven't tried myself may worth shot.

graphics - ubuntu 16.04 LTS Login Loop & Black screen TTY - Ask Ubuntu

first of all, don't judge me instantly, might seem duplicated question honestly, can't find solution case. that's why came here. okey here's deal. started morning starting computer , log in ubuntu. worked charm! then, time time, system updater popped , there couple updates. checked them, , looked great , clicked "install" or "update" - reason not sure button says, anyway... then, meanwhile finishing coffee, updates finished , decided start workday. @ moment i'm working on big video project opened kdenlive. unexpectedly doesn't opened @ all, , kdenlive wasn't 1 whom behavior weird. still bit sleepy haven't enough energy start figuring out what's going on decided restart computer , crossed fingers magic reboot. well.. wasn't. login loop decided stopped by. first reaction was, oh sh*t system broken? did lost everything? i guess didn't. assuming fix if i'd able open tty. ctrl + alt + f1 give me black screen. f

software installation - How does one get shared libraries and header files to install Zita-at1 - Ask Ubuntu

i trying install program called zita-at1. in installation guide says: to install, cd source directory, make, sudo make install, make clean. to build version, need shared libraries libclthreads-2.4.0 libclxclient-3.9.0 and corresponding header files. available at http://kokkinizita.linuxaudio.org/linuxaudio/downloads to install /usr instead of /usr/local modify definition of 'prefix' in makefile. i not know meant "make, make install or make clean". neither how "get" share libraries need. these installed using terminal command? i have downloaded header files, not know put them or them. need decoding these instructions search find ubuntu package mentions desired library apt-file search libclthreads it responds libclthreads-dev: /usr/lib/x86_64-linux-gnu/libclthreads.so libclthreads-dev: /usr/share/doc/libclthreads-dev/changelog.debian.gz libclthreads-dev: /usr/share/doc/libclthreads-dev/copyr

ssh - sudo: no tty present and no askpass program specified - Ask Ubuntu

when attempting run remote binary using sudo on remote box: ssh remotehost "sudo ./binary" i see error: sudo: no tty present , no askpass program specified how can work around this? edit not duplicate of question suggested such. answers there irrelevant. in fact, changes sudoers file applied remote host. a simple way specify -t : ssh -t remotehost "sudo ./binary" from man page: force pseudo-tty allocation. can used execute arbitrary screen-based programs on remote machine, can useful, e.g. when implementing menu services. multiple -t options force tty allocation, if ssh has no local tty. i cannot explain why works, , there may better way. i'd hear if :) @psusi explains why works in comment below.

command line - Moving only the first file from any directory to current one - Ask Ubuntu

i have 2 directories called 1 , poscars , there files in poscars directory. want move first file poscars directory 1 directory while in 1 directory. thanks advice if want move first file in directory, current working directory, can use for , because loops on files in ordered way. replace /path/to/ real path poscars directory, , test first echo : for file in /path/to/poscars/* ; echo mv -v -- "$file" . ; break ; done this find first file in poscars , simulate moving current working directory. if shows want, re-run command without echo move file: for file in /path/to/poscars/* ; mv -v -- "$file" . ; break ; done mv -v -- move file , report action, not accept further options . current working directory break means break loop after first iteration, stop moving files after finding first one

command line - Problem installing kismet - Ask Ubuntu

Image
i'm having problem installing kismet . command was: sudo apt-get install kismet everything goes fine, don't know how proceed configuration. click ok, nothing happens... can ? the terminal isn't "clickable" :) you need press tab use arrow keys navigate options , enter confirm. if there multiple selections followed ok/next or back/cancel need navigate , select space intended option list navigate aforementioned "buttons" , confirm. additional info: kismet - easy tutorial - configurations

16.04 - How to have a daily statistic of keys pressed? - Ask Ubuntu

i want analyse how press key in daily typings , hence set tracking of keyboard. (it might case challenged key press backspace , disprove hard facts.) i not interested in complete strings , shouldn't stored anywhere on disk. looking not complete keylogger , black hat use cases should @ best avoided. my quick search brought up: xinput --test-xi2 yet raw: event type 13 (rawkeypress) device: 3 (12) detail: 37 valuators: event type 13 (rawkeypress) device: 3 (12) detail: 54 valuators: and have implement statistics myself. is there way can have statistics of keys pressed? further search had me stumbeling upon krefreq , yet haven't looked far it. you use openbox define key bindings easily, bind key action: <keybind key="0x41"> <action name="execute"> <execute>echo "a\n" >> keylog.txt</execute> </action> </keybind> you can define mappi

command line - first EOF not working? - Ask Ubuntu

i have ubuntu 16.04 lts , when run in terminal md5sum waits input , enter hello when press ctrl + d not terminate , have press ctrl + d second time terminate that! why? in unix, objects can read , write - ordinary files, pipes, terminals, raw disk drives - made resemble files. a program cat reads standard input this: n = read(0, buffer, 512); which asks 512 bytes. n number of bytes read, or -1 if there's error. if did repeatedly ordinary file, you'd bunch of 512-byte reads, shorter read @ tail end of file, 0 if tried read past end of file. so, cat run until n <= 0. reading terminal different. after type in line, terminated enter key, read returns line. there few special characters can type. 1 ctrl-d . when type this, operating system sends of current line you've typed (but not ctrl-d itself) program doing read. , here's serendipitous thing: if ctrl-d first character on line, program s

drivers - Intel® HD Graphics 530 compatibility with 12.04 - Ask Ubuntu

i think fresh ubuntu 12.04 lts x64 not work intel® hd graphics 530, because can't rotate display. there way get graphics chip running? think there no official drivers intel it... root@test:~# xrandr -o right x error of failed request: badmatch (invalid parameter attributes) major opcode of failed request: 140 (randr) minor opcode of failed request: 2 (rrsetscreenconfig) serial number of failed request: 14 current serial number in output stream: 14 greetz form austria, florian miesenberger

mv command deleted a folder - Ask Ubuntu

i new linux. had folder called "código" kept of .h's , .cpp's when programmed. wanted move said folder 1 directory , new folder called "code", in terminal typed following: mv ./código ..-code of course, meant type: mv ./código ../code but forgot keyboard in spanish mode. "código" folder not exist. cant find searches of file system. tried cd-ing "..-code", "-code", , ".-code" , didn't that... can tell me happened folder, , if it's contents recoverable (without disk recovery utility)? i looked @ man page , did basic googling found nothing useful. wasn't sure google... i followed instructions :) i mean, created folder called código/ , executed same (wrong) command. what happened folder código/ renamed ..-code/ . name of folder starts dot ( . ) hidden folder. now if execute ls -a in terminal, folder ..-code/ should appear (as every hidden file in directory). you can see hidden

14.04 - Unknown Error in Ubuntu 14 - Ask Ubuntu

i had been trying install weblate on server, when try run command ./bitnami-weblate... .run giving me "unknown error" error: there has been error. unknown error while running /sbin/ldconfig -p | grep libstdc | awk '{print $4}' | xargs grep -aop 'glibcxx_([0-9]+)\.([0-9]+)\.([0-9]+)' | tail -n 1 | grep -op '([0-9]+)\.([0-9]+)\.([0-9]+)' i had been trying googling don't find specific error before. here screen shot what error mean?

Why can't I install Oracle Java 6? - Ask Ubuntu

i'm trying install java 6 jre on ubuntu 16.04. as have done many times before, did: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer ... gave me error: downloading oracle java 6... --2016-11-10 08:51:35-- http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin resolving download.oracle.com (download.oracle.com)... 146.57.254.26, 146.57.254.43 connecting download.oracle.com (download.oracle.com)|146.57.254.26|:80... connected. http request sent, awaiting response... 302 moved temporarily location: https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin [following] --2016-11-10 08:51:35-- https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin resolving edelivery.oracle.com (edelivery.oracle.com)... 23.209.61.60, 2600:1418:3:1a2::2d3e, 2600:1418:3:18b::2d3e connecting edelivery.oracle.com (edelivery.oracle.com)|23.209.61.60|:443... connected. http

password - After upgrade, Ubuntu boots to text console only - Ask Ubuntu

i updated ubuntu version 16.04.01. restarted pc goes text console. asks username + password not recognize either of them. tried ctrl + alt + f7 not show gui. not responding sudo, either. how can gui back?

grub2 - Can I boot into Linux without grub? - Ask Ubuntu

this question has answer here: how can repair grub? (how ubuntu after installing windows?) 10 answers i have 2 operating systems on computer: windows , linux. had reinstall windows long complicated issue after had linux installed on computer deleted or @ least hid grub boot loader. there way can boot linux without it? know there questions on this, every answer assumes can access linux. can't, entire reason i'm asking this. , downloading boot loader or won't work because entire reason want linux fix issue windows preventing connecting internet. if want fix issue windows, suggest live cd of linux distro , boot it. if needed, can install it; next time boot computer, grub show up. make sure enable "install grub" option when installing. if log live session, can remove linux, if needed. you need bootloader ot boot os.

networking - Can't use USB adapter 0846:9014 NetGear, Inc. in Ubuntu 16.04 - Ask Ubuntu

Image
i have installed ubuntu 16.04 alongside windows 10 , when trying connect wifi, can´t see there option. see i have disabled secure boot in bios , after running sudo lshw -c network , see despite searching online on how install or update wifi drivers, haven't found works me. appreciated. update i followed suggestion of @mahesh , can read in comment below, on top right corner seeing icon connect internet ( first picture of question), cannot see now, , freaking out. can please help? output of lspci here: 00:00.0 host bridge: intel corporation 4th gen core processor dram controller (rev 06) 00:02.0 vga compatible controller: intel corporation xeon e3-1200 v3/4th gen core processor integrated graphics controller (rev 06) 00:03.0 audio device: intel corporation xeon e3-1200 v3/4th gen core processor hd audio controller (rev 06) 00:14.0 usb controller: intel corporation 8 series/c220 series chipset family usb xhci (rev 04) 00:16.0 communication controller: intel corpor

unity - How I can know which icon theme is being used in Ubuntu for a file explorer project - Ask Ubuntu

i made simple text-based file manager in python fun (very simple, copying , pasting files, , viewing them). now i'm planning implement simple gui. idea show directories , files graphically, looked default icons, don't know how control if user using different theme, , if so, path images. possible?

kernel - Ubuntu 16.10 USB devices disapper after running multimedia files - Ask Ubuntu

i got problem after upgrade ubuntu 16.10 run video files (in browser or hdd), usb-devices instantly switches off until reboot (pc don't freezes 'cause when push power-off button, menu appears. /var/log/kernel.log shows thousands of these lines: kernel: [ 681.844553] amd-vi: event logged [io_page_fault device=00:12.0 domain=0x0006 address=0x0000000000000080 flags=0x0020] i can't show dmesg output 'cause can't until reboot. on same pc have opensuse , windows 8.1, working fine. i able solve similar problem (in case usb sound card disconnect after working few seconds, bricking port connected) installing more up-to-date kernel: 4.9.0-040900rc3-generic i downloaded .deb file architecture from, http://kernel.ubuntu.com/~kernel-ppa/mainline/ , installed software updater. after rebooting, usb device normal behavior.