Posts

Showing posts from January, 2014

networking - ssh connection between two distant computer - Ask Ubuntu

i try transfer files between 2 distant ubuntu pc scp. works on local network (using wlan0 inet addr ip) failed (connection refused on port 22) when scp command comes computer outside network. example, want transfer file machine in canada machine in usa. yet, port 22 has been open sudo ufw allow 22 . port 22 open in local pc. make sure firewall/router has been configured port-forward port 22 computer on network correctly.

grub2 - How do I find out if I have a separate boot partition? - Ask Ubuntu

Image
i have ubuntu 16.10 on laptop , i'm planning on dual-booting windows 7. problem is, after install windows 7, break grub. need know if have separate boot partition can restore grub correct place using ubuntu live usb. this picture gparted. sda3 partition created windows 7. you don't have separate /boot partition. /dev/sda1 ubuntu root partition (mount point / , includes folders not mounted anywhere else, including /boot in case) /dev/sda2 and /dev/sda3 are partitions windows, small 1 going hidden system partition while big 1 show your c:` drive in windows. /dev/sda4 not "real" partition data, it's so-called "extended partition" means it's container may hold number of logical volumes (which behave normal partitions again). extended partitions needed because msdos/mbr partition table can have 4 primary partitions or 3 primary , 1 extended (containing number of logical) partitions. /dev/sda5 linux swap partition, used swap me...

Edit Cutecom Launcher icon 16.04 - Ask Ubuntu

Image
cutecom installed on 16.04: launcher icon identical terminal icon. procedure change icon? target icon you want edit cutecom's .desktop file, location /usr/share/applications/kde/cutecom.desktop edit icon= line location/name of icon want use. single user use can put icon in pictures folder, multi-user use place /usr/share/pixmaps or /usr/share/app-install/icons (or icon folder in /usr then edit .desktop using full path, ex. here placed terminal.svg in pictures folder, using nano root, edit line 7, using full path terminal.svg sudo nano /usr/share/applications/kde/cutecom.desktop if you're not happy icon try find 48x48 svg, can upload red 1 if you'd like..

64 bit - display issues with ubuntu 16.04LTS -AMD processor and AMD graphic Card - Ask Ubuntu

i facing issues laptop display ever since installed ubuntu 16.04. whenever start system can observe laptop being functional nothing being displayed on screen shows black screen, have force shutdown system ,start again. happens regularly(5 out of 10 times).

boot - end_request I/O error, dev sda, sector 442933180 - best strategy to repair? - Ask Ubuntu

experienced electricity shortcut during booting ... seems have damaged hard disk? now, system (almost) not boot more (actually, it's dual boot system: windows xp boot without problem, ubuntu 11.04 have huge boot problem). ata3.00: exception emask 0x0 sact 0x0 serr 0x0 action 0x0 ata3.00: bmdma stat 0x24 ata3.00: failed command: read dma ext ata3.00: cmd 25/00:00:bb:9f:66/00:001a:00:00/e0 tag 0 dma 4096 in res 51/40:00:bc:9f:66/40:00:1a:00:00/e0 emask 0x9 (media rror) ata3.00: status { drdy err } ata3.00: error: { unc } end_request: i/o error, dev sda, sector 442933180 what happens when try boot this: xserver starts after approx 5min. takes 10min show login window. system slow takes 1min put in password , press enter. 20min have passed , still have no home screen typical purple screen of 11.04. i have tried boot livecd , manually run fsck did not solve problem: root@ubuntu:/# fdisk -l disk /dev/sda: 298.1 gib, 320071851520 bytes, 625140335 sectors units: sect...

scripts - Ubuntu 16.10 rc.local file does not exist - Ask Ubuntu

until 16.10 able use rc.local load script speeding track point on think pad. did clean install of 16.10 , not locate /etc/rc.local file in 16.10???? created file system shows ubuntu startup screen , never finishes boot until delete file. wanted see if else has seen issue , there way can load script without rc.local file. because ubuntu using systemd, , rc.local considered service, turned off default. can turn rc.local "on" entering following command , rebooting: sudo systemctl enable rc-local.service

apt - Masking i386 entries in `aptitude`? - Ask Ubuntu

i have 64 bits system, , use aptitude select , install packages. packages comes both in 64 bits , 32 bits version, 2 versions of package listed: packagename packagemame:i386 often (usually?) both 64 bits , 32 bits version cannot installed simultaneously - installing one, "breaks" other... is there way aptitude hide 1 of 2 types - eg. hide 32 bits :i386 version of packages? example configuration option select either 1 or other... i've tried menu (c-t)->search->limit display... didn't know quite put there... ":i386" yielded nothing... "i386" yielded few packages included "i386" in package-name - ":i386"-part not part of name. , in case, want limit display packages not containing ":i386"... the reason ask, because of tasks... here packages needed make example lamp-server or mail-server grouped - unfortunately both 32 bits , 64 bits version. if example tries add packages makes lamp-serv...

unity - 16.04 - Slow login, no wallpaper, missing image icons in taskbar - Ask Ubuntu

Image
as of week ago, desktop has exhibited following problems - starting @ once. after cold boot or restart reach login screen in normal amount of time, after entering password there's noticeable hitch, end on black screen mouse cursor. if leave alone few minutes, taskbar , launcher appear. besides taskbar , launcher, desktop remains black (as if there's no longer wallpaper set), computer otherwise functional. all icons in top-right corner of screen have 'missing image' icon: as far know didn't make configuration changes @ time, besides perhaps installing updates. here's system information; please ask if else helpful. ubuntu 16.04 lts unity 7.4.0 intel core i3 3.3ghz x 4 / 8gb ram gallium 0.4 on amd turks (drm 2.43.0, llvm 3.8.0) here think the log of last apt operation before started having trouble. right @ end shows error: sub-process /usr/bin/dpkg exited unexpectedly - i'm not sure in particular it's referring to, or how recov...

tar - How to know actual size of a compressed file in ubuntu using command? - Ask Ubuntu

i have wikipedia dump file of around 15gb extension .tar.7z. in has .tar file. main content has in .tar file. how original size of files have in tar file? .tar in .tar.7z ? that's strange. if 2 levels ( .7z , .tar ) do: tar tvf foo.tar.7z for example, $ tar tvf certbot.tar.xz drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/ -rw-r--r-- muru/muru 362 2016-07-06 19:30 certbot/changes.rst drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/letsencrypt-nginx/ drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/letsencrypt-nginx/letsencrypt_nginx/ -rw-r--r-- muru/muru 119 2016-07-06 19:30 certbot/letsencrypt-nginx/letsencrypt_nginx/__init__.py -rw-r--r-- muru/muru 11984 2016-07-06 19:30 certbot/letsencrypt-nginx/license.txt -rw-r--r-- muru/muru 118 2016-07-06 19:30 certbot/letsencrypt-nginx/readme.rst -rw-r--r-- muru/muru 1638 2016-07-06 19:30 certbot/letsencrypt-nginx/setup.py -rw-r--r-- muru/muru 39 2016-07-06 19:30 certbot/letsencrypt-nginx/manifest.in -rw-...

command line - How to play only specific files in MPlayer? - Ask Ubuntu

the problem: i've example 16 tracks in 1 folder want play 1 - 7. how do in mplayer? following: mplayer 1.mp3 - 7.mp3 is not right way. possible in mplayer without writing out every filename? as far aware not possible within mplayer little command line magic can produce great results. the following perhaps little clumsy works enough here naming convention have specified: mplayer $(find . -maxdepth 1 -name "[1-7].mp3" | ls -v) brief explanation: find . -maxdepth 1 : search in current directory no recursion. -name "[1-7].mp3" : find mp3s have numerals 1-7 filename. [1-7] section demonstrates bash range expression numbers 1 , 7 matched numbers between. ls -v : sort search playback numerically based. doubtless there other ways works enough , if actual filenames different matter of changing regular expression in find syntax match...

apt - How to install Virtualbox 5.1 on Ubuntu Xenial 16.04 - Ask Ubuntu

i had virtualbox 5.0 installed, @ every first vm start got execute following command: sudo /sbin/rcvboxdrv setup so decided remove virtualbox , install version 5.1 ubuntu 16.04. bad decision. can't working. $ sudo dpkg -i virtualbox-5.1_5.1.8-111374~ubuntu~xenial_amd64.deb selecting unselected package virtualbox-5.1. (reading database ... 814705 files , directories installed.) preparing unpack virtualbox-5.1_5.1.8-111374~ubuntu~xenial_amd64.deb ... unpacking virtualbox-5.1 (5.1.8-111374~ubuntu~xenial) ... dpkg: dependency problems prevent configuration of virtualbox-5.1: virtualbox-5.1 depends on libqt5x11extras5 (>= 5.1.0); however: package libqt5x11extras5 not installed. $ sudo apt install libqt5x11extras5 reading package lists... done building dependency tree reading state information... done package libqt5x11extras5 not available, referred package. may mean package missing, has been obsoleted, or available source e: package 'libqt5x11extras5' h...

networking - Ethernet connect and disconnect - Ask Ubuntu

i'm using ubuntu 16.04 lts , after connect ethernet cable, system show connected icon. but after few seconds, system show disconnect alert. here log: oct 25 19:09:40 note dbus[769]: [system] activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' oct 25 19:09:40 note systemd[1]: starting network manager script dispatcher service... oct 25 19:09:40 note dbus[769]: [system] activated service 'org.freedesktop.nm_dispatcher' oct 25 19:09:40 note systemd[1]: started network manager script dispatcher service. oct 25 19:09:40 note nm-dispatcher: req:1 'down' [enp19s0]: new request (1 scripts) oct 25 19:09:40 note nm-dispatcher: req:1 'down' [enp19s0]: start running ordered scripts... runing sudo lshw -c net *-network description: network controller product: bcm4313 802.11bgn wireless network adapter vendor: broadcom corporation phy...

Cannot join LivePatch Service due to "snap not found" error - Ask Ubuntu

...when run sudo snap install canonical-livepatch to install it, error message "snap not found." architecture 16.04 lts (32-bit). please advise. the canonical-livepatch service , snap available in 64bit, why snapd can't find i386 snap. you can see supported architectures snap on snap store page https://uappexplorer.com/app/canonical-livepatch.canonical

apt - sudo is removed - Ask Ubuntu

i new ubuntu operating system. sudo not working in laptop. , system settings disable , ubuntu software center disappear when type sudo on terminal. ~$ sudo program 'sudo' can found in following packages: * sudo * sudo-ldap try: sudo apt-get install <selected package> then surf web find out apt-get install sudo problem ~$ apt-get install sudo e: not open lock file /var/lib/dpkg/lock - open (13: permission denied) e: unable lock administration directory (/var/lib/dpkg/), root? then copy , paste above issues file , lock adminstration directory :~$ ps -e | grep -e apt -e adept | grep -v grep ~$ rm /var/lib/dpkg/lock then show the ps -e | grep -e apt -e adept | grep -v grep venki@venki-inspiron-3558:~$ rm /var/lib/dpkg/lock rm: remove write-protected regular empty file ‘/var/lib/dpkg/lock’? the cursor not respond please me anyone you can enter in single user mode grub menu selecting recovery mode. drop bash shell , have root acces. insta...

apt - ZFS install on Ubuntu 16.04LTS - Ask Ubuntu

i've upgraded home server form 14.04lts 16.04 lts. zfs working fine , box succesfuly serving out samba share , acting kodi server , end user (i succesfully running sql database , had multiple nodes around house). perhaps did wrong, after restart zfs no longer , running , i've had try reinstall it. i've tried following information can online no avail. below input , output get. all prethanked. sudo apt install zfs reading package lists... done building dependency tree reading state information... done note, selecting 'zfsutils-linux' instead of 'zfs' packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation: following packages have unmet dependencies: zfsutils-linux : depends: zfs-doc (= 0.6.5.6-0ubuntu14) 0.6.5.7-1~trusty installed depends: libnvpair1linux not going install...

permissions - Trying to get GIMP paint studio working on Ubuntu - Ask Ubuntu

i have downloaded gimp paint studio online , moved files /home/username/.gimp-2.8 . when try cd of brushes etc. don't have permission. i tried chmod ug+x , managed enter directory still wasn't given permission view of files. i tried directly terminal failed sudo add-apt-repository ppa:shnatsel/gimp-paint-studio sudo apt-get update sudo apt-get install gimp-paint-studio edit: did sudo adduser username www-data change permissions , seems work.

initramfs - Ubuntu Login Fails, Opens Inittramfs Terminal - Ask Ubuntu

i'm running ubuntu 16.04 , following happens: turn on computer able login sda3_crypt i initramfs terminal i not know linux , have no idea do. edit 1: i see following in initramfs console: [ 3.541417 sd 4:0:0:0:0: [sdb] aksing cache data failed [ 3.541487 sd 4:0:0:0:0: [sdb] assuming drive cache:: write through please help! (the more dumbed-down, better , appreciated) after bit of hail mary, came across boot drops (initramfs) prompts/busybox , @ramsudharsan's answer wich happening me. used following , able log in again. fsck /dev/mapper/ubuntu--vg-root -y then, reboot

Kernel Update info - Ask Ubuntu

where can information why ubuntu upgrade kernel, in fact know if upgrade corrects security issue (and one) or whatever. thanks helping. you can change logs available upgraded packages (not kernel). 1 source ubuntu security notices . 1 package directory . there you'll find, example, information linux-image-4.4.0-45-generic . in sidebar on right, there's link changelogs . but should aware information in changelogs technical , can contain lot of jargon. more general information, linux media (websites, newsletters etc.) may alternative.

Dropbox hangs when trying to move sync folder - Ask Ubuntu

i'm running ubuntu 16.04 cinnamon desktop environment , nemo file manager. dropbox's default folder ~/dropbox . when try move folder, by clicking "mover" (move) button , computer hangs. disk led shows disk working , hangs can't kill process. can reboot system. also, selective sync functionality doesn't work , shows gigantic window, , hangs.

I can't install unity-tweak-tool in Ubuntu even apt-get -f install - Ask Ubuntu

i tried install unity tweak tool in ubuntu failed. searched around google , see forums no solution works. think ubuntu becoming buggy, here terminal record: mrna@mrna:~$ sudo apt-get install unity-tweak-tool [sudo] password mrna: reading package lists... done building dependency tree reading state information... done might want run 'apt-get -f install' correct these: following packages have unmet dependencies: gnome-tweak-tool : depends: gnome-settings-daemon not going installed unity-tweak-tool : depends: unity-webapps-common not going installed e: unmet dependencies. try 'apt-get -f install' no packages (or specify solution). mrna@mrna:~$ apt-get -f install e: not open lock file /var/lib/dpkg/lock - open (13: permission denied) e: unable lock administration directory (/var/lib/dpkg/), root? mrna@mrna:~$ sudo su root@mrna:/home/mrna# apt-get -f install reading package lists... done building dependency tree reading state information... done c...

16.04 - How to let non root user take ZFS snapshot? - Ask Ubuntu

i trying let non root user create zfs snapshots. i've created permission set , given appropriate user privileges defined in it: root@computer:~# zfs allow homepool/myuser ---- permissions on homepool/myuser ----------------------------------- permission sets: @myuser_allowed mount,snapshot local+descendent permissions: user myuser @myuser_allowed but when try create snapshot following error: root@computer:~# su - myuser myuser@computer:~$ /sbin/zfs snapshot homepool/myuser@`date +%f_%r` permission denied zfs utilities must run root. creating snapshot root works expected: root@computer:~# zfs snapshot homepool/myuser@`date +%f_%r` root@computer:~# zfs list -t snapshot name used avail refer mountpoint homepool/myuser@2016-10-30_19:01 44k - 5,32g - homepool/myuser@2016-10-30_19:37 0 - 5,32g - do need add else permission set? or privileges on zfs binary? root@computer:~# ls -l `which zfs` -rwxr-xr-x 1 roo...

16.04 - Sound stopped working, "dummy output" - Ask Ubuntu

Image
i'm using ubuntu 16.04. few days can't hear sound on laptop. while checking sound settings shows dummy output on section of output tab. how resolve issue?

Virtualbox 5.1.8 does not start headless VM - Ask Ubuntu

recently installed virtualbox 5.1.8 on ubuntu 16.04.1 lts. installed extension packs. when try start vm headless error: vboxmanage startvm vm1 --type headless waiting vm "vm1" power on... vboxmanage: error: virtual machine 'vm1' has terminated unexpectedly during startup exit code 1 (0x1) vboxmanage: error: details: code ns_error_failure (0x80004005), component machinewrap, interface imachine the vm did run fine on virtualbox 5.0. connecting ssh remote server have no gui. can me work? thnx i moved vb 5.0.28 vb 5.1.8. win 7 virtual machine began random bsd (blue screen). nothing tried on 3 day period (i not near vb expert) failed prevent problem occurring. backed out vb 5.0.28 , problem went away. don't work: mint 18 (trusty) vb 5.1.8 win7 virtual machine works: mint 18 (trusty) vb 5.0.28 win7 virtual machine i can not id other vb version source. try vb 5.0 solve problem. ...

downloads - where do I find an image of 15.10 to install on my desktop. - Ask Ubuntu

this question has answer here: where can find repository older unsupported releases? [duplicate] 1 answer until 15.10 on machine, cannot perform network upgrade 16.10. dvd 16.10 on fails on reboot to use s/w you can download iso image 'old releases' website, ubuntu 15.10 archived. think you'd better perform clean installation of ubuntu 16.10 - because in special case upgrading ubuntu 15.10 ubuntu 16.10 mean : first upgrading ubuntu 15.10 ubuntu 16.04 lts and upgrade ubuntu 16.04 ubuntu 16.10 !

hdpi - Is there any Ubuntu flavor that handles HiDPI consistently? - Ask Ubuntu

although know how tweak here , there.. i wonder if there ubuntu 16.04 (or newer) variant specializes or works 'out-of-the-box' hidpi screens. for matter, interesting know , recent linux distribution works hidpi... update: thanks answers not looking way adjust machine. aware of these tweaks , using few of them. question more towards ubuntu variant (such mate, mint, etc.) handles hidpi well. ubuntu mate part of roadmap not there yet. wonder if there available. no, there isn't answered date. what "consistent" before 1 disagrees answer, make sure understand question op. given 1 needs manually set dpi value or scale factor of desktop environment, varies different monitors, can't ubuntu "handles hidpi consistently". i'd understand "consistent" more towards out-of-box experience (even op has mentioned in question). is, in terms of ability of operating system use appropriate settings given hardware , application soft...

dual boot - GNU GRUB exit mac os - Ask Ubuntu

i have macbook air. installed ubuntu dual boot. wanted delete it. deleted refind. restarted , got gnu grub. when write command exit froze. when try access recovery mode cannot see -- there no mac os x disk. how can mac os? try holding down option (or alt) key power on computer , sounds chime. should bring computer's built-in boot manager. if fails, , if computer boots ubuntu, 1 or more of 3 things: use efibootmgr -- efibootmgr tool controls computer's boot order. typing sudo efibootmgr shows entries. there should entry ubuntu , can delete sudo efibootmgr -b #### -b , #### boot number; or can use -o set new boot order, in sudo efibootmgr -o 80,81,82 set boot0080 first, boot0081 second, , on. (os x uses 0080 , above itself.) delete grub -- ubuntu installs grub in /boot/efi/efi/ubuntu directory ( efi/ubuntu on efi system partition [esp] ). deleting directory, or @ least grubx64.efi , shimx64.efi files contains, prevent running. computer should try...

boot - Bootable USB Stick not working without `nomodeset` - Ask Ubuntu

i have bootable usb drive holds ubuntu 16.04 lts. i've installed ubuntu without problem using stick. now, had problems , can't boot ubuntu anymore. i decided format same usb stick not start installer unless i'm adding nomodeset parameter installer options. how possible , how can resolve issue? kind regards

ppa - Add Qt 5.7 libraries to Ubuntu 14.04 - Ask Ubuntu

i add qt 5.7 libraries ubuntu 14.04 installation, run program precompiled (and needs qt libraries 5.5 or later). system text mode (no runlevel 5) can't use qt creator packages. is there ppa can add make qt 5.7 libraries available me on ubuntu 14.04?

lubuntu - Allow ssh connections WITHOUT using openssh-server - Ask Ubuntu

i've got 2 lubuntu (16.04.1 lts) vms on 2 different machines, , i'm running application sending raw sockets. make easier on transferring files in between computers, set openssh-server use scp . however, messed program set buffer @ around 64 kb when, according this post , maximum packet size set 32 kb. therefore, i've uninstalled openssh-server vms. however, can't connect on ssh anymore. connection refused, , i've gone ufw allow traffic on port 22 , ssh entirely. (by way, sudo ufw allow ssh returns "skipping adding existing rule" output. so, question. want keep using scp , without using openssh-server . how go this? (alternatively, wouldn't mind reinstalling openssh-server long there option expand packet size in config files.)

How to schedule monitor for sleep mode? - Ask Ubuntu

i have presentation in day of week in university. time need go board describe notes. left laptop , go board. time it's take time describe happening in note. screen going black , need come laptop turn screen on. i can't prevent screen turn off because forget turn off when in office turn on long time. i'm looking software can give class schedule , software prevent screen off can describe notes in class. thanks.

16.04 - Making systemd service unit produce output on start/stop - Ask Ubuntu

i have added service unit in ubuntu 16.04: [unit] description=seaweedfs after=network.target [service] user=root execstart=/root/work/bin/weed -v=0 volume -mserver=18.21.1.150:9333 -ip=8.9.4.9 -dir=/storage -max=2270 -images.fix.orientation=false -pulseseconds=1 everything working fine. want know if process has been started or not. or if stopped, want see output has been stopped. right doing service seaweedfs start . starts doesn't show message. want add useful messages on start or stop. will thankful :) you can check sudo netstat -nlutp | grep weed see if port assigned in .service file, (9333 in case) opened. if see this, service may started proto recv-q send-q local address foreign address state pid/program name tcp 0 0 192.168.0.2:8081 0.0.0.0:* listen 25878/./weed tcp6 0 0 :::9333 :::* listen 1244/./weed

upgrape 16.04 : Failed to start LSB: Apache2 web server - Ask Ubuntu

i've upgraded system 15.10 16.04. apache server doesn't start. sudo service apache2 start job apache2.service failed because control process exited error code. see "systemctl status apache2.service" , "journalctl -xe" details. systemctl status apache2.service apache2.service - lsb: apache2 web server loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) active: failed (result: exit-code) since ven. 2016-11-04 09:19:17 cet; 3min 49s ago docs: man:systemd-sysv-generator(8) process: 4061 execstart=/etc/init.d/apache2 start (code=exited, status=1/failure) nov. 04 09:19:17 owncloud systemd[1]: starting lsb: apache2 web server... nov. 04 09:19:17 owncloud apache2[4061]: * starting apache httpd web server apache2 nov. 04 09:19:17 owncloud apache2[4061]: * nov. 04 09:19:17 owncloud apache2[4061]: * apache2 configtest failed. nov. 04 09:19:17 owncloud apache2[4061]: output of config test was: nov. 04 09:19:17 owncloud apache2[4061]: env: «ap...

unity - How do I add an application to the dash? - Ask Ubuntu

Image
i installed oneiric ocelot, , can't figure out how add application, stored in home directory, dash. can create launcher, want in dash also. one way use add entry in menu's alacarte . install alacarte if isn't already: sudo apt-get install alacarte open alacarte typing run prompt ( alt + f2 ) click new item , fill in name , command. click ok , close alacarte. application should appear in dash search. edit: solution doesn't work on new version ubuntu 13.04.

system installation - Installing Lubuntu 16.10 with Encrytion - Ask Ubuntu

as of may know, there bug in installer of lubuntu regarding full disk encryption lvm. have read @ multiple places use sudo swapoff --all as workaround. not work me, instead of common error message following: autopartitioning using lvm failed because error occurred while creating volume group. check /var/log/syslog or see virtual console 4 details. so here part of /var/log/syslog find relevant problem: nov 4 08:28:21 lubuntu ubiquity: /bin/autopartition-crypto: 292: /bin/autopartition-crypto: pvs: not found nov 4 08:28:21 lubuntu ubiquity: /var/lib/partman/devices/=dev=sda nov 4 08:28:21 lubuntu kernel: [ 104.080652] sda: sda1 sda2 sda3 nov 4 08:28:21 lubuntu ubiquity: /bin/autopartition-crypto: 292: /bin/autopartition-crypto: pvs: not found nov 4 08:28:21 lubuntu kernel: [ 104.555330] sda: sda1 sda2 sda3 nov 4 08:28:22 lubuntu partman: mke2fs 1.43.3 (04-sep-2016) nov 4 08:28:22 lubuntu partman-crypto: kernel entropy_avail: 977 bits nov ...

display resolution - XRandR cannot add the mode - Ask Ubuntu

Image
root@localhost:~# xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync x error of failed request: badname (named color or font not exist) major opcode of failed request: 140 (randr) minor opcode of failed request: 16 (rrcreatemode) serial number of failed request: 33 current serial number in output stream: 33 it working fine previous kernel broken. edit 1: think possibly reason behind problem required resolution has somehow got transferred new display name virtual1. below screenshot of xrandr -q so if tell me how delete virtual1 display unable to, think do.

grep - What do ^$ and ^# mean? - Ask Ubuntu

i don't understand badips=$(egrep -v "^#|^$" $tdb) . can explain it? full code: #!/bin/bash # purpose: block traffic afghanistan (af) , china (cn). use iso code. # # see url more info - http://www.cyberciti.biz/faq/?p=3402 # author: nixcraft <www.cyberciti.biz> under gpl v.2.0+ # ------------------------------------------------------------------------------- iso="af cn" ### set path ### ipt=/sbin/iptables wget=/usr/bin/wget egrep=/bin/egrep ### no editing below ### spamlist="countrydrop" zoneroot="/root/iptables" dlroot="http://www.ipdeny.com/ipblocks/data/countries" cleanoldrules(){ $ipt -f $ipt -x $ipt -t nat -f $ipt -t nat -x $ipt -t mangle -f $ipt -t mangle -x $ipt -p input accept $ipt -p output accept $ipt -p forward accept } # create dir [ ! -d $zoneroot ] && /bin/mkdir -p $zoneroot # clean old rules cleanoldrules # create new iptables list $ipt -n $spamlist c in $iso # local zone file tdb...

networking - Wifi disconnected after resume 16.04 - Other solutions don't work - Ask Ubuntu

i new ubuntu user , have far enjoyed it. however, spent around 3 hours yesterday trying wifi resume after laptop wakes sleep mode (it works if reboot). have scoured message boards , links on google purple 3 or 4 pages in every search result on matter. therefore, don't think question repeat. i have a dell inspiron 15 amd a6-6310 ubuntu a6-6310 my wireless card labeled (device) wlp3s0 (driver) ath9k and have tried following: i have put these config folder in /config.d suspend_modules="$suspend_modules ath9k" suspend_modules="ath9k" i have created executable files in /sleep.d such as: #!/bin/sh #tell network manager resume successful case "$1" in thaw) /usr/bin/nmcli nm sleep false ;; esac #!/bin/sh case "${1}" in resume|thaw) nmcli r wifi off && nmcli r wifi on ;; esac and many other variants thereof. also, restarts networkmanager not connect wifi again: sudo service network-manag...

kubuntu - Kdenlive crashes when clicking into timeline - Ask Ubuntu

i know kdenlive unstable, still favorite video editor under linux. experiencing issue, makes editing impossible. when open kdenlive , load project (or create new 1 , drop clip timeline), kdenlive crashes. this console output: opengl vendor: "nvidia corporation" opengl renderer: "geforce gt 630m/pcie/sse2" opengl threaded: true opengl arg_sync: true opengl opengles: false opengl vendor: "nvidia corporation" opengl renderer: "geforce gt 630m/pcie/sse2" opengl threaded: true opengl arg_sync: true opengl opengles: false // / processing file open // / processing file open: validate opening document version 0.95 / 0.95 // / processing file validate ok *********** found guides: 0 ********** qxcbconnection: xcb error: 8 (badmatch), sequence: 19785, resource id: 88080717, major code: 130 (unknown), minor code: 3 qxcbconnection: xcb error: 8 (badmatch), sequence: 20043, resource id: 88080717, major code: 130 (unknown), minor cod...

Problems to login in Ubuntu 14.04 after new update (Friday) - Ask Ubuntu

this question has answer here: ubuntu gets stuck in login loop 37 answers yesterday (november 4), update ubuntu 14.04. after can't login. loop. type password, enter , it's return login-screen. the same happen if try guest mode. after research, found problems isn't login itself. video card driver. any clue? sorry, cannot comment question (not enough reputation point) , not complete answer. i have exact same problem. seems related nvidia driver update (when reinstalling nvidia-driver can see error not finding systemctl might explain issue). i uninstalled nvidia package with: sudo apt-get remove -purge nvidia* it allows me login again, of course use intel graphic driver. any solution ability switch between intel , nvidia welcome ;-)

command line - How to redirect dd progress in terminal to a log.txt file but still display it on the terminal during the process? - Ask Ubuntu

Image
here script :- sudo mate-terminal --geometry=50x10 -x sh -c "dd if=/dev/sda of=/dev/sdb status=progress 2>&1 | tee log.txt | md5sum > hash.txt | sha1sum > hash1.txt" i've seen people giving suggestion time; putting 2>&1. display progress in log.txt file , terminal display nothing. here's picture of progress on log.txt file. if remove 2>&1 , go with command | tee log.txt only terminal show progress , nothing display in log.txt file i've tried:- (command 2>&1) | log.txt command 2> | log.txt and many more can't recall. can me? redirect both stderr , stdout |& in bash: sudo mate-terminal --geometry=50x10 -x bash -c "dd if=/dev/sda of=/dev/sdb status=progress |& tee log.txt"

lxd - Where are the LXC container configuration files located? - Ask Ubuntu

i working lxc containers , attempting setup network configuration cannot locate configuration file. every piece of documentation or answered question has been older outdated versions of lxc. much of documentation found refers folder in /var/lib/lxc, folder not exist. documentation refers commands such "lxc-create" not exist. i using lxd manage containers instead of libvirt, if makes difference. i guess talking 'old' lxc containers. in case running ubuntu 16.04 or ubuntu 16.10, located in /var/lib/lxd folder, commands changed. to list of available commands, execute lxc --all , deeper information lxc manpage . here can find additional useful information "newer" lxd system containers in ubuntu : linux containers - lxd lxd doc / configuration the lxd 2.0 story series

kde4 - How to reset KDE desktop to default on Ubuntu 14.04? - Ask Ubuntu

kde , gnome desktops looking awesome on ubuntu 14.04 lts, today seemed ugly. slim long font, arabic letters in chromium/firefox barely readable no matter how big made them on system font settings. how can previous looks settings, without compromising other settings , tweaks? here versions: kde4-config -v : qt: 4.8.6 kde development platform: 4.13.3 kde4-config: 1.0 kded4 --version : qt: 4.8.6 kde development platform: 4.13.3 kde daemon: 4.13.3 to reset user kde: mv ~/.kde4 ~/.kde4.old then restart pc. set kde settings default.. all setting set default.

drivers - After upgrade, nVidia card is ON by default - Ask Ubuntu

after recent update on 16.04.1, involved nvidia drivers, nvidia card (optimus) turned on default @ every boot, causing overheating. i can tell card on because cat /proc/acpi/bbswitch returns 0000:01:00.0 on . turn off use sudo tee /proc/acpi/bbswitch <<<off . in past, when experimenting nvidia drivers , xorg edgers ppa repo, experienced similar problem, solved purging repo , reinstalling drivers in ubuntu repo. since latter driver i'm using, wonder can fix problem. after mixing solutions bumblebee not disabeling nvidia , http://www.webupd8.org/2016/08/how-to-install-and-configure-bumblebee.html seems have got place now. here steps have performed (modulo bad memory!) purge bumblebee* , primus* install nvidia-prime make sure nvidia drivers installed system settings -> software & updates -> additional drivers. have tried nvidia-370, didn't work first time. can give try, in end i've got working proprietary driver nvidia-367. sudo p...

dual boot - Persistent filesystem access issues in Windows 10 - Ask Ubuntu

i'm dual booting ubuntu gnome 16.04 , windows 10 across 2 hard drives. originally, if try , access windows partition ubuntu, error, disabling fast startup , hibernation fixes this. after received anniversary update windows 10, still have problem although have confirmed hibernation off. fast startup option has disappeared menu. suspect change windows in anniversary update has interfered ubuntu accessing ntfs filesystem. i have heard tool ntfsfix can remove hiberfil.sys file , allow ubuntu access partition, after several users considerable reputation expressed concern could lead data loss , don't think should considered final answer. how should solve it? side note: have been commented on post linked above, lack 50 reputation comment there.

virtualization - Failed to open a session for the virtual machine win-7 - Ask Ubuntu

ubuntu 16.04.1 showing error while running virtual machine: failed open session virtual machine win-7. virtual machine 'win-7' has terminated unexpectedly during startup exit code 1 (0x1). result code: ns_error_failure (0x80004005) component: machinewrap interface: imachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd} shutdown vm's. go /home/$user/.virtualbox/ folder find file virtualbox.xml-prev mv virtualbox.xml virtualbox.xml.bak mv virtualbox.xml-prev virtualbox.xml if fails, can reverse rm virtualbox.xml && mv virtualbox.xml.bak virtualbox.xml try restarting virtualbox other possible fixes: sudo /etc/init.d/vboxdrv setup or sudo dpkg-reconfigure virtualbox-dkms

filemanager - How can I list modified files first before folders? - Ask Ubuntu

Image
i trying achieve following listing. modified files should listed before folders. open open file dialogue window , right click on name sorting bar, in menu opens option sort folders before files , uncheck this

16.04 - Windows move to external monitor at connection - Ask Ubuntu

when connect external monitor laptop using hdmi, windows open on laptop's display move newly connected monitor. any idea of causes behavior , how have windows stay on laptop's display ? i'm using ubuntu 16.04 , unity. thanks

grub2 - How to restore Alienware boot animation after dual booting with Ubuntu? - Ask Ubuntu

i have alienware 17 r3. have dual booted ubuntu 16.04. now when select windows in grub menu, generic windows 10 animation shows 1024x768 resolution. there way restore alienware boot animation? i have feeling may restored if replace grub2 windows10 bootloader? if solve, how can that? laptop in uefi mode. thank you.

login loop: systemd-udevd[713]: failed to execute '/bin/systemctl start --no-block nvidia-persistenced.service': No such file or directory - Ask Ubuntu

my pc working yesterday without problem. shut down , tried open morning. prints out these messages on black screen: systemd-udevd[713]: failed execute '/bin/systemctl' '/bin/systemctl start --no-block nvidia-persistenced.service': no such file or directory systemd-udevd[852]: failed execute '/bin/systemctl' '/bin/systemctl stop--no-block nvidia-persistenced': no such file or directory it continued login screen. entered password , pressed enter . waited while , login screen reappeared again. how can fix problem? in case else has problem, worked me: press ctrl+alt+f1 open terminal , login. run sudo apt-get install nvidia-current , sudo reboot downgraded nvidia-304 , fine after reboot

boot - Create an Ubuntu Server bootable USB doesn't work - Ask Ubuntu

these instructions ( https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-ubuntu ) doesn't work ubuntu server iso. doing dd if=ubuntuserver.iso of=/dev/sdb doesn't work either. in both situations, after ubuntu server installer boots correctly, says hasn't found cd drive , stops. i've usb stick i've put content of ubuntu server iso on it. i've configured syslinux (with no append parameter) pointing vmlinuz+initrd present in "install" folder. installer boots correctly hangs error saying doesn't find cd-rom. if replace vmlinuz+initrd "hd-media" ones (available here ) error: installer can't find iso file anywhere (which logical because don't have iso, have expanded tree on sdb1). so can't boot ubuntu server 16.04 usb stick. cloning current ubuntu server 16.04.1 lts iso files dd works me. use mkusb or mkusb-nox wrap safety belt around powerful dangerous dd tool. maybe original 16.04 version bad. ...

xubuntu - NumLock turns off after login? - Ask Ubuntu

hi numlock turned on during grub2 , login, password verified automatically turned off. happens during loading of profile on toshiba laptop after clean install (on new ssd disk), annoying setting hide? please how can xubuntu leave numlock alone? well after couple of upgrades xubuntu have decided leave numlock way (turned on), happened still mystery me!! so accept silokos answer - effort.. happy ubunting ;-) according this article need install helpder utility , ensure runs after logging on: sudo aptitude install numlockx # install numlockx sudo vim /usr/share/lightdm/lightdm.conf.d/99-numlockx.conf # create config file lightdm start numlock @ boot and enter [seatdefaults] greeter-setup-script=/usr/bin/numlockx on

How can I integrate Thunderbird Lightning calendar into the Unity message indicator menu? - Ask Ubuntu

Image
thunderbird provides lightning , proper calendar solution. in analogy "contacts" solution, how can integrate "calendar" message indicator menu of ubuntu 16.10 unity?

OpenGL automatically "smooths" sprites in games like DOOM, Duke Nukem 3D, etcetera on System76 laptop with Intel graphics -- make it stop! - Ask Ubuntu

this first-ever time posting on stackexchange, please gentle me. i aficionado of retro first-person shooters doom, duke nukem 3d, etcetera. may recall, enemies/objects in these games two-dimensional sprites. lot of modern source ports use opengl render graphics, great, however: on brand-new (purchased october 2016) system76 laptop intel graphics, opengl automatically smoothing two-dimensional enemy/object sprites, in programs there option turn off feature. want retro, blocky sprites! i'm pretty sure there must hack can apply fix this, i've done lot of google searches , haven't found information on how can change it. running ubuntu 16.10, though i've run 16.04 , fedora 24 on laptop , i'm still getting same issue. can help?

networking - wifi doesnt work after upgrading to 16.04 (Module wl not found) - Ask Ubuntu

have tried on internet. have turned off secure boot via bios too. sudo modprobe wl returns modprobe: fatal: module wl not found in directory /lib/modules/4.4.8-040408-generic dkms status returns bbswitch, 0.8, 4.4.0-34-generic, x86_64: installed bbswitch, 0.8, 4.4.0-38-generic, x86_64: installed bbswitch, 0.8, 4.4.0-47-generic, x86_64: installed broadcom-sta, 6.30.223.271: added nvidia-367, 367.57, 4.4.0-47-generic, x86_64: installed psmouse-dkms-alpsv7, 1.0, 3.13.0-32-generic, x86_64: installed virtualbox, 5.0.24, 4.4.0-47-generic, x86_64: installed modinfo wl returns modinfo: error: module wl not found. dpkg -l *broadcom* returns desired=unknown/install/remove/purge/hold| status=not/inst/conf-files/unpacked/half-conf/half-inst/trig-await/trig-pend|/ err?=(none)/reinst-required (status,err: uppercase=bad)||/ name version architecture description +++-==============-============-============-================================= un broadcom-sta-c <none...

16.04 - Ubuntu GNOME display fails to start on boot - Ask Ubuntu

Image
i have made fresh ubuntu gnome 16.04.1 install through usb , there no problems during first boot. booting os second time throws me tty1 . here have tried: booting usb again trying boot hard drive initializes display successfully. however, original symptom, once shutdown computer , re-start again throws me tty1 in tty1 , have tried issuing service gdm stop & service gdm start sudo privileges. nothing worked. in tty1 , issuing sudo startx starts display manager root current user. using terminal window, restarting gdm service above initiate gdm me current user. in tty1, typing startx without root privileges fails are there défaux init scripts ? have updated packages. edit 1: issuing sudo service gdm restart reactivates graphical tty7 , solves problem. however, have enter every time @ boot. guess there components related gdm initialization load after gdm or similar. edit 2: after being dropped tty1, "num-lock" flickers rapidly 20 seconds. if typed u...

drivers - HP envy x360 15.6 touchscreen will not work - Ask Ubuntu

just got hp envy x360, seems hybrid of envy , spectre. black case, 1080 display, spectre wifi card, , many other things didnt order upgraded , sent china. kinda cool, but, cannot touchscreen work. works fine in windows, not on ubuntu 16.04. running dual boot.any work arounds, suggestions?, as best can tell, model m6-ar004dx has elan0732 i2c touchscreen controller. module hid_multitouch (when manually loaded modprobe ) doesn't anything, nor elants_i2c . found other kernel bug reports late last year pertaining gpio interrupts on amd processor, thing apparently relies on, not working correctly, supposedly fixed. silently fails detected. you can see if device examining directory /sys/bus/i2c/devices also, if trying use networkmanager setup wifi on particular laptop, , having problems adapter seemingly doesn't want stay enabled, should check existence of , remove module acer_hid . lsmod | grep -i acer , if there's in list lsmod -r sucker , see if networkm...