Posts

Showing posts from September, 2015

permissions - cron job can not access Windows files after upgrade to 16.10 - Ask Ubuntu

cron starts duplicity job incremental backup of system, desktop. partition ntfs, /media/os/program files ... since upgraded ubuntu 16.10 (from 16.04) job cries can not access file /media/os/program files ... possibly locked. the permissions ntfs directories , files can not set. so can (if not want downgrade 16.04)?

drivers - No wi-fi network after install - Ask Ubuntu

i installed ubuntu 16:10 on xiaomi air 13 "uncommon device know" i'm not able see wifi connection. problem occurred right after install, since before "during try ubuntu , installation" able see , connect w/out problem. if go settings -> network i'm not able turn on wifi "it switch off turn on". nothing in software , update -> more driver. what should ? :c edit:i able fix metod here wi-fi drivers laptop xiaomi air 13 but can't find programm/app on ubuntu software c. "like geany". problem somehow related fix found ?

14.04 - Browser-process using high CPU - Ask Ubuntu

Image
i using ubuntu 14.04 lts. having transited windows linux, i'm new process , service management, in os. 1 or more processes stack cpu usage high, up-to 100%. time found process called browser-process acting culprit. have attached image of how appears on system monitor: 1 although process still runs after stopped, not gulp down cpu. usual process soak resource such? my other concern cpu usage consistently high when compared windows based systems, system used idle extended periods apparently "0" cpu usage. so, happens in windows?

boot - Dual booting Ubuntu 16.04.1 alongside Windows 10 in such a way that Ubuntu can be able to access/read files of NTFS? - Ask Ubuntu

i want dual boot laptop (ubuntu 16.04.1 lts alongside windows 10). how perform installation that, after installing ubuntu, should able read ( files, videos, photos, etc) stored on other drives( in ntfs format). have done dualbooting once other laptop & failed so. now want access files on ntfs format after installation? know how install ubuntu on windows machine. want such (as mentioned above) settings so. you can easily, 1 of 2 different ways. using existing windows partition in windows, go power control panel , turn off fast boot . in windows, open administrative command prompt window, type powercfg /h off . in ubuntu, click on windows icon that's in unity launcher, or, if want auto-mounted @ boot time, modify /etc/fstab like: uuid=0c0f93ce58153d42 /media/your_username/windows ntfs-3g defaults 0 0 change your_username , , change uuid correct 1 found using sudo blkid command in terminal. using new shared_data partition using gparted, or w

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

installed ubuntu mate 16.04 lts on decade-old desktop. lspci -k shows: 01:00.0 vga compatible controller: nvidia corporation nv18 [geforce4 mx 4000] (rev c1) subsystem: xfx pine group inc. nv18 [geforce4 mx 4000] kernel driver in use: nouveau kernel modules: nvidiafb, nouveau i wonder nvidia-* driver package need install. thought should nvidia-96 , far checked, there no nvidia-96 package available.

unity - Double Triple-Click brings up Switcher -- how do I change this to revert Triple-Click to be middle click again? - Ask Ubuntu

behavior in 16.04: triple-click middle click (this assumption, can't middle clicking, behavior consistent middle clicking) , opens link in new background tab in firefox. switcher was/is tiny , looks shit, works fine. behavior after upgrade 16.10: double triple-click (but interestingly not single triple-click, nor double double-click, nor double single-click) brings nice looking switcher love use alt+tab. looks great. it's not tiny , doesn't shit. wonderful if alt-tabbing used switcher, because it's large enough visible, background color in keeping ubuntu's theme , matches dock. i triple-click go being middle click. can't find anywhere set this, , it's sad because can't open links in new background tab in firefox without old functionality. 11/7: within past couple days, i've noticed pages huge or small text. ctrl + 0 puts zoom original. however, today realized double-clicking (left click) cycling font size between bigger, smaller, , original

networking - Preferred way to add second nic on separate network? - Ask Ubuntu

i creating small web cluster starting maas 2.0. have 5 physical machines each utilizing 2 nics. my maas server runs dhcp in 10.14.0.0/20, each physical node in cluster gets static assigned 10.14.0.101, 102, etc, assigned eno0. maas server has ip forwarding setup , nodes route 10.14.0.1 default gateway. network on own switch dedicated internal traffic , ipmi. the second nic on each node plugged switch part of public network, 199.16.x.x. each node statically assigned 199.16.x.x address, no default gateway assigned. if assign default gateway removes gateway assigned on 10.14.0.0/20 network. maybe not remove, maybe overwrite better explanation. if don't have route 199.16.x.x incoming traffic requests sent out 10.14.0.0 fails. i've solved issue adding secondary route , adding few commands interfaces files. echo "1 rt2" >> /etc/iproute2/rt_tables i've added following eno2 configuration in /etc/network/interfaces post-up ip route add 199.16.

packaging - How do I write a rules file for Blockify? - Ask Ubuntu

there no debian packages available blockify ad-muter spotify , build one. have created copyright, compat, , other debian package files it, except working rules file. know build , install blockify source code 1 merely runs: sudo pip3 install git+https://github.com/serialoverflow/blockify but not know how turn rules file's build: function. as i've tested building package (didn't install it), new way, documented in debian, working fine: #! /usr/bin/make -f #export dh_verbose = 1 export pybuild_name = blockify %: dh $@ --with python2,python3 --buildsystem=pybuild reference: debian packaging: python librarystyleguide

unity - Applications disappear after unlocking (16.10) - Ask Ubuntu

chrome , slack clients show open in task bar, windows found. clicking icons in task bar no - must terminate applications , restart them. problem first appeared in 16.04, continues after upgrade 16.10 on hp probook hdmi monitor (so, 2 screens active). seeing many similar experiences, , no feedback.

16.04 - Problem while installing Virtualbox - Ask Ubuntu

i thought installing easy, im facing dependencies problem : virtualbox-5.1 : depends: libpng16-16 (>= 1.6.2-1) not going installed depends: libqt5core5a (>= 5.6.0~beta) 5.5.1+dfsg-16ubuntu7.1 installed depends: libqt5widgets5 (>= 5.6.0~beta) 5.5.1+dfsg-16ubuntu7.1 installed depends: libqt5x11extras5 (>= 5.6.0) 5.5.1-3build1 installed depends: libsdl1.2debian (>= 1.2.11) not going installed recommends: libsdl-ttf2.0-0 not going installed for ubuntu 16.04 in /etc/apt/sources.list: replace deb http://download.virtualbox.org/virtualbox/debian yakkety contrib by deb http://download.virtualbox.org/virtualbox/debian xenial contrib

nvidia - Can't install Steam on 16.10 - Ask Ubuntu

i tried install steam on clean installation of ubuntu 16.10 (amd64) proprietary nvidia-drivers. used sudo apt-get install steam in terminal. icon apears , can start steam. if download starts (into application-window) nothing happens... (to clear: i'm not talking game-download) (the internet connection works fine.) is there workaround? try rm ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 removes library steam uses, , makes steam use system library. fixes non proprietary drivers, might fix proprietary ones. more of temporary fix, hope helps!

nvidia - Ubuntu (15.10, 16.04, 16.10) freezes on resume from suspend (only on battery) - Ask Ubuntu

i've been struggling freezing issues on suspend/resume since got dell inspiron 7559 in april. i've followed lot of posts regards problem haven't found solution yet. some things know: i tried using several kernel versions (currently using 4.8.1); it freezes when computer on battery. when connected never happens; sometimes freeze moment remove power cord; after reset because of freezing, got xorg failure warnings; tried using nvidia's both proprietary , open-source drivers (several versions, 370.28) current grub config: grub_cmdline_linux="vga=0 atkdb.reset i8042.nomux quiet splash" (i've tried others) when resuming got black screen , this: http://s14.postimg.org/6xhnh591t/crash.jpg update the reason occurs on battery because it's configured don't suspend when connected. can put me on right direction? appreciated. thanks you may want try turning off power management wireless interface how can prevent iwconfig power

chown - Default owner of var 16.04 - Ask Ubuntu

my problem short. have typed chown -r root:root /var and mysql server stopped working :/ tried searching solution, nothing helped me. i have problem permissions in phpmyadmin. errors can found here . i know, have ruined whole structure of ownerhsip, if have list of default users , groups in var gratefull. that command harmful. changed ownership of objects (file , directories) inside /var directory root user. not programs expect, including mysql mysql wants files inside /var/lib/mysql directory owned user mysql . so, should change ownership of directory (recursively) again using command sudo chown -r mysql:mysql /var/lib/mysql except file /var/lib/mysql/debian-5.7.flag . 1 owned root . after executing above command, can again change ownership of file sudo chown root:root /var/lib/mysql/debian-5.7.flag also mysql wants log directory owned mysql user. so, again change ownership of too sudo chown -r mysql:mysql /var/log/mysql fortuantely, had phpm

16.04 - how to solve this issue in postfix - Ask Ubuntu

"i did setup postfix https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04 of late facing error" postconf: fatal: /etc/postfix/main.cf, line 30: missing '=' after attribute name: "smtpd relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination" postconf: fatal: /etc/postfix/main.cf, line 30: missing '=' after attribute name: "smtpd relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination" main.cf file # see /usr/share/postfix/main.cf.dist commented, more complete version # debian specific: specifying file name cause first # line of file used name. debian default # /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname esmtp $mail_name (ubuntu) biff = no # appending .domain mua's job. append_dot_mydomain = no # uncomment next line generate "delayed mail" warni

wsl - Program on Ubuntu Not Working - Ask Ubuntu

i reinstalled program called canopy on ubuntu windows. however, when call happens: <jp2nyy>: ~/canopy/canopy -d if canopy doesn't start correctly, please run -d option & report output /home/jp2nyy/canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/lib/python2.7/site-packages/jupyter_client/manager.py:100: userwarning: setting kernel_cmd deprecated, use kernel_spec start different kernels. warnings.warn("setting kernel_cmd deprecated, use kernel_spec " /home/jp2nyy/canopy/appdata/canopy-1.7.4.3348.rh5-x86_64/lib/python2.7/site-packages/canopy_platform/store/store.py:282: unabletoaccessrepositorywarning: unable access repository "enthought/commercial" qinotifyfilesystemwatcherengine::addpaths: inotify_add_watch failed: invalid argument invalid argument (src/tcp_address.cpp:171) aborted (core dumped) it driving me insane want access in order use python inotify has been problematic windows subsystem linux. however, things have (as of octobe

multiple monitors - Ubuntu 16.10 dual display restart - Ask Ubuntu

i've updated ubuntu 16.04 version 16.10. have 2 displays connected workstation. 1 of them (right one) connected via hdmi, , second (left) connected via d-sub. on 16.04 had no issues displays, after update found when move cursor left display right display, left 1 restarts in moment when cursor reached , stepped through border between displays. how can fix this? think problem in drivers this issue related screen blinking on moving cursor 1 monitor another , fixed updating kernel upstream

partitioning - My computer can't mount the / drive - Ask Ubuntu

i looking @ drives trying fix slight problem , can't computer so if there's way reset settings drive without being able settings can 1 tell me how thanks you can try boot live ubuntu , revert changes. you provide insufficient information changed , happens on boot.

command line - buddy library for C++ into Ubuntu - Ask Ubuntu

i trying add buddy lib project after executing "./configure" , "make" make install ans : maissa@maissa-945gct-m2:~/buddy-2.4$ make install making install in src make[1]: entering directory '/home/maissa/buddy-2.4/src' make[2]: entering directory '/home/maissa/buddy-2.4/src' test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib" /bin/bash ../libtool --mode=install /usr/bin/install -c 'libbdd.la' '/usr/local/lib/libbdd.la' /usr/bin/install -c .libs/libbdd.so.0.0.0 /usr/local/lib/libbdd.so.0.0.0 /usr/bin/install: cannot create regular file '/usr/local/lib/libbdd.so.0.0.0': permission denied makefile:257: recipe target 'install-libltlibraries' failed make[2]: *** [install-libltlibraries] error 1 make[2]: leaving directory '/home/maissa/buddy-2.4/src' makefile:480: recipe target 'install-am' failed make[1]: *** [install-am] error 2 make[1]: leaving directory '/home/maissa/

plexmediaserver - Plex media server trustworthy? - Ask Ubuntu

i installed plex media server .deb package. finished, able see server's host name pop on web site @ point browse entire file system! website! , oh yeah, it's not using https. can reassure me here? ok? can browse internal address instead? there way configure can't phone home? as don't think want keep installed. did pay $4.99 month plexpass? if did why can see files website, not on website , website file secure , encrypted, , devices allow access can see files. have used plex 2 years no issues. correct address plex https://plex.tv/ . can supply link web site using. without paying $4.99 plexmedia server acts dlna server , can accessed computer in network on unsecure connection, inside firewall. if not want have access outside own network, there other blna/upnp servers available ps3mediaserver, umb, minidlna , several others.

software recommendation - Is there an image and video viewer like on smart phones in Ubuntu? - Ask Ubuntu

i present images , videos 1 folder in ubuntu way 1 familiar smart phones/tablets. perfect if the gnome image viewer able include videos common formats still image preview/slideshow , play them button-hit or mouse click. idea have images , videos in same slideshow/fullscreen-view in android or ios mediaviewers. i found slideshow , video application predetermines duration image shown. present next image/video in folder manually (also in fullscreen) , start video-playback manually well. you can use gthumb. gthumb can view images , play videos directly. install command sudo apt install gthumb take @ project page https://wiki.gnome.org/apps/gthumb

16.04 - AMD Radeon HD 7770 (Cape Verde XT) and AMDGPU PRO drivers - Ask Ubuntu

i've tried installing amdgpu pro linux drivers, , after reboot, resolution gets messed up, , after trying log in, spits me out login page again. after getting terminal , trying manually start x, error. card in question advanced micro devices [amd/ati] cape verde xt [radeon hd 7770/8760 / r7 250x]. i've followed instructions here . do need downgrade 14.04 card working properly? i'm on 16.04. i need drivers run properly, since android virtual device , genymotion won't run @ all. the amdgpu pro drivers in beta, , don't support amd cape verde cards yet. (note page link doesn't list card.) i can't find link remember reading support planned next year, , require kernel version 4.8.

14.04 - Unable to uninstall fedora 24 and install Ubuntu - Ask Ubuntu

i have fedora 24 on laptop. want delete fedora , install ubuntu 14.04 (yes old version). made ubuntu live usb using unetbootin in fedora , when try boot usb, fedora boots automatically. unable boot ubuntu usb. do? if want make ubuntu 14.04 primary os laptop following steps: download ubuntu 14.04 iso file. download , install poweriso on system. install iso in pendrive using poweriso using terminal command wget or download physically , un-tar it. http://www.poweriso.com/poweriso-1.3.tar.gz open poweriso , click on tool tab,the select bootable usb. burn dialog box open, choose un-tar iso file , click on start button. viola half way done. now restart os , boot lappy read usb storage first. follow instruction , ubuntu installed.. note: can install poweriso package here

sh: .ssh/authorized_keys: Is a directory? - Ask Ubuntu

i'm trying copy /id_rsa.pub machine command cat .ssh/id_rsa.pub | ssh root@10.0.2.15 'cat >> .ssh/authorized_keys' but keep getting error sh: .ssh/authorized_keys: directory i created directory following commands mkdir ~/.ssh chmod 700 ~/.ssh touch ~/.ssh/authorized_keys the output command on target machine ls -l /root/.ssh is "total 0" the problem you've made directory called ~/.ssh/authorized_keys . supposed file. i'm not sure how has happened, given commands you've listed should have made ~/.ssh directory , authorized_keys file within it. remove authorized keys directory on remote machine, , replace file. or better, use ssh-copy-id command local machine create file , add key in 1 single command: ssh-copy-id user@ip-address

boot - Ubuntu bootable dvd - Ask Ubuntu

i'm looking list of files , directories should on bootable dvd created ubuntu iso file named ubuntu-16.04.1-desktop-amd64. i've created dvd not boot acer travelmate 4061. bios boot requirements have been fulfilled (inoperable xp on hard drive drive still accessable) your processor capable run 32-bit software see here . have 32-bit image form here: http://releases.ubuntu.com/16.04/ to verify download worked correctly check how-to: https://www.ubuntu.com/download/how-to-verify

Cannot connect using ssh with one PC but ok with another - Ask Ubuntu

i can connect remote server using 1 pc, not another, get debug1: reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: applying options * debug2: resolving "*******" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: connecting ***** [****] port 22. debug1: connection established. debug1: permanently_set_uid: 0/0 debug1: selinux support disabled debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_rsa type -1 debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_dsa type -1 debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: key_load_public: no such file or directory debug1: identity file /root/.ssh/id_ecdsa-ce

16.04 - Changed from english to arabic, however some language system text is still in arabic - Ask Ubuntu

i study arabic, thought fun change system language arabic on ubuntu 16.04. noticed wasn't fun , since i'm still quite new language changed english. however, there still things kept arabic language. login window, , system windows text , buttons. how can change these back?

networking - My WIFI device is sometimes identified as Qualcomm and some time as PowerColor - Ask Ubuntu

i bought new lenovo ideapad 310 , installed ubuntu 16 on it. about half of times start machine (or reboot) wifi works , other half doesn't. i noticed lspci outputs differently when wifi works , when doesn't. below result of diff: ~$ diff lspci_when_wifi_works.txt lspci_when_wifi_broken.txt 15c15 < 02:00.0 network controller: qualcomm atheros device 0042 (rev 30) --- > 02:00.0 class 8280: tul corporation / powercolor device 0040 (rev 20) i don't know if qualcomm identification correct, when wifi identified qualcomm works , when identified powercolor doesn't. any ideas how make work always? on every boot? more information/logs/command-output can supply help? thank you, sela. ~$ uname -a linux sela-lenovo-ideapad-310-15isk 4.4.0-45-generic #66-ubuntu smp wed oct 19 14:12:37 utc 2016 x86_64 x86_64 x86_64 gnu/linux ii linux-firmware 1.157.4 firmware linux kernel drivers

bash fork: retry: Resource temporarily unavailable - Ask Ubuntu

i trying run shell script create process using shell script. resource temporarily unavailable error. how identify limit (memory/process/filecount) creating problem. below ulimit results. core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 563959 max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 65535 pipe size (512 bytes, -p) 8 posix message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 10000000 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited for case in comments, not using memory per thread, hitting cgroup limits. find default a

Ubuntu 16.04 Gimp & UFRaw crash when Loading Canon CR2 Files - Ask Ubuntu

i’ve loaded gimp , ufraw plugin 16.04 can process canon cr2 raw files. trying open cr2 files via gimp/file/open, or if select same file via ufraw error: “opening 'file location & name' failed: procedure 'file-ufraw-load' returned no return values” . gimp loading , working jpegs works ok. note if start gimp via terminal there page of warnings same in 831794 ; eg (gimp:5187): gegl-gegl-operation.c-warning : cannot change name of operation class 0x14f74b0 "gimp:point-layer-mode" "gimp:dissolve-mode" etc running ufraw terminal generates 1st error above segmentation fault (core dumped) in terminal. if run ' strace ufraw' results in following when ufraw crashed: gave following when crashed: open("/home/daniel/.local/share/lensfun", o_rdonly|o_nonblock|o_directory|o_cloexec) = -1 enoent (no such file or directory) --- sigsegv {si_signo=sigsegv, si_code=segv_maperr, si_addr=0x4} --- +++ killed sigsegv (core dumped) +

updates - Updated to Ubuntu 16.10 but it seems that I have 17.04 installed! - Ask Ubuntu

i updated ubuntu 16.10 16.04 2-3 weeks ago , didn't have issues. after daily updates startup errors trying send 17.04 zesty... checked software & updates , saw "pre-release updates" unset. lsb_release , hostnamectl , os-release shows i'm in 17.04 development branch! how can fix this? or if i'm in development branch how can switch 16.10... machine super unstable , every time boot many errors. some outputs: cat /etc/os-release name="ubuntu" version="17.04 (zesty zapus)" id=ubuntu id_like=debian pretty_name="ubuntu zesty zapus (development branch)" version_id="17.04" home_url="http://www.ubuntu.com/" support_url="http://help.ubuntu.com/" bug_report_url="http://bugs.launchpad.net/ubuntu/" privacy_policy_url="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy" version_codename=zesty ubuntu_codename=zesty hostnamectl static hostname: hp-pavilion-g6-notebook-pc

Indicator icons too small in gnome-flashback session - Ask Ubuntu

Image
i'm using laptop hidpi screen , ubuntu 16.10. default ubuntu session looks fine. in gnome-flashback session fonts nice too, application menu icons , indicator icons small , hard read: . i wonder if there way make icons of same size text, ~1.5x - 2x times larger.

boot - Unable to get to desktop on Ubuntu 16.04 LTS - Ask Ubuntu

i running ubuntu 16.04 couple of months without problems. however, since 2 days ago got message on start saying system program problem detected . have had same message on laptop, running 14.04, quite long time without issues, ignored it. now, however, 16.04 installation cannot login anymore. login screen, enter account credentials, , after familiar system program problem detected message can not see else of (unity) desktop. after 2 seconds, screen goes black , after again presented login screen. can repeat cycle indefinitely. any suggestions on how fix this? tried booting in recovery mode no avail.

Login loop on setup of new ubuntu 16.04 Nvidia-367 driver - Ask Ubuntu

i setting new linux-only system, supermicro motherboard x10srl-f, xeon chip, , geforce 1070 gpu. hardrives set legacy (not uefi), secure boot disabled, though csm still enabled. ubuntu install works fine, , switched processor intel proprietary drivers , installed intel gpu tools , rebooted, no problems. ran sudo apt-get update, reboot, no problems. however, have tried both switching nvidia driver 367 in system settings , running sudo apt-get install nvidia-current (which should driver 367), , both lead login loop on reboot. have tried install driver 361, same issue. i have tried suggested here: ubuntu gets stuck in login loop , permissions not problem, have uninstalled , reinstalled lightdm, again no help. believe have tried can find @ point, appreciated. edit: have run sudo apt-get purge nvidia* , reinstalled, fresh install of ubuntu 16.04, did not edit: have tried switching gdm3 (different error), caused different error, did not resolve issue. also, running sudo apt-get i

networking - Setting Up Reverse Proxy on Ubuntu - Ask Ubuntu

i have 2 ubuntu 16.04 (lts) instances on amazon ec2. on same virtual private cloud. have lamp installed on both , able call web page on 1 web page on other. centos, edit /etc/httpd/conf/httpd.conf , append following line proxypass /app1/ http://10.0.1.27/ then, after restart apache sudo service httpd restart i can enter following code, on web page of current server <li><a href="/app1/whatever.php">whatever</a></li> and web page whatever.php, on server private ip 10.0.1.27, displayed on browser when click whatever button. however, ubuntu not have /etc/httpd/conf/httpd.conf file. i tried setting reverse proxy outlined here , entered following in /etc/apache2/sites-available/proxy-host file. <virtualhost *:80> serveradmin webmaster@localhost documentroot /var/www/html/ errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined proxypreservehost on # servers proxy connection, or #

software installation - I installed Telegram but I can't see it in Ubuntu - Ask Ubuntu

i installed telegram through terminal in ubuntu 16.04 can't see in app launcher. used these commands install it: sudo add-apt-repository ppa:atareao/telegram sudo apt-get update sudo apt-get install telegram also tried install through : sudo add-apt-repository ppa:noobslab/apps sudo apt-get update sudo apt-get install telegram-desktop but shows: reading package lists... done building dependency tree reading state information... done telegram newest version (0.10.16-0ubuntu0). 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded. simply open dash, type telegram. if encounter issue telegram couldn't open desktop version, instead launch web version. run following command : /opt/telegram/telegram this should make telegram desktop version appear on ubuntu dash.

weird character appeaaring when connecting another server over ssh on ubuntu 16.04 LTS - Ask Ubuntu

the following string appears in terminal: ]133;c;]133;d;0]1337;remotehost=root@ubuntu.letbox.com]1337;currentdir=/root]133;aroot@ubuntu:~# ]133;b it seems tell me current directories along weired characters ]1337 . idea how solve this? thanks. this caused setting iterm2 shell integration per http://www.iterm2.com/documentation-shell-integration.html . check see if .iterm2_shell_integration.bash being sourced .bash_profile. happened me logging ubuntu server, fixed removing ~/.iterm2_shell_integration.bash. also noted here: https://unix.stackexchange.com/questions/292042/how-to-fix-shell-prompt-ps1-after-remote-login

What commands can be used to control GUI buttons? - Ask Ubuntu

i came idea useful computer program, mean have know how bash commands used "click" on gui buttons. know anywhere can find list of explanations on how or examples me started? the tool xdotool (command-line x11 automation tool) description xdotool lets programatically (or manually) simulate keyboard input , mouse activity, move , resize windows, etc. using x11's xtest extension , other xlib functions.

16.04 - Ubuntu Virtualbox screen unsuable - Ask Ubuntu

Image
i'm trying boot ubuntu iso on virtual machine installed win 7 on virtualbox , have graphics error making screen unusable. i tried change several settings in virtualbox nothing works. how can fix it? it's bug. hit these keys: right-control -f1, right-control -f7 fix display.

indicator - How can I un-check "Coming events from Evolution Calendar" in Time & Date? - Ask Ubuntu

Image
i un-check following option show events evolution calendar in time & date indicator grayed out. evolution not installed on system. the indicator regarding question called indicator-datetime , following command should disable showing upcoming events: gsettings set com.canonical.indicator.datetime show-events false this setting found via dconf-editor , can recommend has search option.

scripts - How can I track time from the command-line? - Ask Ubuntu

i looking command track time. i imagine following workflow: run command ...do else... return terminal window , stop command as output receive time elapsed between 3 , 1 this answer suggests use time cat and use ctrl - d see time. you can use time read and use enter key also check this answer on same question

boot - Grub won't install - Ask Ubuntu

Image
i'm trying install ubuntu dell xps. have existing windows 10 install on it, i'd prefer not loose. have empty partition of 400 gb. however, grub keeps failing install. also, bootloader appearantly broken now, can't boot hard disk @ @ moment. what's i've done far: i tried install ubuntu 16. fail on grub install. after getting error message , prompt 3 options on how proceed, installer crash. read ubuntu 14 might me around issue. i booted ubuntu 14 disk, , set install ubuntu 14 same partition had attempted install ubuntu 16 to. grub still failed install same error message. but, installer didn't crash time. i rebooted machine ubuntu 14 disk, loaded ubuntu in live mode , ran boot-repair. gave me several commands run, still fails when attempts install grub. the error message is: also, on command line saw these messages: installing i386-pc platform. grub-install: warning: attempt read or write outside of disk `hostdisk//dev/sda'. grub-i

permissions - Restrict access to everything but some files - Ask Ubuntu

so want setup user account can open firefox (without internet connection, localhost php script can upload image php script (so var/www/html/ should writeable think) also need able make photo webcam application , save desktop example. explanation in short: user makes photo webcam, , open firefox upload http://www.coolphptools.com/color_extract#demo php script (which setup apache2 in var/www/) see colors photo contains. user has do. but not want user access else. no settings, not delete (if possible) no looking around in other directories or files. i have administrator account set password. other user shouldnt able else making picture webcam , running firefox , uploading image there script. is @ possible? this project real life gaming event. dont want idiot mess computer deleting wrong files or anything. there way this. , if not best solution make safe possible? thought ubuntu choice because can run php apache2 , think has lot of possibilities setting secure account. can

grub2 - Unable to enter Windows 10 boot loader from GRUB after 'installing' Ubuntu 16.04 LTS - Ask Ubuntu

i succeed in updating grub menu shows windows 10 boot loader. however, if select windows boot, screen turn black , turn grub background color frozen, i'm unable start windows. i did encountered before in friend's machine, fix disabling uefi, grub can boot windows mine different, see no such options related uefi in bios settings. i know how restore/edit windows bcd, since use ubuntu default os, don't want press enter twice (windows boot menu --> grub --> ubuntu) every time want boot ubuntu. this results.txt after executing boot info script: http://pastebin.com/7rp0lfky (from sourgeforge ) http://pastebin.com/7rp0lfky (from github ) http://pastebin.com/5egujvjt (from github) i find solution today, isn't related bios/uefi rather graphical/non-graphical user interface: disable grub2 graphical interface , works. step 1: edit file /etc/default/grub (as super-user), add (or uncomment) following line # uncomment disable graphical termina

16.04 - urn:acme:error:unauthorized :: The client lacks sufficient authorization error. Let's Encrypt + Nginx + Phusion Passenger - Ask Ubuntu

i have meteorjs app running on digital ocean server (using nginx). have followed this tutorial install let's encrypt certificate on domain, failed on command: sudo letsencrypt certonly -a webroot --webroot-path=/var/www/html -d luludeals.com -d www.luludeals.com i error: failed authorization procedure. www.luludeals.com (http-01): urn:acme:error:unauthorized :: client lacks suffic ient authorization :: invalid response http://www.luludeals.com/.well-known/acme-challenge/afx6b3zoxam1ar0zxyw koubvlesqzraa3ut551_u3ms: "<!doctype html> <html> <head> <link rel="stylesheet" type="text/css" class="__meteor-css__" href="/462460ddb68331f2c370d7afc3d", luludeals.com (http-01): urn:acme:error:unauthorized :: client lacks sufficient authorization :: invalid response http:/ /luludeals.com/.well-known/acme-challenge/qfloxvn5szazgzvwi-usltqx4bxl7vxqpymv5i72kp0: "<!doctype html> <html> <head>

Nginx server installs fine, but then doesn't do anything - Ask Ubuntu

i have fresh install of ubuntu lts 16.04 server, being hosted on amazon. according instructions on web , installing nginx easy: apt-get install nginx sudo systemctl enable nginx sudo systemctl start nginx at point, according instructions i've seen, should able open browser, go ip address, , see default " welcome nginx " page. but when open browser , go ip address, no response @ all. if try access ip address command line see if can more verbose output, response: $ wget --verbose http://###.###.###.###:80 --2016-11-11 00:26:57-- http://###.###.###.###/ connecting ###.###.###.###:80... failed: connection timed out. retrying. there nothing in access.log , there 1 line in error.log : 2016/11/10 08:03:41 [notice] 30097#30097: signal process started and used ufw open port 80: to action -- ------ ---- 80/tcp (nginx http) allow in anywhere why nginx not doing anything, , how show defaul

Cloning illegal multicast eth0 MAC addresses - Ask Ubuntu

i want clone "illegal" multicast eth0 mac address ( forbidden numbers ) on ubuntu 16.04 xenial in order use legal (and paid for) development license design package x. i've gone through obvious ways of spoofing (ifconfig up, down, macchanger here, network manager there...) , have had great success unicast addresses, i'm stuck now...any suggestions on how circumvent/force ubuntu kernel ? you recompile patched kernel without limitation, recommend take step , determine how package x obtain mac address. you don't need forge mac address, output of whatever package using obtain (eg. providing fake ifconfig ).

Vim editor, how can I save a file in other directory - Ask Ubuntu

i'm new in world of ubuntu , vim editor. question is: how can save file on localhost using vim? when use command :w save file, where? , how can change file location /var/www/ ? you can enter :pwd display current working directory. file saved if enter :w filename . can change working directory :cd path/to/new/directory . or can enter full path location want save file write command, e.g., :w /var/www/filename .

apache2 - phpmyadmin not working anymore since switching to php7 - Ask Ubuntu

the problem seems this: phpmyadmin not working due missing extensions but have php-gettext installed, still it's not working. log says this: [fri nov 11 00:22:06.899944 2016] [:error] [pid 19641] [client 93...:53244] php warning: require_once(): open_basedir restriction in effect. file(/usr/share/php/php-php-gettext/gettext.inc) not within allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/) in /usr/share/phpmyadmin/libraries/common.inc.php on line 77 [fri nov 11 00:22:06.900007 2016] [:error] [pid 19641] [client 93...:53244] php warning: require_once(/usr/share/php/php-php-gettext/gettext.inc): failed open stream: operation not permitted in /usr/share/phpmyadmin/libraries/common.inc.php on line 77 [fri nov 11 00:22:06.900027 2016] [:error] [pid 19641] [client 93...:53244] php fatal error: require_once(): failed

wine - E: Package 'wine1.5' has no installation candidate - Ask Ubuntu

i'm trying install wine but i'm getting error: e: package 'wine1.5' has no installation candidate and ideas? there isn't package named wine1.5 in supported version of ubuntu. in ubuntu 14.04/16.04/16.10: sudo apt-get install wine1.6 in ubuntu 12.04: sudo apt-get install wine1.4 alternatively in ubuntu 16.10 can run: sudo apt-get install wine-stable if search wine in software application, may find multiple versions of wine available. before install wine, windows app want run in wine application database find out if app requires specific version of wine.

16.04 - How to find UUID for setting up LUKS with keyfile protection for external drive - Ask Ubuntu

i have external drives setup luks + password. increase security password + keyfile. internal storage seems trivial i'm not sure how approach external drive. /dev/sdx seems poor choice external drives , can't find uuid usb-drive. i've tried: blkid - gives uuid local luks drives e.g. `/dev/sdc1' not of external drives luks the sudo dmsetup deps -o devname returns drives e.g. (sde) , (sdc1) no uuid. cat /proc/mounts gives me luks mappers mounted not more detailed. i've tried unmounting drive didn't , drive seems still mapped in /dev/mapper using lsblk suggested alexp the lsbslk output give uuid isn't trivial interpret: name maj:min rm size ro type mountpoint name mountpoint uuid sda 8:0 0 477g 0 disk sda ├─sda1 8:1 0 512m 0 part /boot/efi ├─sda1 /boot/efi f2bb-f970 ├─sda2

boot - problem running ubuntu - Ask Ubuntu

i installed ubuntu 14.04 lts live dvd under windows 7. first time prompt retrieve live dvd did it; computer restarted, displayed no live files found. restarted inserted live dvd again. installation has completed successfully. everytime run ubuntu displays completing ubuntu installation; , runs dvd plugged in though supposed run without dvd. how can solve issue. are installing onto other drive? if that's case go bios, or boot-menu, , change booting order. should directed grub menu , should show ubuntu , windows, option kernels. it's sounds not loging in onto session on ubuntu, might because ussing running ubuntu livedisk.

dual boot - How do I reinstall ubuntu from 32 bit to 64 bit? - Ask Ubuntu

what did in mess i'm new ubuntu convert , tried dual booting lenovo ideapad 100 ubuntu gnome , windows 10. turns out failed, installed ubuntu in legacy mode because way laptop let me. didn't delete windows partitions windows 10 can't boot now, guess need reinstall in legacy mode (how do that? being able use old partitions great too). installing ubuntu 32 bit 64 bit another problem have installed ubuntu gnome 32 bit version, thinking couldn't use 64 bit version called amd64, because have intel processor( later did realize can, , should've installed that). looked around , found can somehow upgrade in terminal, reinstalling better , less hassle. being clean install don't mind reinstalling, how supposed that? ( + i've flashed needed 64 bit image on usb) additional here's boot info if helps: http://paste2.org/a0zx9f7m chances windows installation intact , bootable not booting because you've activated firmware's compatibil

networking - Issues with browsing local network 16.10 Ubuntu-Mate - Ask Ubuntu

i unable correctly browse local network. show can not drill down or connect. http://imgur.com/a/oxosv i'm running 16.10, on previous version have been able browse nas. asked login , folders , files available if on pc. able browse windows shares. able see network printer , router @ least point of seeing these devices connected network. can connect ftp server on nas , can print network printer. can see or use stuff in caja. this conflict local adresses well-known in linux world, , caused fact .local domain reserved avahi demon , avahi interferes ms-like networks. the simplest solution be: open avahi configuration address /etc/avahi/avahi-daemon.conf uncomment line #domain-name in [server] section , set .alocal instead of .local : [server] domain-name=.alocal restart avahi sudo service avahi-daemon restart flush dns cache sudo /etc/init.d/nscd restart

internet - How can I synchronize the volume between two laptops? - Ask Ubuntu

i have 2 laptops on desktop. both connected lan, 1 via wireless , 1 via ethernet. when turn volume on 1 laptop, i'd turn on other. how can this? i'm not aware of way automatically, i'll give few ideas might closer. using synergy ( http://symless.com/download-synergy-for-free ) allow move mouse between 2 laptops seemlessly wouldn't have switch computers them in sync, you'd use 1 of laptop's mice , cursor move on other laptop. alternatively, if need them sync'd, have write custom code communicate. haven't used personally, sync sound on multiple computers might place start.

How do I connect another computer with only an ethernet cable? - Ask Ubuntu

this question has answer here: share wireless internet connection through ethernet 1 answer how connect 2 laptops ethernet patch cable share files 1 answer i connect computer ubuntu 16.04 lts laptop , share internet connection. how do set up?

16.04 - VLC will not install - Ask Ubuntu

this question has answer here: e: unable correct problems, have held broken packages 4 answers trying install vlc 16.04 sudo apt update sudo apt install vlc this getting the following packages have unmet dependencies: vlc : depends: vlc-nox (= 2.2.2-5) 2.2.4-6~ubuntu16.04.1~ppa1 installed recommends: vlc-plugin-notify (= 2.2.2-5) not going installed recommends: vlc-plugin-samba (= 2.2.2-5) not going installed e: unable correct problems, have held broken packages. thanks help... these resolutions failed installs of default packages repository. $ sudo apt update $ sudo apt upgrade $ sudo apt install -f $ sudo apt install vlc the commands above works because depends in repository , needs sure have latest updates , upgrades of packages.

backlight - Brightness stucked on max - Ask Ubuntu

my brightness stuck on max. when try decrease keyboard, brightness' ui tells me brightness decreasing, visually doesnt happens. tried change directly in backlights files, didn't worked. i'm on notebook, ubuntu 15.04. tried reinstall ubuntu, change os, problem doesnt disappear. can me?

16.04 - sysctl: cannot stat /proc/sys/vm/bdflush: No such file or directory - Ask Ubuntu

i wanted make adjustment vm settings in ubuntu 16.04, following option wouldn't work saying bdflush file doesn't exist. removed in ubuntu 16.04? added vm.bdflush setting => /etc/sysctl.conf: #improve file system performance vm.bdflush = 100 1200 128 512 15 5000 500 1884 2 $ echo "100 1200 128 512 15 5000 500 1884 2">/proc/sys/vm/bdflush bash: /proc/sys/vm/bdflush: no such file or directory $ sudo sysctl -p sysctl: cannot stat /proc/sys/vm/bdflush: no such file or directory

console - ubuntu 16.04 force serial terminal speed - Ask Ubuntu

i'm not able keep fixed speed on serial terminal /dev/ttys0. use: stty -f /dev/ttys0 115200 root@ubuntu:/# stty -f /dev/ttys0 -a speed 115200 baud; rows 24; columns 80; line = 0; intr = ^c; quit = ^\; erase = ^?; kill = ^u; eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^q; stop = ^s; susp = ^z; rprnt = ^r; werase = ^w; lnext = <undef>; discard = ^o; min = 1; time = 0; -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc apparently, changed. however, when start sending few characters through serial port (i 100% positive use 115200, verified connecting windows com port), ubuntu terminal changes automatically 9600 again! stty -

List available ffmpeg versions on 14.04 - Ask Ubuntu

ubuntu 14.04 server here. want see versions of ffmpeg available download. can run apt-cache policy <packagename> this, because ffmpeg excluded official ubuntu repos of 14.04, command doesn't work. i typically install ffmpeg following commands: sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install ffmpeg but doesn't give me control on version gets installed. so ask: on ubuntu 14.04, how can preview list of available ffmpeg versions available, , how specify particular version? please note: not same answer packages/libs exist in ubuntu repos, because again, ffmpeg isn't in them. to list available version can following command. apt-cache search ffmpeg | grep version to install specific version, syntax follows. apt-get install ffmpeg=<version> where <version> should replaced version string above command. edit if apt-cache search ffmpeg | grep version not r

networking - Network LAN manual - Ask Ubuntu

i have few problems lan ethernet. laptop shall nfs server small board, pi. right operating gui network manager , set fix ip enp3s0 (why not eth0 ???). as metric seems higher wlan, moment don't have connection internet. not network guru, found after several hours - helps change routing way: sudo route add -host <ip board> (192.168.3.102) dev enp3s0 sudo route del -net 192.168.3.0 netmask 255.255.255.0 dev enp3s0 that has few drawbacks. ethernet setting disappears lan connection off, takes while until connection re-established. know, testboard repowered ;) even worse is, have type routing commands again , again. 2 questions: how can setup ubuntu 16.04 such lan keeps setting if not wired? (read networkmanager.conf, ignore-carrier seems not valid setting). where , how can make routing information static, don't have type in again , again? routing table after connection lan of laptop board is: default 192.168.3.1 0.0.0.0 ug 100

nautilus - Photo & Video Viewer Similar to Android's Gallery App - Ask Ubuntu

are there ubuntu programs can view folder's videos , photos in 1 integrated viewer in same way android's gallery app functions? with nautilus have browse photos separately, , browse videos in separate video software. however, since videos taken @ same time photos, able view them in sequence. ubuntu's own shotwell application can display both pictures , videos. load pictures normal. use "import folder" include videos folder... don't choose copy video files, choose import in place.

How to Clean USB Pendrive with installed ubuntu gnome 16.4 encrypted (with passphrase) that wont mount - Ask Ubuntu

i installed ubuntu gnome 16.10 or 16.4 on usb pqi mini 16gb, encrypted , have passphrase. after few launches crashed, liked ubuntu , installed on ssd. when want clean pqi mini old system cant mount it... here checks: sudo dmesg | tail -20 [116206.287030] usb 2-1.2: usbfs: process 5543 (threadweaver::t) did not claim interface 0 before use [116206.368385] usb 2-1.2: reset high-speed usb device number 4 using ehci-pci [116206.572295] usb 2-1.2: reset high-speed usb device number 4 using ehci-pci [116206.690825] usb 2-1.2: usbfs: process 5543 (threadweaver::t) did not claim interface 0 before use [116206.772265] usb 2-1.2: reset high-speed usb device number 4 using ehci-pci [116206.886786] usb 2-1.2: usbfs: process 5548 (threadweaver::t) did not claim interface 0 before use [116206.886831] usb 2-1.2: usbfs: process 14167 (pool) did not claim interface 0 before use [116206.886851] usb 2-1.2: usbfs: process 5549 (threadweaver::t) did not claim interface 0 before use [116206.88688

command line - I am trying to create an alias to run an application. Is there away to bypass creating an alias just to change directories? - Ask Ubuntu

this question has answer here: how run scripts without typing full path? 8 answers i new linux , want create alias run application. currently, access via terminal typing: cd /usr/local/bin packettracer is there way can pass creating alias change directories? want able type pt example terminal , instantly run, rather typing 2 separate commands. thank in advance! when type echo $path should see /usr/local/bin in path , there no need change directory in first place. can run executable typing packettracer - there no need cd it. even if not in path, don't need change program's / script's directory separate command; can run prefixing executable's name full path, in case: /usr/local/bin/packettracer therefore alias can be: alias pt='/usr/local/bin/packettracer' or even alias pt='packettracer' before setting

ubuntu touch - How to access to "platform-api"? - Ask Ubuntu

i trying develop user space code following platform : nexus 5 + ubuntutouch + ubuntu 15.04 vivid can access "platform-api" functions of operating system? , how? the short answer of these sorts of apis usable, exposed @ higher level via qml sdk. not apis usable in production apps wish ship in store, however, due security , privacy concerns , restrictions in system. if aren't planning release app ubuntu store , can use of apis wish, may need install additional packages in build environment, in order build app. need declare security profile unconfined (this result in app being flagged manual review if attempt upload ubuntu store site, , it's unlikely such app approved).

command line - Skype won't install from terminal! - Ask Ubuntu

this question has answer here: how install skype? 17 answers for reason won't let me install skype! looked @ link how install skype in ubuntu 16.04 typed these: sudo apt update sudo apt install skype and got these error messages: reading package lists... done building dependency tree reading state information... done e: unable locate package skype thank help! install new version, lot better ancient 4.3 version. not support video calls @ moment (unless both using skype linux alpha), else has been working me. 1. download deb here . 2. double click install it.

language - Unexplained Langauge Changing - Ask Ubuntu

this question exact duplicate of: keyboard layout/language changes in every boot 2 answers i'm have keyboard switch mode switch british english american english while typing (or more have system loadedd doing normal things) , i'm unable identify cause. this can fixed clicking on scrabble tile language (top right) , reclicking on en (it still says english before click) - i'm curious going on. has encountered (and solved) before? in version of ubuntu (16.04) can left click , select parameters (not sure if correctly translated menu item) - there can see layouts , combination layout switch. 1 can add/remove layouts dialog. asking?