Posts

Showing posts from June, 2013

14.04 - Cannot open /var/log/sysstat/sa20: No such file or directory - Ask Ubuntu

i have: mona@pascal:~$ cat /etc/default/sysstat # # default settings /etc/init.d/sysstat, /etc/cron.d/sysstat # , /etc/cron.daily/sysstat files # # should sadc collect system activity informations? valid values # "true" , "false". please not put other values, # overwritten debconf! enabled="true" and then: mona@pascal:~$ sudo sar -d cannot open /var/log/sysstat/sa20: no such file or directory please check if data collecting enabled in /etc/default/sysstat can please suggest fix? ubuntu 14.04 open /etc/default/sysstat using favorite file editor , change enabled="false" enabled="true" vi /etc/default/sysstat ---- # should sadc collect system activity informations? valid values # "true" , "false". please not put other values, # overwritten debconf! enabled="true" ---- restart sysstat: sudo service sysstat restart and here are!

Monitoring updates for Ubuntu VPS - Ask Ubuntu

i running vps. once in while see critical updates have been released, go ahead , apply in environment needed. @ being reactive approach , not proactive. how guys monitor patches/updates ubuntu environments? there's number of tools notify impending package updates. use apticron . tool checks once day whether there pending updates and, if there are, sends notification mail. apticron needs mta (for example postfix) installed send mail. mails sent root , need redirect root 's mail, example alias in /etc/aliases . other similar tools cron-apt , succinctly named painintheapt . according description, painintheapt can send notifications on smtp or xmpp/jabber, don't need have mta installed.

GNU Grub problem with boot into Windows 10 winload.exe - Ask Ubuntu

is first time installing ubuntu 16.04 , when installing ubuntu alongside windows 8 , have windows 10 "uefi" mode, version of windows before 7 don't know why windows 8. when put boot mode in bios "uefi & legacy mode" grub opens , when select "windows 8" throws me error telling me winload.exe isn't in "/windows/system32/" searching on internet , don't found anything. i don't know happened pc, may because when got gnu grub error used use filling commands. may may you. think have windows 10 installed on pc , using legacy mode, follow these steps 1.insert bootable media of windows 10(if windows 10 installed else other) , boot it. 2.when see choose language box press shift +f10 keys , see command prompt opened. 3.then use these commands bootrec /fixmbr bootrec /fixboot if both commands made succefully type exit , close everything. remove bootable media.and start pc normally, , happy. hope work. reply if w...

14.04 - How to reinstall Ubuntu, but keep personal files? - Ask Ubuntu

Image
i upgrading ubuntu 14.04 lts 16.04.1 lts inside virtual box , killed installation. wish reinstall ubuntu keeping home directory. unfortunately, installer asks me strange choice: it suggests several options deletion of , 1 option keep files. option suggests have 2 versions of ubuntu installed. what means? 2 copies of program , system files? or 2 kernels? don't want 2 copies, want overwrite failed installation. backup data first . if can't boot ubuntu guest more, can boot ubuntu live dvd, select try ubuntu, , copying off files external disk or flash drive. you can reinstall ubuntu , keep existing /home directory, booting ubuntu 16.04.1 live dvd, , choosing something else , choosing existing ubuntu partition reinstall into, , unselecting format partition.

16.04 - How do I browse files on my android phone (bluetooth or usb)? - Ask Ubuntu

i have moto g4 , trying access files on ubuntu 16.04 system. if connect via usb window pop moto g (4) on top of window. hovering cursor on moto g (4) on sidebar tells me sees mtp://[usb:001,006]/ file explorer empty. the properties in window says name: moto g (4) type: folder (inode/directory) contents: nothing location: volume: mtp i able connect on bluetooth, option have bluetooth toolbar send files. might able send files operating phone, i'd able browse computer decide want pull. help i've seen online has been mixed, , seems proper methods have changed through different ubuntu releases. i'm using 16.04 lts. is phone unlocked , in mtp mode? the common advice online problem connect, pull down notification bar, tap usb connection bubble, , change mtp. in "charge only" mode, phone connects via mtp doesn't present of files. a known issue g3 (which apparently affects g4 well) mentioned here , identical symptoms: this known issue ma...

display - Ubuntu 16.04 Upgrade Lowered My Monitor Resolution - Ask Ubuntu

i upgraded 14.04 lts machine 16.04 lts. 27" monoprice lcd monitor running 2560x1440 @ 60hz on 14.04, run @ 1920x1080. displays app no longer has 2560x1440 option in dropdown. i'm running intel graphics on vga-1. i've tried adding 2560x1440_60.00 mode via xrandr , display locks up. there way fix this?

Developing Apps using Adobe PhoneGap on Ubuntu OS - Ask Ubuntu

this question has answer here: how can install windows software or games? 18 answers hi know if possible develop app using html, css, javascript , phonegap sdk on ubuntu system , uploading app on adobe phonegap build packaging native installation files ios,android , windows. all see on official adobe phonegap guide is, support os's mac , windows only. i know use cordova on ubuntu, need use adobe phonegap build packaging app. adobe doesn't release applications linux platform. so, see correct, adobe phonegap windows , mac. if must use phonegap, should consider os other linux. you may try installing in wine. wine doesn't work latest versions of softwares. so, there no guarantee helpful.

unity - Scale issues - Some windows are too big after setting scaling back - Ask Ubuntu

Image
so installed ubuntu 16.04 on laptop high resolution display worked scale factor 2. now have connected external monitor requires scale factor 1. update in system settings, , of windows scaled correctly (example: hexchat, chrome, launcher) others big (terminal, file browser): how can scale down windows? i figured out. others same issue, if want change scale mode on ubuntu 16.04 (unity), there 3 places change: system preferences > screen display > scale menu , title bars: tweak tool > fonts > scaling factor: tweak tool > window > window scaling:

boot - Have the developers of Ubuntu developed code to access the BIOS in the Toshiba Satellite P875-S7200 laptop? - Ask Ubuntu

i in process of replacing windows 7 ubuntu 16.04 lts have not found way access bios in system. unlike every machine have owned in past, dell desktops , laptops, toshiba linked bios access windows 7. in windows, must navigate start application permit me alter bios... there no access keys on bootup; annoying feature of particular product. while have set bios boot usb first, may wish change configuration security reasons in future or @ least password protect boot process. i noticed there no intelligent discourse on important issue toshiba owners @ time... hence question.

firefox - Is there a command to either open a website or focus an open browser tab? - Ask Ubuntu

i'd love able run command such firefox mail.google.com , have it: open site in new browser tab if isn't open (what calling firefox default) focus tab domain if active in browser tab is possible? didn't find in firefox command line options . yes it's possible run command in terminal. may, in cases, have specify http:// protocol. you can with: $ firefox http://mail.google.com by way, command might not go directly in mail program. credential have saved in browser. since firefox isn't default browser, in case using: $ google.com http://mail.google.com that described me since called site browser use. an alternate command correct browser is: $ xdg-open http://mail.google.com update: this commandline focus current tab or create new 1 if gmail isn't open (the first dollar sign $ command prompt. command after command prompt). $ [[ $(wmctrl -l|egrep "@gmail.*firefox") ]]&&wmctrl -a $(wmctrl -l|egrep "@...

Chromium loses cookies upon reboot? 16.04 - Ask Ubuntu

when reboot computer, chromium seems lose cookies, need log in on sites again. i need type in logins manually, if give few minutes, suggests logins , passwords. it used work in way logged in everywhere @ launch. not aware of changes i'd have done. when close chromium , launch again, works i'd to. logins lost upon computer reboot. can somehow make remember me again? thanks.

themes - 16.04: Vim colors don't match normal terminal colors - Ask Ubuntu

Image
ever since upgraded 16.04, colors in vim haven't matched colors in normal terminal regardless of color scheme give it. here's normal terminal colors: , and "normal" vim colors . i know isn't .vimrc because looks same whether have current config in home folder or not. know why be?

pulseaudio - Sound stopped working on Ubuntu 16.10, Dell vostro 5568 - Ask Ubuntu

Image
i installed ubuntu 16.10 on dell vostro 5568 laptop. working fine (good sound speakers). plugged headphones (koss) in headset connector. the audio controller on laptop realtek alc3246 waves maxxaudio pro. external interface (connector number 6, in above figure) microphone in/stereo headphones/external speakers connector. ubuntu showed popup dialog question type of device trying connect. think there 3 options. choose between microphone/headphones/headset. chose headphones. , after that, there sound headphones hours. unplugged headphones. , later tried replug headphones, there no sound headphones @ all. also, when unplugged them there no sound speakers either. i tried restart machine, did not help. muted. if open system settings->sound headphones unplugged, screenshot: when try push test sound button, there no sound either front left, or front right speaker. edit: after googling more advice, decided try reinstall alsa-base , pulseaudio sudo apt-get remove -...

partitioning - How do I merge two ext4 partitions? - Ask Ubuntu

so have 2 partitions, 80 gb partition (where installed ubuntu on) , 44 gb partition (with nothing on it), both ext4 partitions. how merge them 1 without losing data? ok, here go... first, backup of sda5! boot ubuntu live dvd , start gparted. right-click on sda9 , issue swapoff right-click on sda10 , delete it right-click on sda9 , issue move/resize place pointer in center of partition, it'll change hand icon, , move partition way left click apply icon right-click on sda9 , issue swapon right-click on sda5 , issue move/resize move partition way left, same way did before resize sda5 dragging right-side-handle way right click apply icon reboot computer

Steam/Steamcmd keeps segfaulting on Kubuntu 16.10 - Ask Ubuntu

this first question here sorry if sound dumb. i'm using kubuntu 16.10, , when try log in steam's client app crashes. trying run in terminal results in segfaulting , dumping core. same goes steamcmd. used sudo apt-get install steam steamcmd now steamcmd, can launch it, updates normally, , when try download game download 4% of , it'll segfault. output of steamcmd looks this: steam>/home/<me>/.steam/steamcmd/steamcmd.sh: line 38: 4224 segmentation fault (core dumped) $debugger "$steamexe" "$@" i'm using proprietary intel firmware microcode , proprietary nvidia drivers, it's worth. on matter appreciated. edit: reinstalled steam via apt-get, , instead of segfaulting, after initial update steam exits. trying launch again terminal results in message "couldn't find bootstrap, it's not safe reset steam. please contact technical support."

Extracting a file with ark - Ask Ubuntu

when try extract file , suggest name - no response - when try rename message -in italian - meaning ... file contains "voci con percorsi assoluti" - parametres - not supported ark- there way of fixing this- adding info etc in such way tht able open file settings > configure ark > untick "preserve paths when extracting"

networking - Using SSH when behind VPN - Ask Ubuntu

i have server (192.168.1.1) use router/default gateway. server connects openvpn , routes network through vpn before sending (encrypted) modem (192.168.1.254). have configured port forwarding ssh connections on public ip routed server. ip vpn can't used connect server. whenever disconnect vpn can access server ssh remote location when routing through vpn impossible. seems logical server tries reply different ip. what wish want server keeps routing lan traffic through vpn accepts ssh on public ip. if routing traffic modem server , modem again. specify rules on server allow ssh connections. perhaps better option ssh (22) gets routed through modem. problem can't routing modem server , again work. what tried: i found this source suggest following: ip rule add 192.168.1.1 table 128 ip route add table 128 192.168.1.0 dev eth0 ip route add table 128 default via 192.168.1.254 which feels undoing previous vpn routing have done before. whenever can still acces server remo...

grub2 - Booting into Ubuntu without Grub? - Ask Ubuntu

so, installed ubuntu dual-boot windows 10 , ubuntu. split 1tb hard drive in half 1 windows, other ubuntu. after installation of ubuntu, rebooted. pressed esc f9(way boot menu on hp devices), selected not windows hard drive, ubuntu hard drive. did way because saw nothing grub. said "no bootable device found. insert disc , try again." have done wrong? first off few words on uefi/bios boot device selection versus boot loader (e.g. grub ) selecting os booted: any hard drive has master boot record @ beginning of drive. in area information on how start boot loader of drive stored (e.g. find it, do). boot loader can see different operating systems of hard drive , partitioning scheme. bios selection define medium boot - , means medium use reading said master boot record. medium optical disk (drive), flash drive or (physical!) hard disk. not know written on disk , cannot see partitioning. may e.g. choose if want boot ssd or hdd. now solution of problem: as explain...

services - Where in Ubuntu 16.04 is the shutdown log? - Ask Ubuntu

yes, aware of this this this , this answer. still, can't find log information (the log lines see when pressing esc during splash screen. example ‘stopped target user , group name lookups.’ ...) in any of possible suspects in var/logs . i.e. looking @ changed files: (my shutdown @ 11:20h, these files can possibly matter) /var/log $ ll -tr | tail -rw-r--r-- 1 root root 27k 2016-10-27 11:03 xorg.0.log.old -rw-rw-r-- 1 root utmp 0 2016-10-27 11:20 wtmp -rw-r----- 1 syslog adm 0 2016-10-27 11:20 kern.log -rw-r--r-- 1 root root 0 2016-10-27 11:20 boot.log -rw-r--r-- 1 root root 0 2016-10-27 11:20 gpu-manager -rw-r--r-- 1 root root 0 2016-10-27 11:21 gpu-manager.log -rw-r----- 1 root adm 0 2016-10-27 11:21 apport.log -rw-r--r-- 1 root root 0 2016-10-27 11:21 xorg.0.log -rw-r----- 1 syslog adm 3,0k 2016-10-27 11:21 auth.log -rw-r----- 1 syslog adm 194 20...

permissions - Access denied to a folder my user owns? - Ask Ubuntu

i'm owner of folder, yet cannot cd folder. after searching discovered need execute permission cd folder. i did: sudo chmod u+w myfolder to add execute permission user. yet still cannot open folder. the command entered sudo chmod u+w myfolder grants w rite permission owner... there is: drw-r--r-- 13 myuser www-data ^--owner may write you wanted e x ecute permission chmod u+x myfolder (you won't need sudo if own it). give you drwxr--r-- 13 myuser www-data ^--owner may enter , search (octal 744 ) - there's not point in setting - either want 755 (all can access) or 750 (owner , group can access) or 700 (only owner can access), since read permission directories isn't use without execute permission.

16.04 - Impossible to fix broken MySQL5.7 after automated update - Ask Ubuntu

mysql5.7 on ubuntu16.04 has broken after mysql update came through have tried options in 16.04 upgrade broke mysql-server , , went further, purged related version of mysql - , still end following. reading package lists... done building dependency tree reading state information... done following additional packages installed: mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 suggested packages: tinyca following new packages installed mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7 0 upgrade, 6 newly install, 0 remove , 0 not upgrade. need 0 b/18.1 mb of archives. after operation, 160 mb of additional disk space used. want continue? [y/n] y preconfiguring packages ... selecting unselected package mysql-common. (reading database ... 275798 files , directories installed.) preparing unpack .../mysql-common_5.7.16-0ubuntu0.16.04.1_all.deb ... unpacking mysql-common (5.7.16-0ubu...

Stuck in login loop (Ubuntu 16.04) - Ask Ubuntu

a friend tried reinstall graphics drivers on ubuntu 16.04 computer (upgraded 14.04 3 or 4 months ago) , stuck in endless login loop. have spent 1.5 hours trying of commands proposed in multiple of answers in one , couple others no avail. here .xsession-errors openconnection: connect: no such file or directory cannot connect brltty @ :0 upstart: gnome-session (unity) main process (2094) terminated status 1 upstart: disconnected notified d-bus bus upstart: logrotate main process (1919) killed term signal upstart: update-notifier-crash (/var/crash/_sbin_upstart.104.crash) main process (1983) killed term signal upstart: update-notifier-crash (/var/crash/_usr_lib_xorg_xorg.0.crash) main proc ess (1984) killed term signal upstart: bamfdaemon main process (2047) killed term signal upstart: hud main process (2061) killed term signal upstart: unity7 pre-start process (2065) terminated status 143 upstart: indicator-bluetooth main process (2106) killed term signal upstart: indicator-...

How to add the font David to AbiWord? - Ask Ubuntu

ubuntu 16.04 i'd add font david abiword. should do? help appreciated. thanks. first need own david font , that, need buy it. can buy fonts here https://www.fonts.com/font/masterfont/david david font comes pre-installed windows. https://www.microsoft.com/typography/fonts/font.aspx?fmid=1884 after grab fonts, copy them ~/.local/share/fonts directory. abiword should able see fonts then.

Accumulator level on my ubuntu-touch tablet in command line - Ask Ubuntu

how know accumulator level on ubuntu-touch tablet cli? tools acpi or acpitool not accessible. i found way! question solved: cat /sys/devices/platform/battery/power_supply/battery/capacity

apt - I can't install ubuntu-restricted-extras - Ask Ubuntu

this question has answer here: unable lock administration directory (/var/lib/dpkg/) process using it? 19 answers when try install ubuntu-restricted-extras, using sudo apt-get install ubuntu-restricted-extras , following error: e: not lock /var/lib/dpkg/lock - open (11: resource temporarily unavailable) e: unable lock administration directory (/var/lib/dpkg/), process using it? juste wait few seconds , try again. it's because background process checking updates.

kernel - Trying to run eBPF BCC Tools offcputime fails with error - Ask Ubuntu

$ /usr/share/bcc/tools/offcputime the above command says can't find directory: /lib/modules/4.9.0-040900rc2-generic/kernel/build . i think has not having linux-tools kernel. can't install linux tools latest kernel. e: unable locate package linux-tools-4.9.0-040900rc2-generic or maybe installed wrong dpkg... got .deb files here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/ bcc needs kernel headers compile ebpf programs. you'll need download , install .deb files kernel headers. (i able reproduce bug , fix installing 2 .deb files http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9-rc2/ kernel headers.)

drivers - Bluetooth not working in Ubuntu 16.04 with [0cf3:3004] Atheros adapter - Ask Ubuntu

my laptop, msi gs70 stealth pro, has build build in bluetooth device ubuntu seems not recognize. when go system settings > bluetooth says no bluetooth adapters found . from i've seen in other threads, leave here helpful info: rfkill list: 1: phy0: wireless lan soft blocked: no hard blocked: no dmesg | grep blue: [ 2.951161] bluetooth: core ver 2.21 [ 2.951173] bluetooth: hci device , connection manager initialized [ 2.951176] bluetooth: hci socket layer initialized [ 2.951177] bluetooth: l2cap socket layer initialized [ 2.951181] bluetooth: sco socket layer initialized [ 2.959062] bluetooth: hci uart driver ver 2.3 [ 2.959064] bluetooth: hci uart protocol h4 registered [ 2.959065] bluetooth: hci uart protocol bcsp registered [ 2.959066] bluetooth: hci uart protocol ll registered [ 2.959066] bluetooth: hci uart protocol ath3k registered [ 2.959067] bluetooth: hci uart protocol three-wire (h5) registered [ 2.959085] blueto...

arm - .\Obj\stm32_gpio_demo.axf: Error: L6218E: Undefined symbol mf_wordwrap (referred from render_bmp.o) - Ask Ubuntu

i trying compile using arm stm32f10x , i'm getting error **rebuild target 'final_stm_thermal' assembling startup_stm32f10x_hd.s... compiling main.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types compiling stm32f10x_it.c... compiling gpio_config.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types compiling printer.c... ..\user\defs.h(15): warning: #1295-d: deprecated declaration adc_getvalue - give arg types ..\user\printer.c(472): warning: #177-d: variable "length" declared never referenced ..\user\printer.c(472): warning: #177-d: variable "x" declared never referenced ..\user\printer.c(473): warning: #177-d: variable "maxsize" declared never referenced compiling render_bmp.c... ..\user\mf_font.h(135): warning: #1295-d: deprecated declaration mf_get_font_list - give arg types ..\user\mf_kerning.h(27): warning: #1-d: last line of file...

apache2 - Ubuntu 14.04/Serverpilot running CGI Scripts - Ask Ubuntu

got odd serverpilot query. my client wants ftp access subfolder on site - loathe let them have full access created user access /home/ftpuser , symlink /srv/users/serverpilot/apps/appname/public/ folder cannot access system files main site, etc script. php files folder working fine client wants able run cgi/perl scripts folder. have tried following instructions @ https://serverpilot.io/community/articles/how-to-create-a-cgi-bin-directory.html (updating document root) can't cgi or perl scripts run, instead being returned plain text. any thoughts?

Cannot boot to Ubuntu 14.04 - Ask Ubuntu

i have installed ubuntu 14.04 64bit version , worked perfect until removed battery notebook , plugged electricity , turned on notebook. time cannot boot ubuntu. some errors occur: elf header smaller expected gfxterm not found /boot/grub/i386-pc/gfxterm_background.mod not found i tried boot-repair not work. not know next. when use "sudo grub-install --boot-directory=/mnt /dev/sda " installing i386-pc platform, use 64bit.

boot - Installing Ubuntu from USB not working - Ask Ubuntu

i have created bootable ubuntu drive, , works , let's me 'try ubuntu' section, when try install of put onto second partition of hard disk drive, installer says there's not enough space on hard drive. when i've tried search in disks literally picking usb drive , won't let me install physical hard drive! anyone know i'm going wrong?

printing - Microsoft Photo Viewer/Printer (photo print size selection) equivalent for Ubuntu - Ask Ubuntu

Image
when on windows, used default windows photo viewer lot because easy print full page images (cropped or not cropped), paper size. is there linux app can efficiently? open image select paper size fit page/full page option (bonus: crop fit or not option) this happens if try print 11x17 in gimp, if i've set image size 11x17 (which step don't have using windows image viewer). still doesn't' print 11x17! here' print preview: in ubuntu repositories find program called photoprint

networking - Connection problem with ethernet - Ask Ubuntu

i have installed ubuntu server 16.04 , trying connect network ethernet can't work. still new ubuntu server. this how interfaces file looks like, (enp3s0 ehternet port , added file). **# loopback network interface auto lo iface lo inet loopback #ethernet auto enp3s0 iface enp3s0 inet dhcp** below result of ifconfig : **enp3s0 link encap: ethernet hwaddr 00:1f:16:ac:10:fd inet6 addr: fe80: :21f:16ff:feac:10fd/64 scope: link broadcast running multicast mtu: 1500 metric: 1 rx packets: 426 errors: 0 dropped: 102 overruns: 0 frame: 0 tx packets: 240 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions: 0 txqueuelen: 1000 rx bytes: 27876 (27.8 kb) tx bytes: 80952 (80.9 kb) interrupt: 16 lo link encap: local loopback inet addr: 127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:255.0.0.0 looback running mtu:65536 metric:1 rx packets:26160 errors: 0 dropped: 0 overruns: 0 frame: 0 ...

14.04 - Wrong keyboard detected when installing ubuntu on Virtualbox - Ask Ubuntu

Image
i trying install ubuntu (14.04.5-desktop-64bit) on virtualbox (5.1). virtualbox running on server ubuntu (14.04.5). during installation using mirror (14.04.5)-desktop-amd64+mac.iso on virtual machine, when comes select keyboard layout, detect of current keyboard thai, while in fact using macbook pro of uk layout. i have tried lot of methods reset keyboard of ubuntu on virtual machine, still did not work. is bug on ubuntu or virtualbox or need change setting on macbook? looking forward help. thank much!

clone - SD card cloning using the dd command - Ask Ubuntu

i trying clone sd card may contain number of partitions, of ubuntu cannot recognize. generally, want clone whole volume, not partition. so, mount sd card , see in log viewer: kernel: [ 262.025221] sdc: sdc1 sdc2 alex@u120432:~$ ls /dev/sdc* /dev/sdc /dev/sdc1 /dev/sdc2 since want copy whole disk, execute: dd if=/dev/sdc of=sdimage.img bs=4m file sdimage.img, 7.9 gb (7,944,011,776 bytes) created (sd card 8 gb). mount sd card , execute: dd if=sdimage.img of=/dev/sdc bs=4m the problem second dd command hangs on stage, , never succeeds. after this, cannot reboot or shut down computer, , need switch power off. is correct approach? maybe there way clone sd card? os: ubuntu 12.04 (precise pangolin), 32 bit. you should not using dd on mounted devices. unmount partitions first, command should work.

16.04 - Ubuntu (dual boot Windows) Ethernet Not Connecting/Detecting - Ask Ubuntu

i'm new linux , installed ubuntu 16.04 lts windows 10. (i've installed ubuntu on different partition windows, if of help). set ubuntu ethernet not being detected , connected. same works fine when on windows. i've searched other questions on site none of them solved problem. glad if helped me out here! thanks! okay, user put bounty on question. unable comment due lack of reputation. think should take reins of question hands. so, describe system's properties. i had installed ubuntu 16.04 on separate partition in parallel windows 10. laptop lenovo z51-70. problem ethernet not connecting on ubuntu. this result of "ipconfig" on windows. windows ip configuration wireless lan adapter local area connection* 2: media state . . . . . . . . . . . : media disconnected connection-specific dns suffix . : ethernet adapter ethernet: connection-specific dns suffix . : link-local ipv6 address . . . . . : fe80::d01f:a297:5f9c:80f%4 ipv4 address....

Where I can find the documentation for Ubuntu Touch libraries? - Ask Ubuntu

as far know ubuntu touch has libraries hybris, platform-api , qtubuntu. where can find clear documentation those? for example, interested in finding out functions or classes have, , meaning of "plugin" in ubuntu touch architecture (what plugs in(to) what?), , whether platform-api functions can used applications directly or plugged other interface mir...

email - How to give permissions in dovecot to receive mails? - Ask Ubuntu

i'm installed iredmail on new server. i'm able send emails i'm not able receive mails. i've checked logs , tried change permissions , group permissions nothing works. this error comes in mail.log. error reading configuration: stat(/etc/dovecot/dovecot.conf) failed: permission denied (euid=2000(vmail) egid=2000(vmail) missing +x perm: /etc/dovecot, we're not in group 118(dovecot), dir owned 8:118 mode=0750) lda: fatal: internal error occurred. refer server log more information. ) i'm not able solve this. how can give permissions dovecot user? the error message explicitly tells /etc/dovecot directory needs +x permission, should have been first thing tried. chmod +x /etc/dovecot

I have 16GB RAM. Do I need 32GB swap? - Ask Ubuntu

i read many places rule of thumb swap space double amount of physical ram. however, 32 gb seem lot. need much? need @ high amount of physical ram? it entirely depends on plan machine. example if sap server yes, add 32gb swap ( have boxes @ work 128gb ram , 32gb swap ). if manipulating massive pictures , video makes sense have little swap. 32gb overkill. however not 0 swap. in unlikely event run out of ram - perhaps opening big file, perheps long running tab in firefox, doesn't matter, in event kernel oom killer kick in , start killing applications memory back. under circumstances it's entirely possible lose data applications killed. if have bit of swap system carry on, grabbing swap , allowing system continue. system slows down heavy swapping happens, notice , investigate before swap exhausted. disk cheap, why not have swap? anyone says "you don't need swap" without asking you're doing computer making assumptions. whilst may little computer ...

networking - Permanently enable Wifi in 16.04 - Ask Ubuntu

i have ralink rt3290, not have built-in driver in 16.04, installed 1 following this answer . at every login, wifi not enabled. can enable running: sudo ifconfig rename3 sudo service network-manager restart after works fine ( rename3 logical name of device, no idea why). how can enable wifi default, not need type @ every login? (an ad-hoc script @ start not looking for) edit: in this link there relevant information, suggested chili555 in comment. i don't know driver rt3290sta except, working on years, know it's getting bit old. fact interface appears 'rename3' suggests it's unhappy driver. rather tweak settings , default driver rt2800pci working well. please open terminal , do: gksudo gedit /etc/modprobe.d/blacklist-ralink.conf use nano or kate or leafpad if don't have text editor gedit. change file read: #blacklist rt2800pci #blacklist rt2x00pci blacklist rt3290sta proofread carefully, save , close text editor. set regulator...

server - Failed to start apache2.service: Unit apache2.service not found - Ask Ubuntu

i installed xampp in ubuntu 16.04 , server not running. if run command start apache sudo systemctl start apache2 error failed start apache2.service: unit apache2.service not found. problem when run php -v message php warning: php startup: unable load dynamic library '/usr/lib/php/20151012/mysqlnd.so' - /usr/lib/php/20151012/mysqlnd.so: cannot open shared object file: no such file or directory in unknown on line 0 php warning: php startup: unable load dynamic library '/usr/lib/php/20151012/xml.so' - /usr/lib/php/20151012/xml.so: cannot open shared object file: no such file or directory in unknown on line 0 php warning: php startup: unable load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: cannot open shared object file: no such file or directory in unknown on line 0 php warning: php startup: unable load dynamic library '/usr/lib/php/20151012/gd.so' - /usr/lib/php/20151012/gd.so: cannot open shared object file:...

command line - How to stop pasted text being highlighted in terminals in Ubuntu 16.10? - Ask Ubuntu

since upgrading ubuntu 16.10 16.04, every time paste text terminal running zsh , text highlighted until type character. doesn't seem matter terminal emulator use (it happens both in gnome-terminal , terminator ), seems matter zsh shell ( bash not have problem). how can prevent this? finally found ( https://github.com/zsh-users/zsh-syntax-highlighting/issues/349 ): zle_highlight+=(paste:none)

Will updating from 12.04 to 14.04 break my power pc installation? - Ask Ubuntu

i have installed ubuntu 12.04 unity work on powerbook 1.67 ghz g4. aware support run out next april 12.04 working hardware. updater prompting me upgrade 14.04 know hardware not supported in 14.04 unity server, lubuntu or mate. question happen if choose update? break installation? if how? still have cli can install gnome or gui? i can confirm lubuntu 14.04 installation on powerpc g5 worked more or less out of box, give or take few things (eg sound). @ first attempted install ubuntu unity desktop (14.04), , not past splash screen/login manager. still had access cli via tty (ctrl-alt-f1 etc) however. in end powerpc not supported unity aborted , went lubuntu, , have since upgraded 16.04. so best guess upgrading 14.04 may break unity, not system. may depend on graphics card; have nvidia card , have been struggling nouveau driver, , if have ati card might have better luck. changing lighter desktop environment such lxde should @ least leave usable system, if graphics being rend...

16.04 - Lecture recording on a computer with webcam on Ubuntu - Ask Ubuntu

i wish deliver lectures using libreoffice impress, , record them while sitting @ home. therefore wish have following: play presentation using libreoffice impress at corner of screen, there should face captured webcam. meanwhile, mic on taking voice input. all above 3 should recorded video file , if possible broadcast on youtube. how on ubuntu? comment: 16.04 / x64.

nvidia - Low Resolution on 16.04 with EVGA GTX960 - Ask Ubuntu

the setup dual boot machine (windows 10, ubuntu 16.04) evga gtx960 gpu. monitor asus v247h-p capable of 1920x1080, connected via dvi (also tried hdmi, made no difference). install in order install ubuntu had add nomodeset avoid black screen - ok, makes sense, didn't have nvidia drivers @ point. the problem install went smoothly (not first rodeo) gave max resolution of 640x480. used software update switch proprietary nvidia drivers (369, believe, i'm not @ pc). after reboot, max resolution 1360x768. better, not 1080p. nvidia drivers appear loading properly, according xorg.0.log . 1st attempt ran sudo nvidia-xconfig create xorg.conf file, rebooted. resolution down 640x480 max! if delete xorg.conf allows 1360x768 again. 2nd attempt added following lines xorg.conf , in appropriate places, per suggestions found online (i'm going memory here): option "modevalidation" "nomaxpclkcheck" modeline... [from running gtf] modes... [mode...

16.04 - How do I get rid of /sys/kernel/debug/tracing? - Ask Ubuntu

i have 2 ubuntu 16.04.1 servers providing dhcp , dns services on network. today, on 1 of servers, discovered new filesystem mounted @ /sys/kernel/debug/tracing . other server, configured identically, not have filesystem mounted. why did filesystem mounted? how rid of it? > uname -a linux net-services-02 4.4.0-47-generic #68-ubuntu smp wed oct 26 19:39:52 utc 2016 x86_64 x86_64 x86_64 gnu/linux > cat /proc/cmdline boot_image=/vmlinuz-4.4.0-47-generic root=/dev/mapper/net--services--02--vg-root ro > cat /etc/fstab # /etc/fstab: static file system information. # [... more comments ...] # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/net--services--02--vg-root / ext4 errors=remount-ro 0 1 # /boot on /dev/sda1 during installation uuid=363b849e-4574-410a-acf9-e84c95d7d879 /boot ext2 defaults 0 2 /dev/mapper/net--services--02--vg-swap_1 none swa...

pdf - pdfbeads not working for this file but hocr2pdf does, any ideas? - Ask Ubuntu

can't seem make pdfbeads produce ocr'ed file hocr, hocr2pd program works not pdfbeads, what's special on file ? hocr produced tesseract: tesseract -psm 1 -l eng 00000001.tif out hocr this ie. creates pdf not searchable one: pdfbeads *tif > new.pdf /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv deprecated in future, use string#encode instead. [deprecation] requiring "rmagick" deprecated. use "rmagick" instead prepared data processing 00000001.tif /var/lib/gems/1.9.1/gems/pdfbeads-1.1.1/lib/pdfbeads/pdfpage.rb:445: warning: jbig2 compression complete. pages:1 symbols:401 log2:9 processed 00000001.tif however pdfbeads works other files have created tif's example files tif+hocr here: https://drive.google.com/drive/folders/0b0bk4vnmvvv6bupgrglaczfyx0e?usp=sharing

dual boot - My tap to click in touchpad is not working and my synaptics touchpad changed to libinput - Ask Ubuntu

this information shown in terminal. enter image description here actually installed gnome in ubuntu , deleted , reinstalled it. booting slow , have no touchpad click!! your question related this one , , this answer ("tapping" option part) you.

14.04 - How to create NGINX debian package from souce? - Ask Ubuntu

i want create nginx .deb package source. can guide me through. thanks in advance. you're looking checkinstall https://help.ubuntu.com/community/checkinstall what follow instructions compiling application want (in case nginx). then when step tells issue make install command, replace checkinstall . this compiles code deb packages can install dpkg -i packagenamehere.deb don't distribute these packages others though, built machine, dependencies based on packages installed on pc. that said, can uninstall them, other deb package :) also, can give them version numbers upgrade existing version had compiled earlier. good luck!

suspend - Ubuntu 16.04: No Display ouput after wake up - Ask Ubuntu

i using ubuntu 16.04 on pc. morning put suspend , when woke again there no display output anymore. "tried" go on , showed 'no signal' in regular intervals. the lights of mouse , keyboard went on not test if working, , lights next power button blinking too. i tried connecting monitor motherboard , had no reaction @ all. tried booting live usb , had same result without it. tried connecting monitor laptop windows 10 , works fine. is there way fix myself?

login - Password won't work in GUI or command line - Ask Ubuntu

Image
all of sudden 1 day computer required me log in before going desktop. put in password, didn't work, , when tried fix problem via command line, command line wouldn't accept password either. i reset password twice, absolutely sure using correct password, still wouldn't accept new password after changed. the method used change password was: mount -o remount,rw / chmod 640 /etc/shadow sudo passwd user when correct password used returns screen and when incorrect password used, returns screen i followed instructions to mount root file-system/chroot in live cd/usb, , try chroot with strace -o login.strace login to see if got different results didn't.

lubuntu - Why are my virtual consoles disabled? - Ask Ubuntu

i use lubuntu 16.04. /etc/defaults/console-setup says: active_consoles="/dev/tty[1-6]" yet when ctrl+alt+f1, or f2, or f3 etc. - see black screen top line saying: "/dev/sda1: clean 123/456 files, 654/321 blocks" - no login prompt. can switch ctrl+alt+f7, but, still - why doesn't work? i'm running kubuntu v16.04 - not version - had modify /etc/systemd/logind.conf , uncomment nautovts=6 , restart.

grep – show lines until certain pattern - Ask Ubuntu

this question has answer here: how grep multiple patterns on multiple lines? 2 answers i on ubuntu 16.04 , want search files let’s “if” , want output until “endif”. file this if … code endif i can grep -a9 if my_file | grep -b9 endif . doesn’t works if “if” clause larger 9 , if several “if” clauses in same file , if first grep command contains several “if” clauses. option -m1 in second grep doesn’t help. nested “if” clauses can ignored. has idea, maybe not grep? difference how grep multiple patterns on multiple lines? the question asks solution grep answered in question: grep -a9 if my_file | grep -b9 endif . solution doesn’t work in case work in case of other question. the proposed grep solutions of other question don’t work (with ubuntu?): grep: ein nicht geschütztes ^ oder $ wird mit -pz nicht unterstützt. grep: not protected ^ or $ not supported -...

boot - How do I downgrade Plymouth without breaking lightdm? - Ask Ubuntu

after many weeks of searching, i've found new solution boot-up plymouth earth-sunrise start earlier , last longer. read how in ( plymouth not work properly ) write-up on gentoo site. i've read highly voted q&a ( how downgrade package via apt-get? ) doesn't address peculiarities of plymouth , it's relationship lightdm . below plymouth versions want (0.8.8) , installed 1 (0.9.2): ─────────────────────────────────────────────────────────────────────────────── rick@dell:/var/log$ apt-cache showpkg plymouth | grep 0.8.8 lightdm,plymouth 0.8.8-0ubuntu18 lightdm,plymouth 0.8.8-0ubuntu18 ─────────────────────────────────────────────────────────────────────────────── rick@dell:/var/log$ apt show plymouth package: plymouth version: 0.9.2-3ubuntu13.1 priority: standard section: x11 origin: ubuntu maintainer: ubuntu developers <ubuntu-devel-discuss@lists.ubuntu.com> original-maintainer: laurent bigonville <bigon@debian.org> bugs: https://bugs.launchpa...

unity - Are missing buttons in the file properties window the new normal? - Ask Ubuntu

Image
i noticed buttons on file properties window files missing. right clicking on file or folder, , choosing "properties", brings following window: as can seen, there not buttons @ bottom portion. i'm quite there before. so question is, missing buttons new normal? or wrong system , need reinstall of os? using ubuntu 16.04 lts. file browser version installed "files 3.14.3".

laptop - Does Ubuntu rapidly decrease the lifespan of my battery? - Ask Ubuntu

okay seems silly feel ubuntu destroying battery of pc. started year ago when switched ubuntu, within 1-2 months battery died. working fine past 1.5 year. thought mistake because kept charger on of time bought new one. 6 months fast forward, battery die again, receiving backup of 30-45 minutes on battery. please tell me ubuntu isn't reason. that sounds poor battery from manufacturer , not ubuntu. ubuntu shouldn't reduce life of battery quickly- however, lifetime of battery dependent on the temperature keep in number of charge cycles (complete drain , recharge) preventing overcharge (not repeatedly taking battery/computer off charger short period, , charging completely) however, of these factors should not destroy battery within period of 6 months. because bought 3rd-party supplier, question validity/quality of battery purchased. advice contact manufacturer replacement.

16.04 - Why I obtain these error messages when I try to install gem bundler on Ubuntu? (Could not create Makefile) - Ask Ubuntu

i not ruby developer , finding many difficult install redmine (that developed in ruby) on ububuntu 16.04 server. i following official tutorial: http://www.redmine.org/projects/redmine/wiki/howto_install_redmine_on_ubuntu_step_by_step it seems simple finding many difficult when "ensure bundler gem installed". i not sure bundler gem have installed. have understand (correct me if doing wrong assertion) gem packages excutable ruby application (something jar file in java). so, problem when perform statment in bash console: sudo gem update i obtain many error messages this: root@betrivius-vps:~# sudo gem update updating installed gems updating molinillo fetching: molinillo-0.5.4.gem (100%) installed molinillo-0.5.4 parsing documentation molinillo-0.5.4 installing ri documentation molinillo-0.5.4 installing darkfish documentation molinillo-0.5.4 done installing documentation molinillo after 1 seconds parsing documentation molinillo-0.5.4 done installing document...

Error when trying to apt-get upgrade - Ask Ubuntu

i'm getting errors when trying update ubuntu 14.04 root@ts3:~# apt-get upgrade reading package lists... done building dependency tree reading state information... done calculating upgrade... done following packages have been kept back: linux-generic linux-headers-generic linux-image-generic following packages upgraded: accountsservice apache2 apache2-bin apache2-data apport apt apt-transport-https apt-utils bind9-host curl dbus-x11 dnsutils dosfstools dpkg-dev fontconfig grub-common grub-pc grub-pc-bin grub2-common imagemagick initramfs-tools initramfs-tools-bin isc-dhcp-client isc-dhcp-common klibc-utils libaccountsservice0 libapache2-mod-php5 libapt-inst1.5 libapt-pkg4.12 libbind9-90 libcurl3 libcurl3-gnutls libdns100 libdpkg-perl libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-0:i386 libgdk-pixbuf2.0-common libisc95 libisccc90 libisccfg90 libklibc liblwres90 libnl-3-200 libnl-genl-3-200 libpython3.4 libpython3.4-minimal libpython3.4-stdlib libssl1.0.0 linu...

java - Eclipse won't run - JVM Terminated, Ubuntu 16.04 - Ask Ubuntu

installed eclipse neon using installer eclipse website. have java 8 jdk oracle. when trying run eclipse following: jvm terminated. exit code=13 /usr/lib/jvm/java-8-oracle/bin/java -dosgi.requiredjavaversion=1.8 -xx:+useg1gc -xx:+usestringdeduplication -dosgi.requiredjavaversion=1.8 -xms256m -xmx1024m -declipse.p2.max.threads=10 -doomph.update.url=http://download.eclipse.org/oomph/updates/milestone /latest -doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ -jar /home/adiel/eclipse/cpp-neon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/adiel/eclipse/cpp-neon/eclipse/eclipse -name eclipse --launcher.library /home/adiel/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444 /eclipse_1617.so -startup /home/adiel/eclipse/cpp-neon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.ja...

scripts - How to add commands to be run after a systemd-controlled system service? - Ask Ubuntu

i made service following guide did: created systemd service unit created startup shell script configured , installed service now, script this one . basically, @ startup did depending if laptop charging or not, , every x minutes check again , set cpus frequencies etc.. now, happens want stop reobtain full power laptop, stop it, should set again cpus frequencies etc. possible that, when systemctl stop battery-script.service execute script or lines of code before stopping? in advance according documentation have use execstop= in battery-script.service. looks like: [unit] [service] execstart=/usr/local/bin/battery.sh execstop=/usr/local/bin/battery-stop.sh [install] wantedby=default.target

networking - WiFi won't turn on 16.04 xiaomi Mi Air - Ask Ubuntu

when click on wifi toggle toggles on off. no wifi networks coming up. sudo lshw -c network gives me: *-network disabled description: wireless interface product: wireless 8260 vendor: intel corporation physical id: 0 bus info: pci@0000:02:00.0 logical name: wlp2s0 version: 3a serial: 00:c2:c6:f1:83:49 width: 64 bits clock: 33mhz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-31-generic firmware=16.242414.0 latency=0 link=no multicast=yes wireless=ieee 802.11abgn output wireless-info script: ########## wireless info start ########## report from: 16 nov 2016 11:13 aedt +1100 booted last: 16 nov 2016 00:00 aedt +1100 script from: 08 jul 2016 02:16 utc +0000 ##### release ########################### distributor id: ubuntu description: ubuntu 16.04.1 lts release: 16.04 codename: xen...