Posts

Showing posts from April, 2014

apt - How do I remove WINE as a virtual package? - Ask Ubuntu

i wiped image rid of weirdness going on system , reinstalled ubuntu. followed usual wine installation instructions (add wine ppa, update/upgrade, , install), , ran winecfg , , went smoothly. however, refuses run windows .exe file, though show on right-click menu. i decided uninstall wine , compile myself make sure no odd bugs going on public binary. opened terminal , typed sudo apt purge wine , told virtual packages 'wine' can't removed . how fix this? edit: here output of apt-cache show wine : package: wine source: wine1.8 priority: section: metapackages installed-size: 6 maintainer: scott ritchie <scottritchie@ubuntu.com> architecture: amd64 version: 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1 depends: wine1.6 | wine1.8 filename: pool/main/w/wine1.8/wine_1.8.0-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb size: 992 md5sum: a39802d002bc8288e788b8ed18cda444 sha1: bb16cb968823dbde908bb5062d45a6df145d97d4 sha256: 85d8c892be1c13c0c819473f767217ee0c90f...

MySQL-Workbench 6.3.6 can not display server status. Platform time_t error - Ask Ubuntu

Image
i run ubuntu 16.04 lts , mysql server version: 5.7.15-0ubuntu0.16.04.1 (ubuntu). works seemingly fine, sever status not. the error message is: "unhandled exception: timestamp out of range platform time_t". python error. when run mysql through shell, status reports following: any clues why uptime screwed? how 1 fix uptime in order avoid platform time_t error in workbench application? my uptime: just guess - have ntp sync enabled? having same issue on ubuntu 12.04 hyper-v guest. when ubuntu boots, mysql being started prior time sync , gets nice eternal uptime. simple solution - service mysql restart. proper solution - make sure mysql service starts after ntp sync.

mount - How can I grant guest accounts read (or read-write) permission on a folder outside their home? - Ask Ubuntu

i have stuff stored in external partition (ext4) mounted through /etc/fstab location /vms . inside directory, have folder shared should accessible (currently read-only, later maybe read-write) local users, including guest sessions. however, chmod -r a+r /vms/shared makes files world-readable standard users, not guest sessions, afaik have layer of restrictions through apparmor or denies access outside home. i have separate account guest-config serves default profile new guest sessions ( /etc/guest-session/skel symlink /home/guest-config ) able tweak guest profile settings, in case help. how can unlock specific directory (and files , subdirectories) grant guest accounts read-only or read-write access? using ubuntu 16.04 btw. (copied answer here , since saw first, , doesn't seem right mark duplicate of question asked later.) guest sessions locked down using apparmor, uses long list of special permissions keep guest users touching anything. these accessed etc/...

16.04 - Startup error Uncleared pch fifo underrun on pch transcoder - Ask Ubuntu

this question has answer here: fsck error on boot: /dev/sda6: unexpected inconsistency; run fsck manually 3 answers does 1 know how fix error? have dell note , second time error shows up. [ 1.761113] [drm:intel_set_pch_fifo_underrun_reportintel_set_pch_fifo_underrun_reporting [i915] *error* uncleared pch fifo underrun on pch transcoder /dev/sda1 contains file system errors, check forced. inodes part of corrupted orphan linked list found. /dev/sda1: unexpected inconsistency; run fsck manually. (i.e., without -a or options) fsck exited status code 4 root filesystem on /dev/sda1 requires manual fsck busybox vc. 22.1 (ubuntu 1:1.22.0-15ubuntu) built-in shell (ash) enter 'help' list of built -in commands. (initramfs) ((i wrote )) built-in commands: ------------------------------- . : [alias break cd chdir command continue echo eval exec...

flash player - random behaviour - slow video play - Ask Ubuntu

i use xubuntu 16.04 , have problem playing videos youtube, southpark.cc.com , on.. when system there chance every video stream slow in firefox , chrome well. it happen works fine in 1 session, , after restart have problem again, , if restart yet time work well, work slow too.. it weird , not know spell cast. thanks : )

dual boot - Install Ubuntu 16.04 alongside Windows 10 keeping the recovery partition - Ask Ubuntu

Image
i want install ubuntu alongside windows 10, installed on dell notebook, want preserve recovery partition. in image can see situation of hard disk @ moment, appreciate if can tell me steps install ubuntu in correct way in order preserve recovery partition , windows installation, in order have dual boot system. see partition table below!

drivers - Force ATi Mobility Radeon to Use 3D Support - Ask Ubuntu

i'm not sure if i'm asking right question here. i downgraded 16.04 14.04 on ibm thinkpad t42 , noticed if try use unity, lags high hell, , graphics card, ancient ati mobility radeon 7500 not support 3d interface unity needs function properly. there way can force graphics card use 3d support or able run unity? lot. is there way can force graphics card use 3d support or able run unity? no, there isn't. ati mobility radeon 7500 old that. consider using ubuntu variants xubuntu or lubuntu run less demanding desktop environments.

16.04 - Monitor multiple desktop remotely continuously - Ask Ubuntu

Image
scenario i have 3 barebone system following specifications (from systeminfo page) used basic work in office such data entry, seo...: intel celeron cpu j1800 @ 2.41ghz x 2 3.7 gb ram intel bay trail graphics (intel gma 4000 hd mentioned on vendor website) 32 gb ssd (and that's internal space, no spinning disk) ubuntu 16.04 64bit i hope made right choice removing windows 7 , installing ubuntu 16.04 don't have hdd space. there 2 more development system on windows migrating both developers ubuntu. i have experience in linux. far being sysadmin expert! problem to make sure made right choice , assist developers , call center/data entry operators on fly need way can information system can remotely such as processes ram, processor , swap status system , down time (event manager data) to assist, can further use ssh (or teamviewer) observation of system quality , how user using it, need hands on info can on real time! i have cloud ubuntu system on aws-ec2....

What tools could I use on Ubuntu 16.04 to cut mp4 files into several clips? - Ask Ubuntu

this question has answer here: video editing software options? [closed] 9 answers i trying cut long video several small pieces. recommended tools can task? i found ffmpeg task. install ffmpeg sudo apt-get install ffmpeg copy specific short durationg video file. ffmpeg -i original.mp4 -ss 00:01:52 -c copy -t 00:00:10 output.mp4 -i:input file. file name of original video clip. -ss:start timestamp. in case tried copy new video original video started after 1 minute , 52 seconds. -t:indicating duration of new video clip, in case, 10 seconds. not sure parameter -c for, maybe action? if some1 knows, let me know plz. reference: - cut video using ffmpeg - ffmpeg seeking in subsection [cut small sections]

grub2 - Old partition to create new partition - Ask Ubuntu

Image
a few years ago started using ubuntu because somehow computer unable work windows. ubuntu worked since then, except today. today turned on computer , had problem: boot: run-init: /sbin/init: no such file or directory since have of data backed , in reality hadn't installed relevant programs on computer, decided avoid problems , reinstall ubuntu. expecting of files erased, turns out in different partition/drive size of 700gb, , "home" partition size of 46gb. don't ask me why, click ok in everything. i think 46 way little, increase size of it, have lot of space in 700gb. however, every time try resize 700gb, gparted says dangerous, don't know do. had impression 700gb partition on past , contained no system files. question is: can resize partition of 700gb without screwing grub , have reinstall it? ask because sounds difficult reinstall grub , in reality newbie have ubuntu because works computer. is there way use 700gb partition "home" partition...

server - MSMTP Gmail, username and password incorrect - Ask Ubuntu

i trying send emails using php mail(); function. have installed msmtp allow me use gmail account. whenever try send test email using msmtp destination email, system freezed , cannot write more commands. this contents of ~/.msmtprc : account gmail tls on tls_starttls on tls_certcheck off auth on logfile ~/.msmtp.log host smtp.gmail.com port 587 user ****@gmail.com ****@gmail.com password ********** account default : gmail also when work, error says bad credentials though details correct, access less secure apps on , there no 2-step verification. if allowing less secure app doesn't work, should consider 2fa. here working configuration: account default host smtp.gmail.com port 587 "yourusername@gmail.com" tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt auth on user "yourusername" password "yourapppassword" ...

In the Midori browser, the font is confusing - Ask Ubuntu

Image
please see pic below. ubuntu 16.04 all fontconfig files in home had been deleted. unity-tweak-tool no effect.

Ubuntu Server 14.04 fails to boot within VSphere - Ask Ubuntu

essentially, issue have failure of standard ubuntu server 14.04 installs boot due disk failure (all vm's have since been shifted new disk) on end causing form of file corruption placed our servers read mode. if of these machines shutdown, never reboot again. we have access grub boot menu, file recovery mode , rescue mode through booting virtual cd. can root shell access , able view files on system make no edits (read-only mode). we have tried manually mount filesystem read/write using 'mount -o remount, rw /' failed use number of other recovery options. here's group of images displaying current standard boot process, not further shown in last image. http://imgur.com/a/ay7yq if can put noobs in right direction solve this, hugely appreciated. happy provide further info if can. thanks!

fcitx doesn't work with Sublime Text 3 and RStudio - Ask Ubuntu

i tried use fcitx type vietnamese. works programs including libreoffice , atom. however, doesn't work sublime text 3 , rstudio. should do? thanks there fix on github . make sure system updated , commands install fix (i assume have both sublime , fcitx installed) ... git clone https://github.com/lyfeyaj/sublime-text-imfix.git cd sublime-text-imfix ./sublime-imfix important: there note in link need start sublime commandline (using subl command) work.

server - MediaWiki's VisualEditor component Parsoid not working after switching php7.0 to php5.7 - Ask Ubuntu

i ask with: because of forum cms phpbb not supporting >= php7.0 had switch php5.6 on ubuntu16.04 lts server. installed php5.6 files ppa:ondrej/php , : sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php ... switched php5.6. unfortunately, caused mediawiki's visualeditor stop working. made mediawiki plug-in talk parsoid server before switching php , working expected. also, when switched php7.0 using: sudo a2dismod php5.6 ; sudo a2enmod php7.0 ; sudo service apache2 restart sudo ln -sfn /usr/bin/php7.0 /etc/alternatives/php ... wiki working fine once again, posts phpbb functionalities phpbbcodes , tags failing submitted. php7.0 version unsupported cannot complain, trying make parsoid work php5.6 (which should supported). error displayed when: clicking "edit" tab should invoke visualeditor: visualeditor "edit" - 500 error clicing "save" button when creating n...

kernel - Why does `make install` fail with "gzip: stdout: No space left on device" when the disk is not full? - Ask Ubuntu

i have compiled new kernel , set of modules base on linux-headers , linux-source packages within ubuntu. carious compilation steps have gone until attempt make install fails in following manner: root@thorne-ul-dt:/usr/src/linux-source-4.4.0# make install sh ./arch/x86/boot/install.sh 4.4.21 arch/x86/boot/bzimage \ system.map "/boot" run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.21 /boot/vmlinuz-4.4.21 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.21 /boot/vmlinuz-4.4.21 update-initramfs: generating /boot/initrd.img-4.4.21 gzip: stdout: no space left on device e: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed /boot/initrd.img-4.4.21 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited return code 1 arch/x86/boot/makefile:191: recipe target 'install' failed make[1]: *** [install] error 1 arch/x86/makefile:260: recipe target 'install' failed make: *** [install] error 2 now have read far ha...

Instaling ubuntu via usb? - Ask Ubuntu

newbie user question :1 (oh yes there more) after being shafted microsoft unable use cd/dvd drive. can download & install ubuntu via usb/memory stick? have 3 partitions on pc 149gb (with windows)/ 763gb data , 17gb (new volume). have asus et2221a in 1 pc yes, refer this page . need create bootable usb stick on machine first though (or same machine if running windows).

apt - Is there something like "Windows Subsystem for Linux" for android? - Ask Ubuntu

is there "windows subsystem linux" android oficially supported? interested in apt-get or snap commandline applications. no, there no such thing windows subsystem linux android. if primary concern using apt-get or snap on android, may try ubuntu touch based phones use ubuntu os , snap. i found app says can install linux distro on androids. check here https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&hl=en related question on android se - https://android.stackexchange.com/questions/59863/a-real-terminal-root-or-no-root

hp - How to make GRUB2 work with Windows 10? - Ask Ubuntu

installed ubuntu 16.04.01 side side win10. it's there grub not work. grub2 on sda6 ubuntu. should not on sda1 efi file or on sda3 win10? hp laptop (i gather hp particular problem. had known before bought ...) uefi boot. have edited efi file changing boot order efibootmgr , nothing changed. current state of efi file after edits ... bootcurrent: 0002 timeout: 0 seconds bootorder: 0001,3001,3001,0002,0000,2001,2002,2004 boot0000* notebook hard drive - hgst hts545050a7e680 boot0001* windows boot manager boot0002* ubuntu boot2001* efi usb device boot2002* efi dvd/cdrom boot3001* internal hard disk or solid state disk extract mtab ... /dev/sda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 /dev/sda3 /media/carol/windows fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 from boot repair ([ http://paste2.org/mwc9zic2 ]) ntfs ...

Steam doesn't start after upgrade to Ubuntu 16.04 - Ask Ubuntu

after upgrade ubuntu 16.04, steam doesn't start. when execute command line, following error: $ steam running steam on ubuntu 16.04 64-bit steam_runtime enabled automatically grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc installing breakpad exception handler appid(steam)/version(1459463254) i upgraded 14.04 lts 16.04 lts , wasn't able start steam. started (i mean, 'steam' continued running), nothing happened after few seconds. for me , workaround found run steam commandline with: ld_preload='/usr/$lib/libstdc++.so.6' steam non-essential information below. steam provides "mini distribution" it, called steam runtime, isn't doing complete job somehow clashes system c++ standard library and/or other libraries. during experiments had complaint of system libreadli...

How to know which programs have Numix icons? - Ask Ubuntu

specifically i'm interested in pc games have numix circle ones. provided compiled somebody, i'd list of completed icons. tried google it, found nothing. after installing numix-icon-theme-circle package app icon files copied to: /usr/share/icons/numix-circle/48/apps/ (my folder lists 4276 files there). can filter names of games or other programs you're looking for. i hoping more comprehensive (like up-to-date list of what's completed put somewhere on internet info updates), it's better nothing.

Can I get hardware acceleration working for video (H.264) in firefox? - Ask Ubuntu

my cpu maxing out , fans going crazy whenever watch streaming video on firefox. visiting about:support , see hardware h264 decoding: no , despite firefox otherwise recognising intel gpu. looking @ couple of mozilla bugs, looks maybe don't support hardware acceleration video, correct? there way hardware video acceleration firefox on ubuntu? https://bugzilla.mozilla.org/show_bug.cgi?id=563206 https://bugzilla.mozilla.org/show_bug.cgi?id=1210727

mount - Write enabled files in shared folder opened as readonly in some applications - Ask Ubuntu

from nautilus using connect server option have setup shared folder in ubuntu desktop points samba shared folder in nas. user connects shared folder has read , write permissions in files , folders, , can read, rename o create files in shared folder directly nautilus. but if open file share applications cannot make changes because opened readonly. example, happening me when opening image eog (default image viewer) or .kdbx file keepassx. however, if open text file gedit or libreoffice document, these applications treat remote files writable. i have checked shared folder mounted writable: gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) i have tried mounting shared folder using cifs /etc/fstab no luck. i have discarded problem have server configuration or user permissions can write in share no problem through nautilus, libreoffice or gedit. seems strange me applications eog see remote files readonly. maybe need...

14.04 - Google earth repository - Ask Ubuntu

i use sudo sh -c 'echo "deb http://dl.google.com/linux/earth/deb/ stable main" >> /etc/apt/sources.list.d/google-earth.list' then wget -q -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - then got sudo apt-get install google-earth-stable:i386 reading package lists... done building dependency tree reading state information... done following packages automatically installed , no longer required: libllvm3.6 libllvm3.6:i386 use 'apt-get autoremove' remove them. following new packages installed: google-earth-stable:i386 0 upgraded, 1 newly installed, 0 remove , 0 not upgraded. need 25.2 mb of archives. after operation, 100 mb of additional disk space used. err http://dl.google.com/linux/earth/deb/ stable/main google-earth-stable i386 6.1.0.4738-r0 404 not found [ip: 216.58.198.206 80] e: failed fetch http://dl.google.com/linux/earth/deb/pool/main/g/google-earth-stable/google-earth-stable_6.1.0.4738...

partitioning - Delete Ubuntu dual boot on Mac w/ rEFInd - Ask Ubuntu

i installed ubuntu-gnome 16.10 using 8 gb swap , 42 gb main partition on macbook pro , changed de unity. want delete whole ubuntu thing , free 50 gb space can add them macos partition. used refind install ubuntu. can tell me step-by-step should delete ubuntu , how make 1 big partition in beginning? in advance. :) removing ubuntu open disk utility /applications/utilities . click on hard drive in left-hand sidebar (the drive, not partition) , go "partition" tab. find ubuntu partition want remove (you labeled them when first created them). click on partition want remove, click small minus button @ bottom of window. remove partition system. click corner of mac partition , drag down fills free space left behind. click apply when you're finished. your mac may take minute perform necessary processes, when it's done, system original macintosh self. if had refind installed on system, can leave there—it isn't going hurt anything, if want remove fol...

wine - AoE II HD black screen problem - Ask Ubuntu

i installed age of empire ii hd wine (version 1.6.2) on ubuntu 16.04. don't have steam. works except map, stays black! i know can solve problem using -nostartup command not know how works or put it. open terminal move directory game installed. (if using wine, should ~/.wine/drive_c/program files (x86)/age of empires ii hd/ ) cd ~/.wine/drive_c/program files (x86)/age of empires ii hd/ execute: wine "aok hd.exe" -nostartup where aok hd.exe name of game binary file. have name, depends on version of game. enjoy!

permissions - Can I automatically add a guest user (guest-session) to a user group? How can I do it) - Ask Ubuntu

i need guest users in specific user group. create new guest-account , add group. i'd rather use existing guest-session-option integrated in ubuntu (16.04). there way it? found ways automaticaly launch scripts/programs or costumize startup-dialog. thank in advance! yes. make guest users belong mygroup , create /etc/guest-session/prefs.sh , add line: adduser $user mygroup

grub2 - Can I boot a Live USB fully to RAM, allowing me to remove the disk? - Ask Ubuntu

Image
i have live usb made standard ubuntu disk image creator 16.04 lts. in current state, can boot disk, still requires original usb run @ times. attempting pull drive , use system generates large amount of i/o errors, further suggesting usb drive needed things not already loaded ram (for example, firefox worked without usb, used once before already. apt , on other hand, did not.) is there way copy entire ubuntu live disk ram, can remove drive , free usb slot other things? you need add toram boot parameter in grub. here how can that, tested (and screenshots taken) ubuntu 16.04 64 bit desktop iso in vm: boot in uefi mode boot live dvd/usb , wait grub menu appear. highlight try ubuntu without installing using ↑ / ↓ , press e edit boot script. search line starting linux , add option toram right after (or instead of) quiet splash , depicted above. press f10 boot modified script. after ubuntu has booted, may eject/unmount live dvd/usb device , continue us...

scripts - PDF to images to PDF - Ask Ubuntu

i have pdf want show without giving them ability copy it. 1 possible way convert pages images, these pdf. how can use convert or pdftk or otherwise script? not gui. imagemagick rasterizes everything. do: convert -density 200 input.pdf output.pdf of course recipient might decide run ocr program on file. density parameter sets resolution expressed ppi.

bug reporting - Nautilus opens wrong directory - Ask Ubuntu

Image
when click on item on nautilus places , devices menu, opens place if clicked on item. example, click on "home", opens "desktop". opens trash when click on home. how solve that?

partitioning - How to delete Linux Ubuntu from a macbook? - Ask Ubuntu

this question has answer here: how can remove ubuntu 12.04 macbook pro? 4 answers how use manual partitioning during installation? 6 answers i've installed linux ubuntu on macbook. however; wasn't version looking for. during installation expecting partition window. didn't show , went straight installation. had chosen option install linux alongside mac. i'd remove it. have found of files have been installed in volumes folder inside partition had macos on (i have 1 windows). linux removed if remove files or need else well? know cause cant format whole partition , stuff. it's got macos on it.

print screen - How to disable or uninstall printscreen feature in ubuntu - Ask Ubuntu

i using ubuntu gnome 14.04.5 desktop comes gnome3. trying disable printscreen feature systemwide users uninstalling gnome-screenshot , moving gdm-screenshot binary /usr/bin/ still printsrc button works , saves screenshot in pictures directory. please advise me how disable this. i found solution disable printscreen feature systemwide, via gsettings have below gsettings commands in .sh file , place under /etc/profile.d/ gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot 'disabled' gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot 'disabled' gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot-clip 'disabled' gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot-clip 'disabled' gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot 'disabled' gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot-clip ...

virtualization - Shared Folders in QEMU-KVM with Virt Machine but without net - Ask Ubuntu

i'm running kubuntu 16.10 host , windows 10 guest. the guest system should sandbox without internet removed network card. there option in virt-manager add filesystem (instead of storage device). added path, how can access in guest system (windows)? i can't find documentation of acces in guest windows. i looking definition path of host assigns letter or directory in guest-windows. i don't want use samba virtual-nic tried , working. the second option set-up nic disabled internet. many help andy

Bluetooth keyboard with jumbled keys - Ask Ubuntu

Image
i bought bluetooth keyboard (which works fine on windows) , keys either jumbled or not working @ all. worked fine on ubuntu until pressed num lock key , ever since stopped working. tried reset keyboard removing battery nothing helps. keys work num pad keys fn key, backspace, = (which mapped under - key) , special function keys (such volume mute/up/down (f10,f11 , f12 respectively), brightness (f5 , f6) etc (all of not in accordance hardware layout) does know how fix this? it's maxxter act-kb-bt-001 keyboard requires pin typed upon connecting. can connect bluetoothctl , shows me info jumbled keys problem persist. [bluetooth 3.0 keyboard]# info device 16:07:02:00:0e:a2 name: bluetooth 3.0 keyboard alias: bluetooth 3.0 keyboard class: 0x002540 icon: input-keyboard paired: yes trusted: yes blocked: no connected: yes legacypairing: yes uuid: service discovery serve.. (00001000-0000-1000-8000-00805f9b34fb) uuid: human interface device...

settings - How to set keyboard repeat delay and speed in Ubuntu Gnome 16.10? - Ask Ubuntu

in previous versions tweak keyboard repeat delay , speed going settings > keyboard > typing . in ubuntu gnome 16.10 (with gnome 3.20.2) panel seems missing. how can configure settings in version? ok, i've found it. settings moved settings > universal access > typing > repeat keys the same works in ubuntu 17.04

networking - How to configure range of static IPs (/22) in Ubuntu 16 Server? - Ask Ubuntu

i’m having trouble getting /22 subnet working on ubuntu 16 server. outside world, cannot ping ips assigned vlan except .2 ubuntu server network config: root@server15:~# cat /etc/network/interfaces # file describes network interfaces available on system # , how activate them. more information, see interfaces(5). source /etc/network/interfaces.d/* # loopback network interface auto lo iface lo inet loopback # primary network interface auto eno1 iface eno1 inet static address xxx.53.16.2 netmask 255.255.252.0 network xxx.53.16.0 broadcast xxx.53.19.255 gateway xxx.53.16.1 # dns-* options implemented resolvconf package, if installed dns-nameservers xxx.xxx.33.61 xxx.xxx.33.62 dns-search domain.com tried method too...can't ping ip .1 , .2 root@server:~# ip addr add xxx.53.16.1/22 dev eno1 root@server:~# ip addr show 1: lo: <loopback,up,lower_up> mtu 65536 qdisc noqueue state unknown group default qlen 1 ...

sound - USB devices disappear after Ubuntu 16.10 - Ask Ubuntu

i've been having strange issue computer ever since upgraded 16.10. have 2 usb devices connected computer (my logitech wireless adapter mouse , keyboard, , usb headset). every they'll stop working. if re-connect mouse adapter different port it'll start working again, isn't case headset. once disappears list of devices, won't come until after restart computer. not sure what's going on, have windows on same computer , 2 devices work without issue on there . not sure if it's related, quality of actual sound card on computer has sounded pretty bad since 16.10 update too. i able trigger loading youtube video, disconnected started playing. mouse , keyboard stayed connected, sound on headset totally out , it's not listed under "output devices". dmesg output – money quote: [ 186.351700] ohci-pci 0000:00:12.0: hcdonehead not written back; disabled [ 186.351715] ohci-pci 0000:00:12.0: hc died; cleaning [ 186.351776] usb 4-1: usb disc...

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. ...

server - Restore root user ownership - Ask Ubuntu

long story short, have been working digital ocean droplet learn bit more managing own server. somewhere along line, managed set ownership of directories user (serverpilot), , root user can no longer see or access them. i have 2 users on server, 1 (root) sudo privileges , other basic user (serverpilot). when ssh server root, unable see bunch of directories. when via serverpilot use, can see them all. doing ls -l shows owner 'serverpilot'. since 'serverpilot' doesn't have sudo privileges, how can reset owner 'root', both 'root' , 'serverpilot' can access directories? have boot server in recovery? i'm running ubuntu server 16.04 if makes difference. edit: per comments of @davidfoster below, output of getfacl . wp-content follows: # file: . # owner: serverpilot # group: serverpilot user::rwx user:www-data:r-x group::r-x group:serverpilot:rwx #effective:r-x mask::r-x other::r-x default:user::rwx default:user:www-data:r...

14.04 - Transferring tty1 to systemd on Ubuntu Server 16.10 - Ask Ubuntu

on ubuntu server 14.04 using tty1.conf launch chromium browser window display web page. simple enough. however, on ubuntu 16.10 tty1.conf gone , don't have understanding of systemd. code on tty1.conf # tty1 - getty # # service maintains getty on tty1 point system # started until shut down again. start on stopped rc runlevel=[2345] , ( not-container or container container=lxc or container container=lxc-libvirt) stop on runlevel [!2345] respawn #exec /sbin/getty -8 38400 tty1 exec /usr/bin/startx /home/username/launch.sh and on launch.sh #!/bin/sh xrandr -o right sleep 1; xset s off sleep 1; xset -dpms rm -r /home/username/chrome-home chromium-browser --kiosk http://localhost:81 --user-data-dir=/home/username/chrome-home this code used run launch.sh using tty1 , launch.sh used display content on localhost webpage. can please me recreate using systemd. many thanks!

to delete a file in ubuntu - Ask Ubuntu

this question has answer here: how delete non-empty directory in terminal? 5 answers i wanted recover files while recovering them made folder used of disk space , space free 0 bytes. how can delete not allowing me delete it? sudo rm -rf <your folder path> what command force recursive removal of files , directories within specified directory, directory itself. note: please make sure backup needed files, , very careful when using command! using on system directory or files will, in essence, destroy system!

16.04 - Swap not being used - Ask Ubuntu

my swap not being used, no matter how full ram gets. swapon output: name type size used prio /dev/dm-2 partition 31,9g 3,5m -1 could prio -1 problem? cat /proc/sys/vm/swappiness 60 my swappiness 60. cat /proc/swaps filename type size used priority /dev/dm-2 partition 33456124 3524 -1 i have 32gb of ram , 32gb of swap, when memory runs system lock permanently rather start swapping. can that? basically trying run application eat 30gb of memory, while me physical memory half full. while booting , loading data memory system freezes, once physical memory full. , no doesn't appear lock while swapping, since after while doesn't unfreeze. don't think so. first check cat /etc/fstab swap partition, try formatting swap file system with sudo swapoff -a sudo /sbin/mkswap /dev/sd## sudo swapon -a

webcam - Laptop web camera "active" history - Ask Ubuntu

is there way see history of when web camera has been active? example during previous day? technically, possible do, realistically, no. you might find possible duplicate of value: https://security.stackexchange.com/questions/80285/do-webcams-generates-logs-on-operating-system

system installation - USB Error when install Ubuntu on my PC - Ask Ubuntu

i'm trying dual boot ubuntu 16.10 on windows 10 pc when try boot installer says this: hid-gereric 0003:2833:0031.0004: usb_submit_urb(ctrl) failed: -1 please help. when boot livecd, press "e" access grub boot parameters. find line: grub_cmdline_linux_default= and add following: "usbhid.quirks=<keyboard quirk>" , in quotes, after grub_cmdline_linux_default= . you need research line keyboard. example, if have corsair keyboard, need change <keyboard quirk> section of command. k65 rgb: usbhid.quirks=0x1b1c:0x1b17:0x20000408 k70: usbhid.quirks=0x1b1c:0x1b09:0x0x20000408 k70 rgb: usbhid.quirks=0x1b1c:0x1b13:0x20000408 k95: usbhid.quirks=0x1b1c:0x1b08:0x20000408 k95 rgb: usbhid.quirks=0x1b1c:0x1b11:0x20000408 strafe: usbhid.quirks=0x1b1c:0x1b15:0x20000408 strafe rgb: usbhid.quirks=0x1b1c:0x1b20:0x20000408 m65 rgb: usbhid.quirks=0x1b1c:0x1b12:0x20000408 sabre rgb optical: usbhid.quirks=0x1b1c:0x1b14:0x20000408 sabre rgb laser: usb...

ram - Trash extremely slow ubuntu 16.04 when used for big files - Ask Ubuntu

i re writing question avoid confusion... on ubuntu 16.04 had delete 6500 files. 50% raw images , 50% associated .xml files. totalling 72gb. using samsung evo ssd 500gb. moved files rash first , deleted them. noticed moving files trash consumed ram (8gb) , swap (8gb). there setting can make trash in ubuntu behave more efficiently? know can force delete files , bypass trash altogether defeats purpose of trash completely. or behaviour expected? this behavior expected, because when delete using nautilus, moves trash, know. correction: not expected behavior. bb1 points out, 'moving' file trash doesn't move anywhere, updates it's inode reflect location. i guess ram being eaten because takes more system resources delete (or with) bunch of small files delete 1 bigger file. the behavior of trash doesn't appear customizable. there's not done that, unfortunately. trash-cli , don't know if more efficient or not. when have delete bunch of small f...

12.04 - Mate 16.04.1 and western digital mybookworld NAS not talking - Ask Ubuntu

i'm upgrading main machine 12.04 lts mate 16.04.1. use western digital (white light) nas on network. works fine on 12.04 won't mount 16.04. here's know far. on 12.04, here mount does /etc/fstab entry 10.1.0.3:/nfs/public /media/public nfs nolock,rw,hard,intr 0 0 (note: above entry works on existing 12.04 machine) $> sudo mount /media/public jgd@john-laptop:~$ sudo mount -v /media/public mount.nfs: timeout set sat nov 12 13:05:43 2016 mount.nfs: trying text-based options 'nolock,hard,intr,vers=4,addr=10.1.0.23,clientaddr=10.1.0.23' mount.nfs: mount(2): permission denied mount.nfs: access denied server while mounting 10.1.0.23:/nfs/public jgd@john-laptop:~$ now here's interesting part. if mount command line jgd@john-laptop:~$ sudo mount -v 10.1.0.3:/nfs/public /media/public i following jgd@john-laptop:~$ sudo mount -v 10.1.0.3:/nfs/public /media/public mount.nfs: timeout set sat nov 12 13:15:36 2016 mount.n...

networking - How do I set up the TP-Link Ac 1200 - Ask Ubuntu

cannot connect internet @ through usb dongle model: archer t4u ver:1.0 not have other way of connecting internet have transfer downloads usb drive you need internet connection : install linux-headers , build-essential run: git clone https://github.com/abperiasamy/rtl8812au_8821au_linux.git cd rtl8812au_8821au_linux/ save , install driver: make sudo make install the newest version can found here , can compile without editing files , recommanded @heynnema edit: original repo no longer requires editing. see abperiasamy/rtl8812au_8821au_linux/.../usb_intf.c

windows 10 - (Windows10) Ubuntu bash multitasking. is it possbile - Ask Ubuntu

(i'm newbie , sorry possibnly silly questions) i heard bash has capability of multitasking. mean ability run few terminals/console applications , switch between these (ctrl+alt+fx??) . is possible in ubuntu subsystem in windows 10 yes, can run apps in background on bash on windows (see this useful guide ). update 2018-02-06 removed previous caveat since introduced ability wsl keep daemons/background-services running if close linux consoles: https://blogs.msdn.microsoft.com/commandline/2017/12/04/background-task-support-in-wsl/ also, yes, wsl supports backgrounding tasks, running multiple sessions in different panes of single console via tmux/screen, or multiple windows console instances operating same distro instance.

boot - I fear that my hard drive may be about to break - Ask Ubuntu

this question has answer here: my ubuntu running fsck on every bootup 5 answers /dev/sda1: clean, 220240/30269440 file, 2971359/121076736 blocks [duplicate] 1 answer whenever boot computer, there's brief interruption in otherwise normal boot process. black background white text, along these lines showing: /dev/sda2 clean: <number>/<bigger number> blocks or, perhaps scarier: /dev/sda2 clean: <number>/<bigger number> blocks <number>/<bigger number> <number>/<bigger number> so on , forth. question this: hard drive die? this question has been answered here: /dev/sda1: clean, 220240/30269440 file, 2971359/121076736 blocks the top voted answer in post explains perfectly.

14.04 - Apache on Ubuntu blocking all XSS attempts - Ask Ubuntu

i have digitalocean droplet trying build intentionally vulnerable lab on school's information security program. problem apache blocking sorts of malicious requests, such cross-site scripting, file inclusion, sql injection, stuff that, , need know how disable this. here example request: get /mutillidae/index.php?page=../../../../../etc/passwd%00 http/1.1 host: ksu-labs.com upgrade-insecure-requests: 1 user-agent: mozilla/5.0 (windows nt 10.0; wow64) applewebkit/537.36 (khtml, gecko) chrome/54.0.2840.71 safari/537.36 accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 accept-encoding: gzip, deflate, sdch accept-language: en-us,en;q=0.8 cookie: showhints=1; username=admin; uid=1; phpsessid=27dps71931p1dt19vkdl0thu05 connection: close what happening server resetting connection upon reception of request , getting no response. hope guys can help. in advance. ~austin found problem, not apache or ubuntu related, appears college's firew...

ssh - Using SCP and nohup to transfer large folder between servers - Ask Ubuntu

i want copy ~50gb folder 1 server another. understandably going take quite while, i'd able perform "in background". using standard scp command requires me keep console open. read nohup , seems should trick, i'm struggling work. seems require console left open - after typing in command, nohup program remains open, , if press ctrl + c exit transfer stops. misunderstanding nohup does? or how else can achieve this? the name nohup refers hup signal, traditionally sent processes when (telephone-)line terminal connected through server hung up. nohup prevents signal being sent, when "hanging up" nowadays means "closing terminal window". tl;dr want close terminal window (or kill ssh connection on side) instead of logging out of server regularly. nohup keep process running, if terminal connection breaks in 1 way or another.

command line - Writing to multiple files with cat - Ask Ubuntu

i have empty html files want write. trying this cat account_settings/account_settings.html >> assets/assets.html, users/users.html to attempt write files assets.html , users.html . how can write multiple files? you can use tee command name tee - read standard input , write standard output , files e.g. cat account_settings/account_settings.html | tee -a assets/assets.html users/users.html or (using input redirection) tee -a assets/assets.html users/users.html < account_settings/account_settings.html as noted in manual page, tee outputs contents terminal (standard output) - if don't want see that, redirect stdout null tee -a assets/assets.html users/users.html < account_settings/account_settings.html > /dev/null

command line - Printing PDF bytes directly to printer - Ask Ubuntu

i working on .net core framework. i want printing on ubuntu. current approach using, creating pdf, saving on machine, , printing pdf using lpr command. now want is, sending pdf bytes directly printer, instead of sending pdf file path. i want this avoid saving of pdf file on machine every print command, , deleting after printing completes. so bytes printing possible in ubuntu?

0ad - Error on loading "0 A.D" saved game - Ask Ubuntu

i use ubuntu 14.04 , installed 0 a.d alpha xv:osiris . can save , load skirmish , scenario map types. got error on loading random map type: failed load saved game state. might have been saved incompatible version of game. although saved game same version of 0 a.d . how can solve problem?

schedule - How to setup cron.daily? - Ask Ubuntu

this question has answer here: cron.daily jobs not running 6 answers i put shell script inside /etc/cron.daily i hoping in folder run daily script not being ran. keep in mind scripts installed in /etc/cron.{hourly|daily|weekly|monthly} must executable, run-parts process them. update: indeed, defining shebang mandatory in cron scripts run-parts process them. , general rule: should always set one.

16.04 - How to remove everything from free hard disk space permanently and make it unrecoverable - Ask Ubuntu

i installed ubuntu on windows 7 machine , have used few tools in past recover data ssd after has been erased. wondering if there way clean hdd in way data windows 7 cannot recovered. have 200gb on sda1 , want make sure available 200gb nothing recoverable. sudo dd if=/dev/zero bs=1m of=/dev/sda1 be sure never want sda1 , because gone forever. on system works @ 100 megabytes per second, 200 gigabytes take 2000 seconds or 40 minutes. if sda1 ssd both overkill , useless @ same time; it's overkill because sudo blkdiscard /dev/sda1 very faster, , useless because ssds not overwrite physical blocks. there no absolutely safe way delete data off ssd if adversary cheka; however, if adversary cheka mighty power of soviet state behind have greater , more urgent problems wiping data off disks.

serial port - Upgrade from 16.04 to 16.10 and lost my /dev/ttyUSBX devices - Ask Ubuntu

i upgraded xenial xerus yakkety yak , lost ability connect /dev/ttyusb0-2. dmesg | grep tty returns following: :~/desktop$ dmesg | grep tty [ 0.000000] console [tty0] enabled [ 1.222490] 00:06: ttys0 @ i/o 0x3f8 (irq = 4, base_baud = 115200) 16550a [ 5.862329] usb 4-3: cp210x converter attached ttyusb0 [ 8.030587] usb 4-3: usbfs: interface 0 claimed cp210x while 'brltty' sets config #1 [ 8.032694] cp210x ttyusb0: cp210x converter disconnected ttyusb0 [ 804.989176] usb 5-5: usbfs: usbdevfs_control failed cmd brltty rqt 128 rq 6 len 255 ret -62 what heck happened? my scanner police scanner connected /dev/ttys0 works fine , jump drives when plugged usb ports. looks it's issue devices have embedded usb serial converters. linux never required drivers those. i found answer in bug report 2011 , chose uninstall brltty: https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/874181 i didn't have 15.10 or 16.04.

16.04 - Using VLC to play DVDs, get Green screen - Ask Ubuntu

first of vlc wouldn't play dvds @ all, downloaded recommended library. trys top play dvd, green screen. audio fine. running ubuntu-mate 16.05 on g5 mac powerpc i had green-screen issue on xubuntu 17.04 , fixed via following: in vlc select tools -> preferences select input/codecs tab change hardware-accelerated decoding option disable

drivers - WIFI scan without results Ubuntu 16.04 dualboot on Mac - Ask Ubuntu

i'm new ubuntu: have installed ubuntu 16.04 in dual boot on mid-2010 macbook pro.the installation seems have gone smoothly, have problem wifi, since wifi card doesn't find wifi when scanning. have checked , installed bcmwl-kernel-source according many other questions , websites(also ubuntu hel page) necessary driver wifi card have on, still nothing has changed , after 2 days og writing lots of things in shell try , resolve problem on own without success though i'd come , ask. here find output of wireless info script. though might useful explain myself better http://pastebin.com/dggcatt3 you , have same wifi card. bcm4322 pci id 14e4:432b. according chart, can try different driver. use sudo apt install broadcom-sta-dkms instead of bcmwl-kernel-source though both install wl (prop driver). you can see chart our card partially supported b43 kernel agnostic. http://linuxwireless.org/en/users/drivers/b43/#supported_devices if not having luck b43, i'...

16.04 - Oneplus X - Android 6.0 won't mount - Ask Ubuntu

heres deal, before upgraded 15.10 16.04 (and 5.1 6.0.1, yes did @ same time, stupid me) worked fine. upgraded, , got bunch on error messages mounting issues. restarted pc, , phone wont attempt mount. ubuntu version: 16.04 android version: 6.0.1 phone: 1 plus x usb debugging: on usb configuration: mtp the goal debug android studio (v2.2.2) apps on phone. i have tried installing mtpfs acording this post. didn't seem make difference. any appreciated! update 1: tried connect samsung 7, , works right of bat. still no progress on 1 plus though. turns out oneplus screwed connection-options, have fast. when connecting connection-option-notification shows in notification bar, second or two. have press it, , make sure connection mode set mtp. (even though usb configuration set mtp, has done either way.)

boot - Tried installing Ubuntu w/o CD/USB. Tried Unetbootin and no success on Win10. - Ask Ubuntu

i lack cd-rom , usb-stick, trying find alternative way install ubuntu. did found unebootin. followed instructions on best of ability. after rebooted computer, got screen: http://imgur.com/ubghgbj , expected see; however, got error screen after clicking on unebootin option: http://imgur.com/ov1k4ee . i have windows 10 asus laptop, , not sure issue is. tried messing booting specs in bios, nothing ended working @ end. i looked @ similar thread , mentioned legacy boot solve problem? if have windows , if computer powerful enough, can install virtualbox in windows. in virtualbox can create virtual machine , , can connect ubuntu iso file dvd disk, , boot , run live session 'try ubuntu'. if looks good, can stop virtual machine , create virtual disk. start virtual machine again , can install ubuntu virtual disk. -o- alternatives maybe can borrow usb stick, , make ubuntu boot drive , install ubuntu internal drive of computer. or if have second (maybe old) hard ...