Posts

Showing posts from March, 2012

cloud - getting randomly generated passwd for Ubuntu 16.04 cloudimage - Ask Ubuntu

i having hard time getting supposedly randomly generated passwd amd64 qcow2 image here: https://cloud-images.ubuntu.com/releases/16.04/release/ i found (perhaps outdated?) instructions here: https://help.ubuntu.com/community/uec/images things seem have changed, , don't see line in console output, , ctrl-alt-3 serial console doesn't work me (i entered via virsh console vm_name). you can use libguestfs-tool clear root passwd. sudo apt install libguestfs-tools virt-edit -a disk.img /etc/passwd -e 's/^root:.*?:/root::/' see http://libguestfs.org/guestfs-recipes.1.html under "remove root password (linux)" but why can't ubuntu put decent page on how use cloudimages novices???

Cannot boot Windows 10 after installing Ubuntu (Windows OS is still there, Ubuntu is on separate partition) - Ask Ubuntu

i installed ubuntu 16.04 on 64 bit system. had separate partitions windows 10 , 1 older linux version installed, deleted linux partition , created new 1 same size. installed ubuntu using installer, no issues. however, needed boot windows, returned "the boot configuration files cannot found". booted ubuntu , checked hard drive, windows , stuff still there, didn't touch other partition @ all, messed related booting. here's i've tried: used windows recovery disc (windows 8 one, updated 10 that) access cmd. followed various online tutorials, did bootrec /fixmbr , bootrec /fixboot no errors, bcdboot c:\windows returned "failed when attempting copy boot files" got onto ubuntu, used boot-repair utility attempt fix issue. able use update-grub, detected 2 (not sure why it's 2 either way) windows installations. boot repair completed, , on startup 2 windows installations listed in grub menu. however, neither of them worked, same problem before.

Wallpaper slideshow software that supports changing image size - Ask Ubuntu

i've found several software applications create slideshows, i've yet see 1 support changing image size (i.e. fit, stretch, fill width, fill height). there software supports this? introduction here's thing: if run in terminal dconf watch / , @ same time flip through options in ubuntu settings wallpaper size ( tile, scale, zoom, etc.) see this: /org/gnome/desktop/background/picture-options 'zoom' /org/gnome/desktop/background/picture-options 'wallpaper' /org/gnome/desktop/background/picture-options 'centered' /org/gnome/desktop/background/picture-options 'scaled' /org/gnome/desktop/background/picture-options 'stretched' /org/gnome/desktop/background/picture-options 'spanned' what mean ? means if have software can flip through wallpaper, should able flip through options, right ? well, i've written wallpaper slide-show script time before . in past had required options. specific question,

grub2 - Resolution Problem Using Ubuntu on a Dell Monitor - Ask Ubuntu

this question has answer here: ubuntu 16.04 unable boot gtx 1080 [duplicate] 7 answers graphics issues after/while installing ubuntu 16.04/16.10 nvidia graphics 12 answers i having trouble running ubuntu on custom made desktop (some specs below). problem @ point monitor shuts off , gives me message: the current input timing not supported monitor, please change input timing 1920x1200@60hz initially having problem during installation, when first purple screen come hit down arrow , set nomodeset , added "vga=0x14d" end of command. allowed me continue without getting above error on monitor. once installation complete edited /etc/default/grub include line: grub_gfxmode=1920x1200 then entered: sudo update-grub and restarted computer. when grub screen, fine after

apache2 - After lamp install, can't run php scripts on localhost - Ask Ubuntu

i followed tutorial install lamp: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu at step 4: see php on server, told following: first create new file: > sudo nano /var/www/info.php add in following line: <?php phpinfo(); ?> then,i should see page lots of information, when type in localhost/info.php but page white. no error message. if type in localhost/index , apache2 ubuntu default page loads. later, moved info.php /var/www/html page still white. at point, i'm clueless. suggestions fix problem? first of all, rather create public_html folder in user's home directory mkdir public_html by default, php scripts in user directories disabled. in other words need enable them. instructions, seem have php5 installed. enable php scripts in user directories, edit /etc/apache2/mods-available/php5.conf file root. in case did sudo vim /etc/apache2/mods-available/php5.conf when f

xorg - No GUI when I boot Ubuntu - Ask Ubuntu

when start laptop gnu/grub boot loader asks me select os. when select ubuntu screen asks me password, type in loading screen. if press ctrl+alt+f2 command line interface works fine. can't gui work though. can do? try this: assuming unity has been misconfigured or gone wrong. try below steps: login ubuntu. open terminal hitting ctrl + alt + or in case ctrl + alt + f2 run command: gconftool-2 --recursive-unset /apps/compiz-1 unity --reset restart, should work. ref: how reset unity configuration?

16.04 - monitor isnt fullscreen - Ask Ubuntu

i have been fighting ubuntu 16.04, 3 days , don't it, i'm using gnome , can't reach 1920x1080 res. xrandr: screen 0: minimum 8 x 8, current 1024 x 768, maximum 16384 x 16384 dvi-i-0 disconnected (normal left inverted right x axis y axis) vga-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.00*+ 1360x768 59.96 59.80 1152x864 60.00 800x600 72.19 60.32 56.25 680x384 59.96 59.80 640x480 59.94 512x384 60.00 400x300 72.19 320x240 60.05 dvi-i-1 disconnected (normal left inverted right x axis y axis) hdmi-0 disconnected (normal left inverted right x axis y axis) lspci -v : https://paste.ubuntu.com/23375255/ for have problem, solved force xorg load edid, the way can found monitor edid it works me, hope can use it! hf & gl!

How to install nvidia-modprobe - Ask Ubuntu

i having problems installing nvidia-modprobe in fresh install of ubuntu 16.04. please directions have no idea how this. i cant see download link on https://launchpad.net/ubuntu/+source/nvidia-modprobe there's no need manually download anything, since package available in ubuntu software repositories. (in general, it's preferable install packages repositories instead of manually downloading , installing them separately, unless have compelling reason second way.) instructions: first open terminal window ( alt + ctrl + t ). now we'll make sure "multiverse" repository enabled. type following terminal window: sudo apt-add-repository multiverse and refresh system's package lists ubuntu servers typing: sudo apt update now should set install "nvidia-modprobe" package, can accomplished typing: sudo apt install nvidia-modprobe note : if prompted sudo password, type own user password ubuntu. please let me know if helpful or

16.04 - Problem with software-properties-gtk - Ask Ubuntu

after update got error when try start software-properties-gtk: ~ /usr/bin/software-properties-gtk /usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gdk imported without specifying version first. use gi.require_version('gdk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib /usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py:40: pygiwarning: gtk imported without specifying version first. use gi.require_version('gtk', '3.0') before import ensure right version gets loaded. gi.repository import gobject, gdk, gtk, gio, glib traceback (most recent call last): file "/usr/bin/software-properties-gtk", line 37, in <module> softwareproperties.gtk.softwarepropertiesgtk import softwarepropertiesgtk file "/usr/lib/python3/dist-packages/softwareproperties/gtk/softwarepropertiesgtk.py

How to fix CVE-2016-5195 on ubuntu-server 14.04.2 LTS - Ask Ubuntu

there problem bug cve-2016-5195 fixed following this guide , used commands: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade after that,i rebooted server, , version of system ubuntu 14.04.5 lts. then, followed this guide test bug, found bug still exists. how mitigate this? here output kernel version: root@ubuntu:~# uname -r 3.16.0-30-generic as suspected , comments confirm, you're using old "hwe" update hasn't been supported long time. need upgrade. in case you're not sure i'm rambling on about, long term support (lts) releases of ubuntu have update packs add new hardware support bundling kernel , x stack of newer ubuntu releases. in case linux 3.16 in utopic (14.10). bundled 14.04.2. was supported long main release of utopic, means it's been end-of-life since july 2015. erk. you have few options: upgrade the latest hwe 14.04, 14.04.5 , based on 16.04 xenial , supported until april 2019. that's usin

using bash and curl to send file from server to client - Ask Ubuntu

so trying solve lab on deterlab.net. cant figure out how create bash file curl instruction in order created web traffic stream between client , server nodes writing script @ client each second gets index.html server. full purpose of lab create dos attack , flood created traffic after. attacking part can manage bash file curl cannot.this have far: #!/bin/bash # traffic between client , server x=1 = 1000000 while [ x < a] curl -o index.html https://localhost/2389 x =x + 1 done can please me ? leverage c-style for looping construct: #!/bin/bash ((x=1; x<1000000; x++)); curl -o index.html https://localhost/2389 done in ((x=1; x<1000000; x++)) : x=1 initializes x 1 x<1000000 condition, loop run long x less 1000000 x++ increments x adding 1 after each run of loop you have syntactic mistakes: to refer value of variable, need $variable i.e. put $ in front, desired have quoting around prevent word splitting , glob expansion: &qu

What happened to the "Create Link" feature in Nautilus in Ubuntu 16.10? - Ask Ubuntu

Image
i upgraded 16.04 16.10. i surprised see context menu entry "create link" no longer exists. it used appear upon right mouse click on folder or file , allowed user create symbolic link. the feature still exists ... has activated. open nautilus , go preferences -> behavior . enable show action create symbolic links option here. have create link context menu entry in nautilus.

12.04 - Install on Second Hard Drive with startup boot option? - Ask Ubuntu

Image
in theory, want simple, i've done google research , read posts on site , i'm still confused. i want keep win7 on primary c:\ drive, , install ubuntu (12.10) on secondary drive (that have yet buy or install. want i'm successful when this). if @ possible i'd if when start computer have option boot either win7 or ubuntu, account log in type thing pick drive i'm running day. , reiterate, not want partition c:\ drive or alter, change, or affect win7 system in way. the reason i'm still uncertain of this, lot of guides i've read have been earlier versions of ubuntu. vast majority of guides partitioning 1 drive fit both os'. want 2 separate os running 2 separate drives can pick @ boot. guides did find mentioned there issue grub being installed on c:\ rest of os being installed on other drive. still case? how avoid that? also, if helps, i've been running 12.04lts on laptop few months in , out of class , love it. finally, if please point me guide

wireless - How do I get Mediatek MT7630E 802.11bgn Wi-Fi Adapter working? - Ask Ubuntu

it worked pre-installed ubuntu, after re-installing ubuntu dual-boot windows 8.1, wifi not working. is there driver adapter work on ubuntu 12.04? open terminal ( ctrl + alt + t ), run following commands: sudo apt-get install git build-essential git clone https://github.com/neurobin/mt7630e.git cd mt7630e/ chmod +x install test uninstall sudo ./install works charm me (asus tp300ld).

kernel - Why disabling "Secure Boot" is enforced policy when installing 3rd party modules - Ask Ubuntu

when installing 16.04 , asked turn off " secure boot " if wanted install 3rd party modules/drivers . i did not comply. and when installed manually 3rd party drivers use ( bcmwl-kernel-source ), asked again (during installation of package) turn off "secure boot". using bcmwl-kernel-source fine secure boot in 15.10 . not seem related bug me. so ubuntu refuse sign anymore 3rd party drivers/modules make work (??) "secure boot". or seem consider 3rd party modules insecure , breaking "secure boot" hence inforcing disable make clear ?? right ? this not bug, feature. as anthony wong says, when install dkms package compiling package yourself, thus, canonical cannot sign module you. however, can use secure boot, use case secure boot trying protect because cannot know whether trust module or don't. by default , there platform key (pk) on uefi machine, trusted certificate authority loading code in processor. grub, or shim,

google chrome - Color mismatch in image viewers - Ask Ubuntu

Image
here same image open in chrome, feh, , ubuntu's default image viewer ( http://www.flatdesigncolors.com/assets/colors.png ). can explain happening here, how can know representation accurate, , how make appear same in different applications?

16.04 - Connecting Laptop to External Monitor with DisplayPort returns Power Saving Message - Ask Ubuntu

Image
i'm wanting connect laptop monitor using displayport, when "entering power saving" message, followed blank screen. monitor: dell u2515h laptop: asus zenbook 305 (i'm testing on dell laptop , have same issue) hdmi dp wire adaptor does mean laptop's graphics card isn't able use displayport? if connect laptop monitor using hdmi works fine, need connect through dp may daisy chain 3rd screen. how may fix it? rankie gold-plated dp displayport hdmi/display port hdmi cable have mentioned dp-to-hdmi adapter. in case, need hdmi-to-dp adapter. hdmi-to-dp adapters active converters, more expensive dp-to-hdmi adapters. you can't chain hdmi dual if convert dp. (you can't promote it, limited @ level of 1st hdmi connection) a,c&d electrically compatible single-link dvi-d . b electrically compatible dual-link dvi-d . so type b, may have passive splitter same dual-link dvi-d adapters run 2 separate monitors. references: http

drivers - No sound on Ubuntu 16.04 with realtek ALC892 - Ask Ubuntu

my problem i not sound of analog connectors. hdmi output radeon card working fine when select in pavucontrol. all jacks showing (unplugged) in pavucontrol wether cable plugged in or not. this not fresh install, encounter same problem when booting live disk. my hardware: asus m5a99fx pro r2.0 amd radeon 7950 i'm running xubuntu 16.04. some info you can find alsa-info.sh output here: http://www.alsa-project.org/db/?f=6dd562654110341b541e4169680a9bff855a159d lspci -v | grep -a7 audio 00:14.2 audio device: advanced micro devices, inc. [amd/ati] sbx00 azalia (intel hda) (rev 40) subsystem: asustek computer inc. sbx00 azalia (intel hda) flags: bus master, slow devsel, latency 32, irq 16 memory @ feb00000 (64-bit, non-prefetchable) [size=16k] capabilities: <access denied> kernel driver in use: snd_hda_intel kernel modules: snd_hda_intel -- 01:00.1 audio device: advanced micro devices, inc. [amd/ati] tahiti hdmi audio [radeon hd 7870 xt / 7950/7970] subs

How can I set up cron so it stores its output locally for me to read with mail? - Ask Ubuntu

i have cronjob setup on machine. sometimes, job misbehaves. i'd read output locally mail unix program. if attempt run mail , command-not-found suggests install mailutils , , when do, ubuntu starts wonderful journey setting actual smtp server. eeeeek! i want "mail" sit in /var/spool or whatever. how can achieve this?

wireless - Broadcom STA + live USB? - Ask Ubuntu

i carry live 16.04 usb drive around use on various computers, , trying use on machine requires broadcom sta driver wi-fi card. however, since it's live usb, rebooting after using ethernet install driver... think can see problem there :) so, how can load broadcom sta driver without rebooting? the broadcom sta driver, known bcmwl-kernel-source , dependency dkms , resides on live session. should able go software , updates > additional drivers , install it. although haven't broadcom wireless device , cannot test, suspect wireless work immediately.

16.04 Server with Canonical Livepatch Service requires restart - Ask Ubuntu

i'm no means sysadmin, maybe simple oversight. isn't whole point of livepatch service prevent mission-critical servers having restart after kernel update? livepatch on google cloud compute server in question has been installed since october 18th. before installing livepatch service, performed 1 last restart. this i'm presented upon login: login as: ubuntu authenticating public key "key" agent welcome ubuntu 16.04.1 lts (gnu/linux 4.4.0-45-generic x86_64) * documentation: https://help.ubuntu.com * management: https://landscape.canonical.com * support: https://ubuntu.com/advantage cloud support ubuntu advantage cloud guest: http://www.ubuntu.com/business/services/cloud 1 package can updated. 0 updates security updates. *** system restart required *** last login: tue nov 1 09:57:46 2016 x.x.x.x if check status of livepatch service, looks fine: ubuntu@server:~$ canonical-livepatch status kernel: 4.4.0-45.66-generic fully-patched: tr

networking - Wifi doesn't work after suspend after 16.04 upgrade - Ask Ubuntu

this particular version of "doesn't work after suspend" came after upgrading 16.04. seems upgrade includes wicd applet (added metacity classic gnome task bar alongside regular network icon), doesn't seem work after suspend. sudo service network-manager restart duplicates problem. takes complete reboot wifi going again. ideas why? 16.04 runs on systemd. try following: sudo systemctl restart network-manager.service if works, can create script automate it. open terminal , type following: sudo nano /etc/systemd/system/wifi-resume.service paste script in there right click. exit ctrl + x , press y save. activate it: sudo systemctl enable wifi-resume.service script: #/etc/systemd/system/wifi-resume.service #sudo systemctl enable wifi-resume.service [unit] description=restart networkmanager @ resume after=suspend.target after=hibernate.target after=hybrid-sleep.target [service] type=oneshot execstart=/bin/systemctl restart network-manager.service

server - LDAP configuration: slap_init no backend for - Ask Ubuntu

like tag suggesting have problem ubuntu server 16.04 lts running. followed tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-a-basic-ldap-server-on-an-ubuntu-12-04-vps . output after configuration following: creating initial configuration... done. creating ldap directory... failed. loading initial configuration ldif file () failed following error while running slapadd: slapadd: slap_init no backend "dc=mydomain,dc=de" i have no clue find logs because in /etc/logs/ there not ldap folder, beginner please gentle. thx efforts. schoolguy edit: in addition failure found more specific message when typing: ldapsearch -d 1 -v -h ldap://mydomain:389 ldap_sasl_interactive_bind_s: local error (-2) additional info: sasl(-1): generic failure: gssapi error: unspecified gss failure. minor code may provide more information (spnego cannot find mechanisms negotiate) ldapsearch -x gives error ldap_sasl_bind(simple): can't con

Error: no such file or directory, ubuntu 16.04 LTS - Ask Ubuntu

i follow turorial @ https://serverfault.com/questions/550276/how-to-block-internet-access-to-certain-programs-on-linux . when create file in step 2: nano /home/username/.local/bin/no-internet, warning: no such file or dir. tried touch command still error: no such file or dir. happen? can guide me fix it? when people document install procedures, want way refer installing user's home directory. in case, he/she used /home/username/... , when $home/.local/bin/no-internet or ~/.local/bin/no-internet have been clearer. replace username username (it stored in environment variable user ), , nano /home/$user/.local/bin/no-internet or use home environment variable refer home directory ( better using /home/$user , since user home directories not required in /home . nano $home/.local/bin/no-internet

14.04 - DBUS Error on Kiosk-like Machine - Ask Ubuntu

i have ubuntu 14.04.3 mini-pc (w/latest v4 kernel) that's used digital signage controller. have 2 versions of this: 1 (that's causing trouble) , latest 1 (which works perfectly). i'm trying write update script/patch brings of ones (already in field) speed latest/working version. for both , later units, installed server flavor of ubuntu. version, installed gnome desktop environment repo graphical capabilities. on later version, installed x-windows , basic window manager beginning (no gnome, whatsoever)... learning experience, , didn't want refactor lot of proprietary code, don't laugh hard! so, version's patch/script, use apt-get remove , purge of gnome desktop environment, , install x , matchbox on again repo... basically, mimicking procedure used later version working (to best of memory). still, don't seem have right. the unit supposed show powerpoints, plays videos, show web pages, etc. only thing doesn't work video playback. that, build c

command line - Change background colour in Xterm - Ask Ubuntu

Image
i want change xterm's (not gnome terminal) background colour in ubuntu 16.04 there happens no title bar. not find xresources file. also, want colour change permanent not during session. , 1 more thing cannot execute commands during session because xterm window being launched other program (to specific program "code blocks"). please me sort out issue. xterm screenshot: i believe happened don't have one, create file named .xresources on home directory: touch ~/.xresources then add following lines .xresources file: xterm*background:(your_background_color) xterm*foreground:(your_foreground_color) see critical.ch/xterm list of colors may supported in version of xterm. you can either restart x or run xdrb command apply change have made: xrdb ~/.xresources

printing - Samsung Printer installation - Ask Ubuntu

i downloaded samsung printer file don't know how install samsunginstaller.tar.gz using gui interface please guide me. i got work on ubuntu 16.04 cinnamon desktop. installing samsung ml-2850d attached network print server (port l1). the universal printer driver downloaded samsung at: http://www.samsung.com/uk/support/model/ml-2850d/xeu on page under "useful software" there "samsung printer software installer" pictures of user friendly, gui-based, all-in-one installation wizard, if select download ubuntu pc tar file contains bash script installation of driver no readme or explanation. share pain. i sudo executed "install.sh" script in home directory using terminal interface. when asked, opted allow "automatically" configure firewall (no idea), , script completed successfully. discovered script not install printer. may firewall-ish, knows, put load of ppd files in /opt/samsung/printer/share/ppd/ directory names in format:

bash - How to resume zenity list after picking choice? - Ask Ubuntu

i have zenity list entries call different scripts. among them there scripts concatenates results other scripts. recall script can save have done. problem zenity list disappears after make choice. wonder whether there option or trick have list running can call other scripts while 1 running.

16.04 - Not all installed packages are listed in the Ubuntu Software app - Ask Ubuntu

this on 16.04 lts. my understanding ubuntu software (formerly software center) should list installed packages on system. however, mine doesn't. example, i've installed google chrome, virtualbox, , dropbox. chrome listed in ubuntu software, 2 others aren't. why this? bug or intended behavior? to list of packages installed locally in terminal: dpkg --get-selections | grep -v deinstall (the -v tag "inverts" grep return non-matching lines) to list of specific package installed: dpkg --get-selections | grep postgres alternatively, use dpkg -l ubuntu 14.04 , above apt list --installed

Cloning 16Gb USB Lubuntu drive to 16Gb Micro SD card - "no space left on device" - Ask Ubuntu

i trying clone persistent lubuntu 16.10 installation on 16gb sandisk usb memory stick sandisk 16gb micro sd card. did this: dd if=/dev/sdb of=sdimage.img bs=4m dd if=sdimage.img of=/dev/sdc bs=4m where /dev/sdb usb memory stick , /dev/sdc target micro sd card. after several hours job ended with: dd: error writing /dev/sdc: no space left on device 3799+0 records in 3798+0 records out 15931539456 bytes (16gb, 15 gib) copied, 10604 s, 1.5 mb/s so seems real capacity of micro sd card smaller of usb memory stick same nominal capacity. can recommend way of cloning o/s usb stick sd card work "smaller" sd card? the best way use gparted shrink partitions on sdimage.img file. do sudo losetup /dev/loop0 sdimage.img sudo gparted /dev/loop0 (install gparted if haven't already) edit last partition smaller.

command line - Rename files in different directories with the same name, so each has a unique (numbered) name - Ask Ubuntu

i need rename files on sd card, able copy contents of multiple sub folders hdd. first need find them extension .mod (i can using find ./path/*.mod2 , in different directories). i need rename them because have names mov001.mod , mov002.mod , in other directory other videos, named. created camera. after renaming, copy them 1 command hdd. because of actual names, when use cp ./path/*.mod new-path , result overwrite named files. how can solve this? this tiny script renames files without moving them n=0; files in dir1/*.mod dir2/*.mod dir3/*.mod; printf -v new "${files/mov*./%02d.}" "$((++n))"; echo mv -v "$files" "$new"; done or more readably: #!/bin/bash n=0 files in dir1/*.mod dir2/*.mod dir3/*.mod; printf -v new "${files/mov*./%02d.}" "$((++n))" echo mv -v -- "$files" "$new" done replace dir1 etc actual paths directories files remove echo (it's test) after checking g

16.04 - ClamAV : freshclam hangs and uses 100% CPU - Ask Ubuntu

i try update clamav database running freshclam . daily-*.cdiff downloaded successfully, process hangs. cpu maxed out @ 100%, update not finish. canceled process ctrl + c after appr. 10 minutes. here output update attempt: # freshclam clamav update process started @ tue nov 8 00:15:57 2016 main.cvd date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer) downloading daily-22474.cdiff [100%] did else observe behavior? bug or system not configured? ps: using clamav v0.99.2 on ubuntu mate 16.04. there large cdiff published older users recently. try deleting daily , daily cdiffs* , re-running freshclam. let me know if works.

16.04 - How to minimize open windows by a click? - Ask Ubuntu

to minimize open windows, use ctrl + window + d . is there icon stuff drag , drop taskbar click quicker , easier me 3 simultaneous buttons press? open system settings program, go appearance , go behavior tab, , click on add show desktop icon launcher . show desktop added dash. clicking on hide windows. clicking on again unhide them.

software recommendation - Karaoke application for Ubuntu 16.04 - Ask Ubuntu

Image
are there karaoke application available ubuntu 16.04? have found pykaraoke. the software center pretty @ finding available packages. see below: as can see, there several related packages come up. performous being top hit. believe others aimed toward creation of karaoke effects.you can install , try or of these determine of these (or combination thereof) best fits requirements.

php - Crontab -e opens new file each time I run it - Ask Ubuntu

cronjob working couple of months, until mysteriously happened , stopped. checked under user , under root, , couldnt find cronjobs. interested in, when first started cronjob sudo crontab -e , file opened had lots of comments in it. each time hit command, same file cronjobs opened me. when run each time open different blank file: /tmp/crontab.tpv8x6/crontab /tmp/crontab.fckvr2/crontab etc. why happening? able open same file on again. these temporary files created whilst crontab -e invoked (i.e. while editor still open). actual user crontabs kept in: /var/spool/cron/crontabs so can check there crontabs expect exist. these files not supposed edited directly, should continue use crontab -e edit/update cron jobs. alternatively can edit global crontab at: /etc/crontab which has 'user' field specify user under command should run.

networking - TL-WN727N V4 very slow - Ask Ubuntu

i tried installing driver official website comes same 1 installed. lshw shows firmware missing. suggestions? this output lshw *-network description: wireless interface physical id: 1 bus info: usb@1:1.4 logical name: wlx60e327143441 serial: [removed] capabilities: ethernet physical wireless configuration: broadcast=yes driver=mt7601u driverversion=4.4.0-45-generic firmware=n/a ip=[removed] link=yes multicast=yes wireless=ieee 802.11bgn ifconfig -a wlx60e327143441 link encap:ethernet hwaddr [deleted] inet addr:192.168.0.144 bcast:192.168.0.255 mask:255.255.255.0 inet6 addr: fe80::62e3:27ff:fe14:3441/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:12975 errors:0 dropped:0 overruns:0 frame:0 tx packets:12511 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:6760968 (6.7 mb) tx bytes:2321393 (2.3 m

boot - Why systemd cannot mount swap and local partitions after Kubuntu upgrade from 16.04 to 16.10 - Ask Ubuntu

i performed upgrade kubuntu 16.04 16.10 , cannot boot now, can recovery console systemd. systemd complains cannot mount swap , local partitions, because of timeout waiting device. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device: job dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device/start timed out. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: timed out waiting device dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device. -- subject: unit dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device has failed -- defined-by: systemd -- support: http://www.ubuntu.com/support -- -- unit dev-disk-by\x2duuid-0c4415bd\x2d91c9\x2d4434\x2dbace\x2dbe02ee0a8082.device has failed. -- -- result timeout. lis 10 13:16:06 marcin-hp-probook-6570b systemd[1]: dependency failed /home/marcin/kelvatek. -- subject: unit home-marcin-kelvatek.mount has f

command line - How to find resources for running a script Ubuntu server - Ask Ubuntu

if can point me direction of can learn more type of work appreciate it. have experience scripting php more , have been working on learning linux (ubuntu server cli via ssh , sftp moving files in , out of vm). trying batch process multiple images in multiple directories. using imagemagick, works on 1 file @ time. i'd run starting @ top directory , job jpg files script can find. pseudo code - for folders in directory open folder check if folder "drawings" (if !exists) {start loop over} else : open drawings folder each file in drawings if file jpg run program on (convert image.jpg -crop 713x470+5+3 output.jpg) figured out had loop-wise, needed hang of loop syntax . hope helps else out might need loop through sub-directory based on it's name. for dir in */ subdir in $pwd/"$dir"*/ if [ "$subdir" == $pwd/"$dir""drawings"*/ ] file in "$subdir&

search - How to install Elasticsearch on 16.04 LTs - Ask Ubuntu

i have ubuntu 16.04 lts on virtual box , i'd install elasticsearch in order use ruby on rails . i've done search on google on how installation, have found mutiple guides have few differences got me little bit confused, instance: installing elasticsearch on ubuntu 16.04 digital ocean: install , configure elasticsearch on ubuntu 16.04 (see @ prerequisites) how should install elasticsearch safely, without messing development environment? elastic has own guide install elasticsearch debian packages. can find on website. https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html i used 1 , works charm. elasticsearch requires java 8 or later: $ sudo apt-get install openjdk-8-jdk $ java -version openjdk version "1.8.0_111" install elasticsearch $ wget -qo - https://artifacts.elastic.co/gpg-key-elasticsearch | sudo apt-key add - $ sudo apt-get install apt-transport-https $ echo "deb https://artifacts.elastic.co/packages/5.x/

bash - Why after that I lost SSH connection during an installation I obtain this "Could not get lock /var/lib/dpkg/lock - open" error message? - Ask Ubuntu

i not linux , have following problem. i installing redmine on remote ubuntu server via ssh, following official tutorial: http://www.redmine.org/projects/redmine/wiki/howto_install_redmine_on_ubuntu_step_by_step the installation process pretty simple when performing statment: sudo apt-get install redmine redmine-mysql i lost connection...so come server reconnecting it...so perform again command obtaining error message: *** system restart required *** last login: fri nov 11 11:57:11 2016 91.253.121.46 root@betrivius-vps:~# apt-get install redmine redmine-mysql e: not lock /var/lib/dpkg/lock - open (11: resource temporarily unavailable) e: unable lock administration directory (/var/lib/dpkg/), process using it? root@betrivius-vps:~# reading online seems means prvious installation process not ended. so don't know if can retrieve in way or abort it. when log remote server appear message system restart required . don't know if message causated situation or not , don

boot - Ubuntu 14.04 on external hdd as the only hdd - Ask Ubuntu

Image
this question has answer here: how install ubuntu on portable external hard drive? 3 answers i have laptop internal hdd dead in. question how install ubuntu on new external hdd , have laptop boot without internal drive being installed. i've looked @ other questions , while similar, havent found matches. want use ubuntu run wine can play world of warcraft private (legal) server. thank in advance. the short answer is: no problem install ubuntu external hdd using standard installation process. however there several things should take in account here before do. how have determined hdd dead? in other words, sure it's irrecoverably broken? what kind of external hdd using? usb 2.0 or 3.0? laptop have usb 3.0 ports? would comfortable opening laptop replace or @ least remove broken hdd? have tried running ubuntu live usb stick , tried access files

wireless - How can I check from the command-line if my integrated Wi-Fi adapter is disabled? - Ask Ubuntu

i disabled integrated wi-fi adapter of thinkpad x230 in bios settings. still-enabled status led makes me doubt disabled. is there command prove whether or not integrated wi-fi adapter disabled? while zanna's answer correct on connection level, can check if actual device disconnected or disabled using command nmcli device status it show in color network devices either disconnected or unavailable status. while disconnected means device enabled, disconnected connection unavailable means device disabled. this output when wifi device disabled . device type state connection ttyusb0 gsm connected myisp web ab:cd:ef:gh:ij:kl bt disconnected -- enp0s29f7u5 ethernet unavailable -- enp6s0 ethernet unavailable -- hfp/org/blue

mount - How can I fix samba mounting after upgrading from 14.04 to 16.04? - Ask Ubuntu

i upgraded media server 14.04 16.04 , has broken samba mounting. had auto-mount set in /etc/fstab iirc looked (i've been messing around better part of 2 days it's hard remember has been added/removed): //eir.local/media /media/nas-media cifs username=loki,password=*****,iocharset=utf8 i've tried various iterations of fixing including sec=ntlm 0 0, sec=ntlmv2 , on, problem seems deeper this. attempt @ mounting seems end same "unable find suitable address" error: thor@loki:~$ sudo mount -t cifs -o username=loki //eir.local/media /media/nas-media/ password loki@//eir.local/media: ******************** unable find suitable address. and in log /var/log/kern.log following 2 lines (only) appear: nov 13 11:55:32 loki kernel: [263331.971834] cifs vfs: error connecting socket. aborting operation. nov 13 11:55:32 loki kernel: [263331.972092] cifs vfs: cifs_mount failed w/return code = -111 i've been browsing through many questions , answers on here coul