/srv/irclogs.ubuntu.com/2018/12/24/#ubuntu.txt

cybercryptodelt: I have pretty hard time try understanding people that criticizing windows. I use slackware since 1996 as my workstation... but I have used Windows at every job I had since then ( and still have windows as my main work notebook).  I dont see I could even try to stop using Windows at work. I am a Systems Architect and I do respect every piece of sotfware out there.00:04
iosecureWe've been asked to take this conversation to #ubuntu-offtopic.00:04
cybercryptoiosecure: Deal.00:06
mhctud09HI00:19
poizonb0xHow do I enable the alt Fx terminals? Don't remember.00:40
mhctud09hi00:41
Bashing-ompoizonb0x: clt+alt+F4 .00:42
deltyessss, the hostname issue seemed to be resolved :D00:42
deltthanks guys00:43
CarlFKgst ... alsasrc device=hw:1,0  "Device 'hw:1,0' is busy"  How do it see why it is busy?02:12
bazhangCarlFK, gstreamer?02:13
CarlFKbazhang: yes02:16
bazhangBug 608042 could be this CarlFK ?02:18
ubottubug 608042 in alsa-driver (Ubuntu) "when playing video, if an app plays sound, sound for video dies" [Undecided,Expired] https://launchpad.net/bugs/60804202:18
Avioni have added a second monitor. laptop is 1ry and has an ugly pink box upper left that days Laptop eDP and thenother had annugly green box that reads Hewlett Packard 20" DisplayPort-0 -- laptop is 1366x768 and the HP is 1600x900 --- Well therenis a blank black band on the left edge of the HP monitor as if it cannot use the whole thing. i expected smaller type and more room for stuff on the HP + I want the movie (vlc from a commercial dv02:19
JanCyou might want to change the primary display and/or select dual display (sounds like it's in mirror mode now)02:23
CarlFKbazhang: doubtful .  I struggling with input.  I was hoping this would help, but 404 Could you please log pulseaudio's output, as explained here: https://wiki.ubuntu.com/Pulseaudio/Log02:24
preyalonehelp, hppa64-linux-gnu-gcc complains it can't find stdio.h in Ubuntu Disco when i try to compile hello world02:25
Avionboxes solved when I closed the Monitor Preferences window.02:27
AvionNow why isnt my 2nd screen filled. oh test idea.02:28
GH0stawhich distribution is the best UI?02:29
GH0stasimilar to Mac OS or Windows02:29
bazhangghost64, did you mean DE? as in KDE, lxde, gnome, etc02:30
GH0stabazhang: Yeah02:30
myselfThat question is a good way to start a holy war ;)02:31
GH0stalol02:31
GH0stasorry about that02:31
bazhangno best GH0sta , matter of taste02:32
GH0staI like MacOS environment02:32
GH0stause to of it02:32
tomreyngnome 3 is somewhat similar to os x, and also current ubuntu's default DE.02:33
bazhangGH0sta, check some screenshots online and decide02:33
GH0stabazhang: cool02:33
GH0stahow close linux mint is?02:33
tomreynyou'd need to ask them02:34
bazhangGH0sta, they should have all the de02:34
GH0stabazhang: ok02:34
GH0staso for instance, if I install Ubuntu can I go in command line and install any environment I want?02:35
bazhangor all of them02:35
bazhangjust switch at the login window02:35
GH0stasounds cool02:36
tomreynbut you should probably reinstall after decinding in case you want to end up with only one in the end.02:36
GH0staso where do I start with dual boot? :)02:36
tomreyndual boot what?02:36
tomreyni.e. which operating systems.02:37
bazhangGH0sta, which os do you want to dual boot ubuntu with02:37
GH0staWindows 1002:37
WoC-GH0sta, grub should detect Win 1002:38
tomreynGH0sta: you install windows first, ubuntu second.02:38
GH0staWindows 10 is installed02:38
GH0staWoC-:  grub?02:38
cryptodan_mobileGH0sta: https://www.tecmint.com/install-ubuntu-16-04-alongside-with-windows-10-or-8-in-dual-boot/02:39
GH0stacryptodan_mobile: thanks :)02:39
tomreyn!dualboot02:39
ubottuDual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot02:39
GH0statomreyn: cheers!02:39
GH0staopps02:41
GH0stasorry02:41
tomreynGH0sta: you'll need this to get started installing ubuntu after you installed windows: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#002:41
GH0statomreyn: yeah windows is installed now02:42
cryptodan_mobileGH0sta: use windows disk management to shrink windows02:43
GH0stacryptodan_mobile: can I installed it on a external HDD?02:46
GH0stainstall it*02:46
GH0staan*02:46
tomreynGH0sta: yes, linux doesn't limit you on what storage you install and run from. however, not all BIOSes can boot all all storages.02:48
tomreynUSB attached storages usually work fine, though02:48
=== WoC- is now known as WoC
GH0statomreyn: cool.. thanks matey02:58
no-nwhat do I need to know before buying a laptop intended to run ubuntu? will it just run on anything?03:25
tomreynno-n: it's good to know the wifi chipset if you intend to use the integrated wireless chip (i.e. not one attached to usb, or just ethernet, if it has that). it's also good to find lspci -nn and lsusb outputs of this *very* model if you can.03:39
tomreynno-n: ideally buy it so that you can return it, no questions asked, for a limited time.03:39
no-nalrighty03:40
myselfAs someone who bought a thinkpad knowing that thinkpads are extraordinarily well-supported by linux, I'm still frustrated that my touchpad is basically condemned to suck forever. It's the only thing that doesn't work perfectly, but even in the ideal casae, there can still be things that're less than perfect.03:40
myselfs/casae/case/03:41
myselfAlso, speaking from experience, set aside a USB stick and do that "create windows recovery media" step immediately when you unbox the thing, in case you decide to return it and need to put that back before doing so.03:42
matsamanDo that, but don't do it that way. Use ntfsclone and sfdisk to back it all up.03:43
matsamanWill save you tons of space, and be more reliable.03:43
matsamanmyself: how's it work, your touchpad?03:43
WoCBack in the day, you would setup your tty1..6 using inittab, but in a current system, where would you add more ttys ? tty1->8, as the standard is just tty1->603:45
matsamanNot for nothing, but why bother when you can just use GNU screen, or tmux?03:45
WoCCan be confusing when you have more than one system per tty matsaman03:46
myselfmatsaman: it was nearly perfect under 17.04, then I updated to 18.04 and spent about 2 weeks fighting with every possible synaptics option, trying to get it to do what it just did automatically before. Can't seem to. In order to get it to ignore palm-mashing, I've also got it ignoring all small movements, which means I can't do just-a-few-pixels precise pointing.03:46
matsamanWoC: what?03:46
WoCmatsaman, when you work with external systems, imho, it's easier if you have one tty per system03:47
matsamanmyself: hrmmm, I wonder if you have more things enabled than you desire, like wacom things03:47
myselfnesting tmux inside tty switching, and then maybe within that you've got ssh to another box and tmux/screen inside that...03:47
matsamanWoC: I'm pretty sure most people agree a terminal multiplexer is simpler than limiting yourself to function keys03:47
myselfit's nice to have one set of hotkeys per level of nesting, and never nest like-within-like03:47
matsamanWoC: ever try one?03:47
Jack3k3hey guys, is there a way to monitor global SIGSEGV (segmentation fault signals) for all programs running in ubuntu? is there any software that does this?03:47
Jack3k3I just want to know if a background software has a seg fault03:47
WoCyes, even used screen in screen03:47
matsamanmyself: well terminal multiplexers provide that03:47
matsamaneven more simply, actually03:48
matsamanohwell03:48
matsamanWoC: you get /etc/inittab?03:48
myselfoh I'm aware they can be nested, but you have to keep track of how many levels deep you are and count how many escapes you use, etc03:48
matsamanyou don't need them to be nested03:48
Geomyself: since you seem to have some experience... my touchpad two-finger scroll is backwards from what I'm used to (swiping down moves a page up, instead of down). Have you found a way to swap that?03:48
matsaman1-6, 1-8 is not nested in any way03:48
myselfit's the sort of thing that feels like a cool stunt to do to show off your prowess, but is awkward in practice as a genuine workflow03:48
poizonb0xWhich is the fdisk command to set the boot sda (In my case) where the mbr goes?03:48
matsamanit _is_ limited to 1203:48
WoCthere is no inittab in current03:48
matsamanpoizonb0x: "set"?03:48
poizonb0xmatsaman: Yeah like the flag, been trying don't want to reinstall the whole distro.03:49
matsamanWoC: https://wiki.archlinux.org/index.php/Systemd_FAQ#How_do_I_change_the_default_number_of_gettys?03:49
myselfGeo: The "invert scroll direction" is named "content sticks to fingers" in the mouse options box03:49
myself(don't ask me why it's named that! heh)03:49
matsamanpoizonb0x: what flag?03:49
poizonb0xI deleted a partition that the installer made me do which was the bios grub boot or something like that but still gives me invalid partition after BioS boot and it goes away by hitting enter btw.03:49
WoCk, ty matsaman03:50
matsamanpoizonb0x: let's back up a moment please -> what is the problem?03:50
GeoHmm, I don't see that? I'm looking at Settings->Devices-Mouse&Touchpad03:50
GeoWhere should I be?03:50
poizonb0xmatsaman: After boot I get "Invalid boot partition" even if I can boot by hitting enter I wished it didn't appear.03:50
poizonb0xAfter bios boot03:51
matsamanpoizonb0x: so your firmware says invalid boot partition, and then grub loads, and then all is fine?03:51
myselfGeo: try "natural scrolling"03:51
Geoi do indeed have that03:51
Geoanother intuitive choice...03:51
GeoThat did the trick. Thanks!03:52
poizonb0xmatsaman: No grub loads it goes directly to ubuntu but yeah wishing to remove the need to hit enter I know I might have done the partitions wrong but well... can't remember how to set the flag for boot partition.03:52
myselfI think of it as "airplane style", pull back on the stick to nose-up the plane ;)03:52
Geoyeah, haha03:52
poizonb0xLike setting the parititon that will boot first?03:52
matsamanpoizonb0x: are you dual booting?03:52
poizonb0xmatsaman: Not right now.03:52
matsamanpoizonb0x: but GRUB is in complete control?03:53
matsamanpoizonb0x: I ask because 'invalid boot partition' sounds like more of a Windows boot loader error message; or potentially before that (the BIOS/etc.)03:53
GeoStepping on everyone else, but what max local throughput should I expect to see on SSD SATA3 drives, realistically?03:53
matsamanand less like anything GNU/Linux specific03:53
matsamanhttps://en.wikipedia.org/wiki/Serial_ATA#SATA_revision_3.0_(6_Gbit/s,_600_MB/s,_Serial_ATA-600)03:54
GeoThat's hypothetical, as I recall... do you really see that?03:54
matsamanI've never wasted the time to check03:55
matsamanyou asked for max, that's what it is03:55
Geo...I should expect to see :P03:55
matsamanI should expect you'd never see, because it's a waste of time to even check03:55
GeoI'm mirroring a disk right now and seeing 205000K/sec03:55
matsamando you feel like your system is slower than it should be?03:55
matsamanwell mirroring a disk is a waste of time, for sure03:56
poizonb0xThe fdisk option "a" for toggle a bootable flag doesn't exist anymore :/03:56
matsamanpoizonb0x: doesn't matter, GNU/Linux doesn't care about those flags03:56
matsamanpoizonb0x: sure you aren't booting GRUB via Windows' boot loader?03:56
tomreynJack3k3: apport, see /proc/sys/kernel/core_pattern03:56
matsamanpoizonb0x: you might want to just walk through the GRUB reinstallation steps03:56
poizonb0xNo I wipe'd the whole sda and created the common partitions ext4,swap and some Fat for win but haven't install win yet and I'm getting the error.03:57
matsamanhttps://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows03:57
matsamanit's hard to imagine it's anything other than Windows leftovers or your BIOS/EFI being confused03:57
matsamancan you post a photograph of the error?03:57
matsamanOr a video of the boot process up to and including it?03:57
poizonb0xJust after bios it prompts Invalid boot partition!03:58
poizonb0xI hit enter and goes to the next boot I guess it could be bios but I set the sda to be the first boot option.03:58
poizonb0xand it goes to ubuntu after I hit enter so I don't understand, just don't want to reinstall *I compiled kern"03:59
tomreynGeo: mirroring how?03:59
matsamanpoizonb0x: try this: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows03:59
matsamanor otherwise verify GRUB is configured as you meant it to be03:59
WoCopps, forgot X is hardcoded to tty704:03
tomreynGeo: in case you're talking mdadm, don't forget about /proc/sys/dev/raid/speed_limit_max04:04
Geotomreyn: yes, mdadm04:04
Geoah, neat04:05
tomreynGeo: to set per array (such if you have different types of physical storages in arrays, e.g. hdds + ssds), there is /sys/devices/virtual/block/md*/md/sync_speed_max04:11
tomreynas per md(4)04:11
Geojust pumped up the speed_limit_max, now I'm seeing 400000K/sec04:13
Geoso thats cool04:13
Geo..hopefully nothing catches on fire...04:14
myselfdocument it for us if it does ;)04:15
tomreynyou might not want to have a hdd backed array aim for this speed.04:15
Geoyeah, these are ssds04:15
GeoI wonder though- even if I did on a hdd, wouldn't the hdd just cap it at whatever input it can handle? It can only spin so fast04:16
Geodamnit, I dorked up the boot04:28
GeoStill learning UEFI... So with an ESP partition, isnt that the 'bootable' partition now?04:28
GeoI just rebooted after creating a raid partition, and I'm getting the grub screen04:29
GeoI thought by leaving the ESP untouched, that was sufficient04:29
GeoDo I need to go back and do a grub install on the / raid partition still?04:30
WoCis there an easy way to make lightdm use a tty other than 7 ?04:34
tomreynabout "<Geo> I wonder though- even if I did on a hdd, wouldn't the hdd just cap it at whatever input it can handle? It can only spin so fast" - yes they would. which is why i'd rather set the max limit (which becomes a target if there i no other I/O going on) no higher than the default system-wide, but just individually for SSD backed arrays.04:35
tomreynif hdd backed arrays were trying to reach a value they technically cannot, it might adversely affect (a) general I/O when other processes start demanding it and (b) (less likely) the HDDs durability04:37
tomreynbut (a) is quite relevant04:38
Geogrrr... cant make this bootable with grub04:41
Geo'failed to get canonical path of /cow'04:41
tomreynGeo: with UEFI booting to a GPT partitioned disk, you grub-install to the raw / full storage device, e.g. sda, like you used to. for this to work, you need the ESP. grub detects it and writes its core image into the ESP, and places its UEFI shim into the tiny efi storage on the mainboard.04:42
GeoSo, I think that's what I'm doing04:43
Geogrub-install /dev/sda04:43
tomreynGeo: which partitions do you have there?04:43
Geosda1 is the esp04:43
Geosda2/3 are raid partitions04:43
tomreynwhat is / backed by?04:43
GeoWhat do you mean by that?04:43
Geo/ is on sda2, if thats what you're asking?04:44
tomreyni'm asking about the block device layers below the root file system, and their order04:45
Geoyou're beyond my skill level now04:45
tomreynfor example, you may have / on a logical volume which is stacked on top of a raid device, which is backed by two partitions on separate phsical storages04:46
tomreynmaybe i just explained it badly04:46
Geosda2 and sdb2 form md0, for the / filesystem04:47
Geomdadm isn't running now, as I booted w/ livecd04:47
Geosda2 and sdb2 are linux-raid-members04:47
tomreyni see04:47
tomreyndo you have full disk encryption, too? or lvm?04:47
Geono04:48
tomreynok then you should not need a separate boot partition, good.04:48
Geodoes ESP = boot partition?04:48
tomreyn* a separate partition hosting the /boot file system, that is04:48
GeoI'm not sure of the new terminology04:49
tomreynESP doesn't host /boot04:49
Geo*new to me04:49
Geook04:49
tomreynyou just need the vfat32 formatted ESP, flagged with 'boot' and 'esp', and the raid paritions.04:50
Geoso just flag the ESP as boot, is all I need?04:51
tomreynroughly this https://paste.ubuntu.com/p/B87kg5ycbv/04:52
tomreynyou dont need to have two raids, of course, that's just an example04:52
tomreynand the esp can be smaller04:53
GeoMy table already looks like that04:53
Geoboot,esp04:53
tomreynokay, then which ubuntu version are you installing, and how, and what's exactly failing?04:54
Geo18.04. It installed, ran, I created two raid partitions with mdadm, all good. I rebooted, and it went to the grub screen04:54
GeoSo I blew away some boot record04:54
GeoAnd I probably should have guessed...04:55
Geohttps://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-18-0404:55
GeoTake a look about halfway down, or search for "may not be suitable as a boot device"04:55
GeoThat's the screen I saw04:55
GeoBut I figured since I wasn't touching ESP, I should be fine04:55
iosecureSo, you installed the system... And then turned the partition upon which you already installed into a mirror?04:55
tomreynyou want mdadm meta data to be 0.90 on the array hosting /boot04:57
tomreynthat's why i have 2 arrays in the example i provided04:57
tomreynone uses 0.90 meta data, the other the current one.04:57
tomreynGeo: ^04:58
iosecureThe requirement for metadata v0.90 hasn't been there for a while.04:59
Geotomreyn: yeah, got it, thanks... thinking on how to back this out a bit04:59
tomreyniosecure: you'Re right, i mixed this up, actually both are 1.2 on this system.05:01
iosecureGeo: As for my question: You installed the system, and then created a mirror using the partition that you installed onto?05:01
GeoI assembled the raid partitions, but can't mount them05:01
tomreynGeo: so i was wrong about the need to have v0.90 metadata05:01
Geoiosecure: yes05:02
Geowhile on a livecd boot, yes05:02
iosecureThat's destructive.05:02
iosecureRunning the array creation operation on an existing partition will damage/destroy the filesystem already there.05:02
tomreyncorrect05:03
iosecureThe mirror must be created first, and then data written to it. Creating a mirror does not duplicate the data to the other member partition, but instead creates an empty device.05:04
iosecureData written to this device is written to both members of the array.05:04
tomreynGeo: see the first red box on the tutorial you followed about this05:04
GeoUnder resetting existing raid devices?05:05
tomreynGeo: the easiest way to confuigure this is during the installation, as long as you use an installer which supports it05:05
GeoI wasn't resetting anything05:05
iosecureRunning, for example, "mdadm --create --level=1 /dev/md0 /dev/sda2 /dev/sdb2" will DESTROY any data on /dev/sda2 and /dev/sdb2.05:06
tomreynGeo: basically what you need to know is that you can't just convert an existing partition or file system into a RAID member, at least not directly.05:07
Geooh, thats what I did differently. I know I had done this before- I think I created a mirror with on disk, then added the second05:07
Geos/on/one05:07
Geoanyway- in the ubuntu installer, md0 is listed there, but I need to specify a / mount point, which I can't on md0. Which should I select?05:08
tomreynthis could work, but i'm not sure the installers would let you install this way.05:08
tomreynwhich installer are you using anyways? desktop? (default) server-live? (alternative) server (d-i)? mini.iso? pxe? debootstrap?05:09
tomreynand is it 18.04.0 or .1?05:09
Geo.105:10
Geoand must be desktop, since I have a GUI on here05:10
iosecureThe desktop installer does not support RAID.05:10
iosecureOnly the alternate installer media does.05:10
Geough05:10
tomreynwell the live -server does, too, to a degree05:11
GeoI can't install onto a RAID disk with the desktop installer?05:11
iosecureNo.05:11
GeoNot create- just install05:11
Geowow.05:11
Geoand server doesn't come with the GUI, iirc?05:11
tomreyncomes with a TUI05:11
iosecureEither there's an option during install to install the desktop, or it's a single command to do so after the install finishes.05:12
=== capella|away is now known as capella
iosecureThe latter.05:17
iosecureThere's an apt metapackage that will pull in the desktop.05:17
GeoI did that once a few years back and totally hosed the install05:17
Geohence the switch to desktop05:17
Geotons of dependencies broke05:17
iosecureIs this actually for a desktop, or a server?05:17
Geoyes to both05:18
iosecureNo, a system is either a desktop, or a server. Which is it?05:18
GeoI guess it depends on the definition you have in your head05:18
iosecureWhat are you using the system for?05:19
GeoI remote to it and use it for network facing applications. I also log on to it while sitting in front of it to use a gui.05:19
GeoIs there a safer/easier way to create a bootable usb than dd from commandline?05:19
iosecurecp file.iso /dev/sdx05:20
tomreynGeo: you sould consider not mixing these use cases, rather set it up as a desktop with VMs or containers for the server use case. much safer.05:20
Georeally, that simple? Never knew that. dd or unetbootin05:20
iosecureunetbootin is kind of a disaster.05:20
WoCetcher is a lot better than unetbootin05:21
iosecureetcher is quite nice, yeah.05:22
* tomreyn +105:22
iosecureBut for any ISO designed for direct writing, cp is easy.05:23
NorthwestVeganwow, i can write an ISO with cp! til05:28
NorthwestVeganany it will boot?05:28
Geolive-server = server?05:28
NorthwestVegan*and05:28
tomreynGeo: live-server (subiquity based) is the default server installer since i think 18.04 or 17.10.05:29
iosecureNorthwestVegan: Yes, or I wouldn't have mentioned it. :P05:29
NorthwestVeganthats very cool thanks05:30
NorthwestVegansaves me some characters compared to dd05:30
GeoSo now I'm just learning new stuff... how do I tell what version is on an install disk, by looking at the file contents?05:34
=== beaver is now known as beaver|xmas
Geoie, how would I tell if the usb drive I'm using has 18.04 desktop, or server on it?05:34
tomreynGeo: running it is an option05:34
=== imsurit_ofc is now known as imsurit
NorthwestVeganisnt there a checksum file that has the version in it?05:34
Geotomreyn: yep, but was curious about filestructure05:35
tomreynREADME.diskdefines tells, too05:36
tomreynor .disk/info05:36
GeoWhat are you using to view those? They look to be binary files05:36
tomreynyou can loop mount it or use a file archive viewer such as file-roller05:37
NorthwestVeganyeah the README.diskdefines is the best answer, its in the root, and its the most descriptive05:39
tomreyni think .disk/info is the best answer, though for mini.iso it's .disk/mini-info05:40
NorthwestVeganthe .disk/info is a nice 1 liner05:41
NorthwestVeganand has the date05:41
NorthwestVeganso yeah i pretty much agree05:41
NorthwestVeganGeo, if you didnt know, grep -R -i <seach terms> is helpful for this kind of thing05:43
Geosetting up md raids in the installer is new to me- it seems I can only mirror whole disks? not partitions?05:49
NorthwestVegani usually install mdadm from command line first05:50
NorthwestVeganthen run the installer05:50
iosecureYou need to create partitions for mdadm to use, first.05:50
iosecureDo NOT mirror whole disks. This will cause issues later.05:50
NorthwestVeganthen you have to install mdadm in the host after you boot it05:50
NorthwestVeganor i guess you could chroot, at least thats how i do it05:51
Geoiosecure: adding partitions seems to remove the option to use md05:51
Geounless maybe I shouldn't set a mount point...05:51
Geono, still grayed out05:51
tomreynGeo: which installer are you using? version and type?05:54
Geolive-server05:54
Geowhatever it gave me for 18.0405:54
iosecureThat isn't the alternative installer.05:54
tomreyndid you just download it?05:54
Geoyes05:54
NorthwestVeganoh im sorry geo, i was talking about desktop installer05:54
NorthwestVegandont listen to me05:54
tomreynyou'd better use the alternate installer05:55
GeoNorthwestVegan: you're good :)05:55
NorthwestVegan:)05:55
Geothat's how I thought to do it first, but was told this was better05:55
GeoHere i am, an hour later... :P05:55
iosecureAlternate installer != server installer.05:55
tomreynwho told you the live-installer was better?05:55
tomreyniosecure: i'm referring to the alternative server installer, classic / debian installer based installer05:56
iosecuretomreyn: I know.05:56
iosecureI was more telling Geo that he downloaded the wrong image.05:57
iosecuretomreyn: I know you know which one to use. :P05:57
tomreyniosecure: okay ;-)05:57
NorthwestVeganwhats the best way to get the most minimal ubuntu install for use in VM?05:57
iosecureNorthwestVegan: net installer image, and select nothing when it asks which package sets you want.05:58
NorthwestVeganyeah thats makes sense, thanks man05:58
iosecureOr install SSH, if you want to be able to log in.05:58
tomreynNorthwestVegan: debootstrap05:58
NorthwestVeganthe default server iso gives me pretty large default install05:58
NorthwestVeganyeah debootstrap is cool05:59
NorthwestVeganhow do i get it to pull ubuntu though?05:59
tomreynyou use debootstrap from ubuntu05:59
tomreynalternatively you tell it to pull from ubuntu05:59
NorthwestVeganlol, is it really that simple05:59
NorthwestVegani have only used to it to  make debian chroots06:00
NorthwestVegani had this in my scrips:06:02
NorthwestVegansudo debootstrap --arch arm64 --foreign bionic /chroot/bionic/ http://ports.ubuntu.com/ubuntu-ports06:02
NorthwestVeganis there a better command06:02
tomreynwhat do you need a better one for?06:03
NorthwestVeganoh idk, i cant even remember when/where i made that06:04
NorthwestVeganjust seems pretty verbose06:04
NorthwestVeganand i wasnt sure if that last url part was correct way06:04
tomreyni've never used debootstrap for arm64 installations, i think. but i guess it could work. after all you still need to ensure its bootable either way.06:05
NorthwestVegani only use it for my firejail chroot scripts06:05
NorthwestVegani was originally pondering minimalist ubuntu servers for kvm/qemu vms06:06
tomreynit's recommended to always use debootstrap from the newest development branch or latest stable release06:06
tomreynso sid or ubuntu+106:06
NorthwestVeganoh ok, cool06:07
NorthwestVeganwhats your guys prefered way to virtualize on ubuntu?06:07
iosecureI'm a KVM guy. Work also bought me a few licenses for VMware Workstation.06:08
NorthwestVegani have really enjoyed kvm06:08
NorthwestVeganvmware i havent used in years though06:08
NorthwestVeganthe virt-manager gui is pretty awesome06:09
iosecureI do a lot of work in our ESXi labs, so being able to mess with a VM locally, then just migrate it, is nice.06:09
tomreynvirt-manager is nice (for a free and open source software) but definitley not awesome06:10
NorthwestVeganlol06:10
NorthwestVeganhey, i was able to make a nice little virtual network with a firewall, and some hosts and what nots with it06:11
NorthwestVegani found xen to be finicky06:12
NorthwestVegankept getting weird crashes with kernel panics06:12
NorthwestVeganat least on 18.04 host06:12
tomreynyou could try this if you'd like a nice open source gui https://xcp-ng.org/06:13
Geo"Unable to install GRUB in /dev/sda"06:14
GeoARGH06:14
NorthwestVeganoh wow, thanks, that does look nice06:14
NorthwestVeganim a little scared to use xen again though06:14
NorthwestVeganouch geo06:14
NorthwestVeganthats never a fun message to see lol06:15
tomreynyes, xen is a bit of a dying species thanks to citrix's licensing politics.06:16
Geotomreyn, I think you had a command before to dump what packages are installed on a machine; what was that?06:22
NorthwestVegandpkg -l ?06:23
NorthwestVeganprobably does it maybe?06:23
NorthwestVeganyeah that seems to work geo06:24
iosecureThat is the correct command, yes.06:24
iosecureIf you only want the names of packages, and not versions or headers or other stuff, this is the best that I've come up with:06:26
iosecuredpkg -l | egrep '^ii' | awk '{print $2}'06:26
Geodpkg --get-selections06:26
NorthwestVegannice io06:26
NorthwestVeganegrep06:27
GeoI think thats what I'm looking for, actually... you can use that with --set-selections, it looks like, and transfer from one box to another06:27
NorthwestVegan?06:27
GeoF06:27
Geoit failed AGAIN06:27
Geowhat the hell, I blanked the disks06:27
Geowhy can't I install grub06:27
iosecureBIOS or UEFI?06:28
Geouefi06:28
iosecureAnd you've created an ESP and formatted it correctly?06:28
Geothere's an esp partition listed06:28
iosecureHow did you create it?06:29
Geoselecting the 'partition disks' option doesn't do anything in the installer, so I can't tell you more than that now06:29
Geohave to restart AGAIN06:29
Geoiosecure, how am I creating the ESP in the alternative installer? is creating a fat32 partition and making it bootable sufficient?06:35
iosecureIt has to be marked as EFI System Partition.06:36
iosecureThat's the partition type you'd set.06:37
iosecureAnd its mountpoint needs to be /boot/efi, though the installer should do that automatically if you select the correct type.06:37
GeoI'm not seeing that option06:37
iosecureDid you boot the installer in UEFI mode?06:37
GeoI have no idea06:37
GeoHow would I select that?06:37
Geovia BIOS, or the installer itself?06:37
iosecureDuring boot.06:38
iosecureOkay, go to an alternate TTY. Ctrl+Alt+F2.06:39
GeoAt what point during boot? is that an installer option, or a bios option?06:39
GeoI'm there06:39
iosecurestat /sys/firmware/efi06:39
Geonsd06:39
iosecureThen you're booted in legacy BIOS mode.06:39
Geoso again- is that selected by the bios, or the installer?06:40
GeoI know my bios is set to uefi, and I didn't see an option in the installer to select something06:40
iosecureYou don't set your BIOS to UEFI, it IS UEFI or it isn't.06:40
GeoThere's an option to boot into legacy06:41
iosecureWhen you select which media to boot, it should say UEFI or something similar in front of the device.06:41
GeoAh - I did see that06:41
iosecureYes, but that doesn't mean you're not using UEFI, you're just using its compatibility module.06:41
Geook06:41
GeoIs there no install documentation anywhere on this?06:42
iosecureSo, these things occur before the Ubuntu install media ever boots. How this all works depends on the motherboard manufacturer.06:43
GeoI get that, I'm not talking just about that part there06:45
Geook, here we go finally, looks like grub worked06:52
Geothanks for that tip on selecting the right boot device06:53
Geoand which package do i install for the normal desktop? I recall gnome, and nautilus, and a few other options...06:54
NorthwestVegannice geo, finally lol06:55
Geoyeah, that was a struggle06:55
GeoI've never dealt with uefi06:55
NorthwestVegantheres metapackages with like ubuntu-desktop06:55
NorthwestVeganxubuntu-desktop06:56
NorthwestVeganmaybe that would be something you might want to install?06:56
GeoDo you know which one is installed with the Desktop version?06:56
Geothat's what I'm looking for06:56
NorthwestVegani believe ubuntu-desktop is the default one06:56
NorthwestVegani prefer xubuntu but thats just m e06:57
Geocool. I'll leave terminal on here until I need it06:57
Geook07:06
Georsync running07:06
Geothank you07:06
GeoI think I could have done it faster the way I was trying to go, but learned a lot more this way07:06
GeoGood to drag me into understanding the current technologies being used07:07
Geoso- thanks again to iosecure and tomreyn07:07
=== mobile_c is now known as Suicidal_Santa
tomreynGeo: glad you made it. :)07:22
tomreynGeo: if you want the default desktop experience, be sure to read and compare the release notes for server and desktop, and to switch from systemd-networkd to network-manager07:24
tomreyn!releasenotes07:24
ubottuFor release notes of a given Ubuntu release, please refer to the 'Docs' column on the 'List of releases' table at https://wiki.ubuntu.com/Releases07:24
GamsunersUsing PulseAudio Client on Ubuntu 18.04, PulseAudio Server on Windows 10. I can successfully send sound to the PulseAudio server, but if I don't want to connect to a server, the sound on Ubuntu no longer works (if it can't connect to default-server in /etc/pulse/client.conf). Sound doesn't work at all on my Ubuntu computer, why?07:33
didoerplhello which mail server do ubuntu use?08:23
ducassedidoerpl: there are several mtas in the repos, if that is what you mean08:26
didoerplI mean the ubuntu website system - which mail server does their system use08:30
ducassewe have no idea about that, this is the wrong place to ask08:31
didoerplcan I install not outdated package for mail server opensmtpd, and how is sendmail package different from opensmtpd08:31
didoerplI need a mail server bro08:31
didoerplis opensmtpd in the repo ? ducasse08:33
ducasse!info opensmtpd08:34
ubottuopensmtpd (source: opensmtpd): secure, reliable, lean, and easy-to configure SMTP server. In component universe, is extra. Version 6.0.3p1-1build1 (bionic), package size 279 kB, installed size 896 kB08:34
tomreyn!latest | didoerpl08:35
ubottudidoerpl: Packages in Ubuntu may not be the latest. Ubuntu aims for stability, so "latest" may not be a good idea. Post-release updates are only considered if they are fixes for security vulnerabilities, high impact bug fixes, or unintrusive bug fixes with substantial benefit. See also !backports, !sru, and !ppa.08:35
didoerplhttps://packages.ubuntu.com/search?keywords=opensmtpd is it considered old , in the sense that it is outdated, in the sense that it's no longer has security patches  ?08:35
tomreyndidoerpl: read the message above of what you just wrote08:36
didoerplok so I can use the old version on arch too if on ubuntu o does the same logic apply to them too- I use arch as well. https://www.archlinux.org/packages/community/x86_64/opensmtpd/08:37
tomreynpackages (in the 'main' and 'restricted' pockets) in ubuntu receive security updates for as long as the ubuntu release is supported. so for 5 years, soon probably for 8 years, for LTS releases.08:38
didoerplcan I still use the old one? If there are bug fixes and it's maintained I don't need teh "latest and greatest" features08:38
tomreynyou can't mix packages between different linux distributions, and expect them to be supported, no.08:38
tomreynopensmtpd is in the 'universe' pocket, so it receives community support 'only', meaning timely security patches are not guaranteed.08:40
ducassedidoerpl: if you want something that gets security patches, use something from 'main'08:42
tomreynpostfix is in main, receives full security support08:42
tomreynso is exim408:43
madducki have a debian and a ubuntu machine next to each other, in the same WLAN, without iptables. Both can ping e.g. de.archive.ubuntu.com, but only the Debian machine can establish a HTTPS connection. The Ubuntu machine fails. Also cannot establish IMAPS connections.09:01
madduckWhat the heck?09:01
heistheDudeHello. Is there a way to completely factory resetting ubuntu also deleting files and everything in it? Sort of like formatting but skipping all the kernel procedures.09:03
ducasseheistheDude: there's no factory reset, no09:18
tomreynmadduck: are you saying the debian machine establishes a http connection to de.archive.ubuntu.com (on tcp port 443)?09:20
tomreynmadduck: https://paste.ubuntu.com/p/CbJpbN27Mt/09:25
tomreyni don't think there's anything listening there.09:25
tomreynheistheDude: what do you mean by "skipping all the kernel procedures"? what you plan to do sounds like reoinstalling.09:26
tomreynheistheDude: next time you'll cross post and got an answer elsewhere, please point out here that you did so.09:29
heistheDudeGot the answer guy. [CLOSED]09:34
ducasseheistheDude: this is why crossposting is considered rude, so please don't do it09:41
didoerplhey what is ctrl + ] ; telnet some_ip 25 # the terminal gets taken, but ctrl + ] yields it ? why ?09:45
=== capella is now known as capella|away
Miguel2013is ubuntu sdtill the most popular linux out there10:05
Miguel2013lots of bots in here like on some channels I've seem10:05
Katniphttps://distrowatch.com/10:06
ikoniaMiguel2013: not really any bots in here10:18
ikoniano idea why you'd say that10:18
Miguel2013lubuntu droping 32bit suport? wtf10:20
Miguel2013I'm gonna freak out10:20
Miguel2013I need to call my therapist10:20
ikoniaplease grow up10:21
ikonia32bit x86_64 is becoming obsolete10:21
Miguel2013what am supose to do with my pentium 3 laptop https://imgur.com/gallery/tUEgSCE10:22
Miguel2013i bought a gigabit pcmcia card for it like last year10:22
ikoniaMiguel2013: use a different distro10:23
Miguel2013don't wanna use window managers those don't work as gui desktops10:23
Miguel2013and I liked lubuntu for being debian friendly10:24
ikoniathere are others10:26
Miguel2013can u name some?10:27
ikonianot off the top of my head10:27
ikoniagoogle will show some,10:27
Miguel2013not just 32bit but very low end that run fast like if I put windows 9510:27
Miguel2013I'll look if u dont' tell me10:27
bindiis it possible to set up raid1 and encrypted lvm with the alternate installer? without too much manual work10:48
=== dreamon__ is now known as dreamon
bipulHi, How would i create persistent dummy interfaces, even after booting it should get create.11:06
Miguel2013why there is not one on the peppermint linux channel11:33
Miguel2013is one of the coolest os cause is lightweight11:33
matsamanMiguel2013: because it's really just Lubuntu, which is really just Ubuntu, which is really just Debian11:34
Miguel2013are you but hmm yea11:34
matsamanor, put another way: why are tea partiers all republicans11:34
matsamanbecause they are11:34
Miguel2013I don't research candidates as much I did on my previous life11:35
matsamanwell there are fewer choices now, aren't there11:36
matsamanand they quit faster11:36
Miguel2013people are people why was arnold elected maybe there was fraud but it wouldn't surprise me if he was11:37
matsamanoh that's easy11:39
matsamanas an actor/narcissist, Arnold actually cares what people think, which is actually a quality a public servant _should have_11:39
matsamanand so many do not11:39
matsamanadmittedly, it can be a quality one has too much of11:39
Miguel2013there were doctors among the candidates for california in 200411:40
EriC^what's going on here11:40
EriC^i thought this was ##Linux for a second11:40
Miguel2013they created a show with the playbock chick and left arnold looking as the coolest and most viable/serious decision and people are smoking11:41
=== SimonNL is now known as SimonNL_Afk
matsamanMiguel2013: he probably also had a lot more money than doctors11:50
adroit_machineI have installed a new SSD in my laptop. I want to copy my ubuntu partition with rsync from HDD to SSD. What else do I need to do?12:26
adroit_machineI mean what else I need to do beside copying parition to make ubuntu work on SSD?12:27
TimeDoctoradroit_machine: https://askubuntu.com/questions/741723/moving-entire-linux-installation-to-another-drive12:30
adroit_machineI will check that out, TimeDoctor. Thanks for the link12:30
matsamanadroit_machine: I would not use clonezilla for that, personally12:32
matsamanadroit_machine: all you really need to do is vaguely duplicate your partition scheme, if you like it12:33
matsamancopy over the data properly12:33
matsamanand re/install your boot loader12:33
matsamanthis is very easily done from a live OS with things like sfdisk, sgdisk for the partitions, rsync for the data, and regular grub-install/etc. for the boot loader12:34
adroit_machineI think so too, matsaman. clonezilla is quite complicated. I would use rsync for that purpose12:34
matsamanand slightly more complicatedly for rsync without being on a live OS12:34
adroit_machinematsaman: just tell me how do I install boot loader12:34
matsamanhttps://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows should still apply12:34
adroit_machinematsaman, I want to show you something12:35
matsamanand for your SSD, you might read up on 'discard' for fstab12:36
adroit_machinematsaman: in gparted I see an extra partition on my HDD i.e. EFI system partition. Can you tell me what is that?12:39
Mathisenadroit_machine, that is your ESP , simple answer the partition that makes it possible to boot with uefi for you12:40
matsamanadroit_machine: as he said, it's an extra stupid partition that EFI expects12:42
matsamanif your system can work without EFI, which is incredibly likely, you can potentially forego it12:42
=== bdw is now known as MerryChristmas
raddyHello Everybody12:47
raddyMy ubuntu installation is having 1.2G space in /12:48
raddyI am getting the following error. "linux-headers-generic : Depends: linux-headers-4.4.0-141-generic but it is not going to be installed"12:49
raddyubuntu is not allowing me to remove other packages to make more space available12:49
raddyIt is showing that error while trying to install or remove / purge anything12:50
raddyPlease help12:50
matsamanraddy: I don't believe that error has anything to do with your free space12:51
RumblesHello, I wanted to allow non-admin users to upgrade the software on their ubuntu laptop. Currently when you open gnome-software, it lists no updates, while apt tells me there are 11 packages to update. If I open "Software Updater" it tells me there are software updates, but it asks me for a password12:53
raddymatsaman: I am not saying the error caused the lack of free space, but it is not allowing to make more space available by removing / purging packages12:53
matsamanraddy: ok12:53
RumblesI believe I can allow this with PolicyKit, but the advice I found on ask ubuntu was 8 years old and I have had no sucess getting that advice to work, can anyone suggest the right way to do this?12:53
MathisenRumbles, give the user sudo privliges12:54
Rumblesthe user can't have sudo12:55
Mathisenraddy, pastebin the output when you try to purge whatever packet12:55
MathisenRumbles, sudo does not mean it can do whatever you can limit what a specific user is allowed to do12:55
matsamanI mean, that's how sudo originall was meant to be used12:56
matsamanRumbles: what he means is give them sudo privileges the proper way, not the way Ubuntu uses by default =)12:56
Rumblesif you give someone sudo, they can do whatever they want, it's not an option. I just want to allow them to upgrade software using policykit12:56
matsamanthat is: add a line in sudoers that allows _only_ running the specific thing you want12:56
matsamanRumbles: no, you are confusing how Ubuntu misuses sudo with what sudo can and was actually meant to do12:56
RumblesI don't want to use sudo12:57
matsamanwhich is an easy thing to be confused about12:57
RumblesI want them to do this via the gui12:57
Rumblesnot command line12:57
matsamanRumbles: you do, though, it's exactly what you're after12:57
matsamanthey don't need to use a command12:57
matsamanyou just have to set it up right12:57
Rumblesno I don't, please stop talking about sudo12:57
matsamanyou don't, but you could, it would be a solution, a good one12:57
RumblesI know what you mean and it would work, but the users don't want to be taught how to use the dcommand line to update, when there are gui tools for this12:58
matsamanagain, you would not have to make them use a command12:58
Captain_HaddockHe's saying that they wouldn't need to use the command line.12:58
Captain_HaddockTo update software, the users need to be given privileges.12:58
Captain_Haddocksudo gives privileges. It can't give root privileges or it can give restricted privileges depending on how you set it up for a particular set of users.12:59
matsamanit could be as simple as adding the right line into /etc/sudoers and then wrapping the command you want to allow them to prepend 'sudo ' (without having them have to type _any_ command)12:59
RumblesI am lead to believe you can allow this using policy kit rather than sudoers, is that possible?12:59
Captain_Haddocks/can't/can/12:59
matsamanprobably, dunno why anyone would use policykit when they could use sudo, it's so simple12:59
Rumblesok, that's fine, thanks for your input, you don't know, does anyone here know?13:00
matsamantry pkexec13:00
matsamanit's actuated the same as sudo, but with many fewer years of proven use13:00
matsamankind of the opposite in terms of proven stability13:00
Captain_Haddockmatsaman: He doesn't want to listen.13:00
matsamanCaptain_Haddock: I mean obviously =)13:01
ioriaRumbles, you need a policykit rule in  /etc/polkit-1/localauthority13:01
Captain_Haddock:)13:01
RumblesI know how to use sudo, I want to try out policykit13:01
adroit_machinematsaman: do I need to copy EFI boot partition to the SSD?13:01
matsamanRumbles: fair enough13:01
matsamanadroit_machine: probably, if you're using it now (which you probably are) and want to continue to (which technically you probably don't need to)13:01
adroit_machinematsaman: if I can get away with it(if it is not important), I'm not going to copy it. Just one simple question would my computer boot without it?13:02
matsamanadroit_machine: that depends on the computer13:03
matsamanthe simplest path as far as migrating your data from one disk to another is to keep it13:04
matsamanalthough if you ever got rid of it at some point, if you could, your system would be simpler =)13:04
matsamanadroit_machine: if you boot up into your "BIOS" menu, look at its boot mode options13:04
matsamanlook for 'efi', 'legacy', 'bios', etc.13:04
adroit_machineok matsaman.13:05
matsamanchances are it offers legacy/bios, then you wouldn't need the ESP13:05
matsamanmight save that for another time, although this is a good opportunity, if you have the time to play with it13:05
ramsub07Hi, how do i copy a large number of files from one destination to other? I face the following error "Argument list too long" other is a warning "  when i try with cp.  any better solutions?13:18
xet7ramsub07: cd destdir && rsync -aur --progress --delete /some/sourcedir .13:20
=== SimonNL_Afk is now known as SimonNL
ramsub07xet7: will it preserve the ownership of the file?13:21
ramsub07I don't desire that option. what should I do?13:22
xet7ramsub07: Yes. run it as root. You can run it multiple times, until all are copied. --delete option makes sure that if something is deleted from source, it's deleted from destination too.13:22
xet7ramsub07: running one time is also enough13:22
xet7ramsub07: and you can also ctrl-c and continue later13:23
ramsub07xet7: while copying it to a NFS mounted drive, will that -delete option still hold good? even if I'd mount and unmount?13:23
xet7ramsub07: yes when you ctrl-c, unmount NFS, and later mount NFS, and run same rsync, it will continue13:24
xet7ramsub07: I do use --detele because many times for example some webbrowser cache files or some other files change on source while copying13:25
xet7rambsub07: --delete13:25
ramsub07xet7: cool, thanks!13:26
xet7ramsub07: you can also use same with ssh, like rsync -aur --progess --delete /home/user/Documents user@someserver:/home/user/Documents13:27
ramsub07xet7: rsync will make the two directories sync ?13:27
xet7Yes.13:28
xet7ramsub07: So source directory will be mirrored completely to destination directory with all changes13:28
ramsub07xet7: when does that happen? I mean, what is the trigger for the synchronization ?13:28
xet7ramsub07: Trigger is when you run rsync command. it transfers files from source to destination. It is similar to cp command.13:29
xet7ramsub07: rsync command has more options13:29
ramsub07xet7: i was wondering if there is a daemon or a cronjob that syncs the two directories at some interval or the trigger sets itself when the source has a modification?13:30
xet7ramsub07: For automatic sync and backups there is for example seafile https://www.seafile.com/en/home/13:31
xet7ramsub07: Sure you can setup rsync run in cronjob too13:33
xet7ramsub07: rsync transfers only changed files13:33
=== SimonNL is now known as _SimonNL
ramsub07xet7: also, is it possible to make these syncing multi-threaded or multiparallel so that the process of moving is faster? Or, does the multi processing doesn't make a difference with the IO?13:41
Qemicsdoes ubuntu automatically turn off secure boot by itself when booting? I've enabled it in the bios but "mokutil --sb-state" tells me its disabled. how is this possible?13:43
xet7ramsub07: Usually first time sync takes most time. After that usually syncs are very fast, because usually not many files are often changed.13:43
ramsub07xet7: well, that's an assumption, which generally doesn't hold true in my case. For my case, I expect few new files, that are in the size of Giga bytes13:46
=== westor{off} is now known as westor
xet7ramsub07: You can speed up copying by running GNU Parallel http://www.yourownlinux.com/2015/04/speed-up-file-transfers-using-rsync-with-gnu-parallel.html13:49
xet7ramsub07: I'm not sure would lsyncd work with NFS: https://serverfault.com/questions/148665/is-it-possible-to-sync-two-linux-directories-in-real-time13:55
ramsub07xet7: thank you! Finally, my question is, is this approach as fast as it's potential speed?13:57
xet7ramsub07: if you get lsyncd working, it starts copying immediately after file change. I don't know how it could be any noticably faster.13:59
xet7ramsub07: I mean faster by some other way.13:59
xet7ramsub07: with seafile there is compression etc so in some cases it could be faster. You can test it yourself, I can only guess.14:01
IniGithi14:01
xet7ramsub07: but with so big files compression could actually slow down copying, so in that case lsyncd is better14:01
ramsub07xet7: Which compression do you mean?14:02
IniGitcan somebody help I have a blue colored font with green background in dash (the default Ubuntu shell). I read a forum post that says "Blue text with green background indicates that a directory is writable by others apart from the owning user and group, and does not have the sticky bit set (o+w, -t)". But now I do ls -l and it says that the folder with the blue text and green background has drwxrwxrwx as14:03
IniGitaccess permissions... Now that makes no sense to me. Is the forum post now wrong?14:03
xet7ramsub07: when using seafile for syncing and backups, seafile uses compression etc in-built code to speed up backups14:03
ramsub07xet7: ah okay14:03
xet7ramsub07: but for your case with just NFS and local directory most likely lsyncd is simpler14:04
ramsub07xet7: thanks, will go ahead with that14:04
xet7ramsub07: Ok good luck :)14:05
ChiLL-TwoGo' Jul!14:16
leonardusIs there a program that flashes black and white really quickly? I need to test something.14:37
ph88what's this pcre3 package? https://launchpad.net/ubuntu/+source/pcre3  pcre is only at version 214:44
dsaghi how can i use EOF-ignore with the less command14:57
CookieM“older library, confusingly called pcre3 in Debian.”14:58
=== BirthdayHotDog is now known as HappyHoHoHotDog
mhctud09Hey does anyone here have screen flickering issues on ubuntu 16.04 LTS, when connected to an external monitor?15:43
mhctud09Hey does anyone here have screen flickering issues on ubuntu 16.04 LTS, when connected to an external monitor?...My laptop screen starts to blink and flicker repeatedly... This happens when i exit watching a video in full screen mode on the external monitor....15:45
renpicdoes it flicker on any resolution? or just on some of them?15:45
mhctud09Any help is appreciated.15:45
mhctud09@renpic at my standard resolution15:46
mhctud09i don't change my resolution15:46
mhctud09and if i don't watch anything in full screen..if i use it normally15:46
mhctud09there is no problem at all15:46
renpicmaybe you can try a quick test with a different resolution15:46
renpicooh15:46
mhctud09i will give it a try now15:47
renpicthen maybe it's not the resolution at all15:47
renpicdoes it log anything pertinent in /var/log/Xorg.0.log?15:48
OerHeksdepends on your gpu, if nvidia, there are some settings that makes a differenc15:48
renpicOr maybe in dmesg15:48
OerHekslike sync to blank, antialiassing and such15:48
mhctud09my laptop is thinkpad t47015:49
mhctud09no nvidia graphics card15:49
OerHeksoh oke, Intel HD Graphics 62015:49
OerHekson what ubuntu version?15:49
mhctud09yup15:50
mhctud09the log is empty15:50
Captain_Haddockmhctud09: FWIW, I see similar behaviour with my dual monitor and full screen behaviour. From what I can tell, this happens only once I wake the PC from a suspended state. I reboot to fix it.15:50
Captain_Haddock(This is with the nvidia driver.)15:50
leonardusHow do I upgrade my kernel to 4.20?15:50
OerHeksmhctud09, and what session, wayland or xorg?15:51
iosecureleonardus: Is there a particular reason why you need to?15:51
cow0wHi:) Q: Is it possible to browse NFS sharing without mounting?15:51
leonardusiosecure: I read that there are better video drivers and I've been having driver problems15:51
OerHeksleonardus, wait for updates on 18.10, or use the mainline repo, at your own isc15:51
OerHeks!mainline15:51
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds15:51
iosecureleonardus: Which video drivers?15:51
leonardusiosecure: amd15:51
mhctud09rebooting does not fix it15:51
mhctud09as i said earlier,15:52
mhctud09everything works fine15:52
mhctud09the moment15:52
Captain_HaddockEase up on the use of your return key, please.15:52
mhctud09i watch a video in fullscreen mode and return back to normal, the laptop screen starts to flicker15:52
renpiccow0w, it should be somthing like 'showmout -e SERVERIP'15:53
renpicbut it just shows the exported filesystems15:53
cow0wrenpic, this way I could see what is exported, I would actualy like to browse its content15:53
ioriamhctud09, try the 'Set i915 kernel module options' part of this : https://aboutsimon.com/blog/2016/07/20/Ubuntu-16.04-external-monitor-flickering-and-turning-off-on-intel-i915.html15:53
cow0wlike you could browse in nautilus smb://15:54
OerHeksintel hd620 and older kernels could well use 'i915.alpha_support=1'15:54
mhctud09@ioria Thanks, i will give it a try :)15:55
ioriamhctud09, ok15:55
mhctud09 but in the blog, his fix is for fine external monitor flickering15:55
mhctud09my external monitor does not flicker at all, at any point in time.15:56
ioriamhctud09, what's your kernel ?  uname -r15:57
mhctud094.15.0-43-generic15:58
mhctud09@ioria and my laptop is thinkpad t470, running ubuntu 16.04 LTS16:02
ioriamhctud09, what's the cpu ? Skylake16:02
OerHekswith such new hardware, that will do fine with kernel 4.14 .. so use HWE or upgrade to 18.0416:03
ioriamhctud09, lscpu | grep 'Model name'16:03
renpiccow0w, doesn't it work with nfs://SERVERNAME/SHARE?16:03
OerHeksioria intel hd620 comes with Kaby lake?16:04
ioriaOerHeks, henestly i don't remember...16:04
OerHeksi know 16.04 needed 'i915.alpha_support=1'16:04
ioriathat is for coffee lake16:05
ioriamhctud09, lscpu | grep 'Model name'16:06
mhctud09@ioria Model name: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz16:10
mhctud09the funniest thing is, the flickering on my laptop screen stops, with just a mouse click on the laptop screen.16:11
ioriamhctud09, so the issue is just when you exit from full-screen ?16:22
OerHeksi think you better file a bugreport16:23
en1gmaim having problems with ubuntu 18.04.1 amd64 desktop and also with 18.10 amd64 desktop. i burn both images to my dvd-rw. 18.10 just thashes my dvd drive (but does load super slow) and 18.04.1 dont load up at all16:50
en1gmaim on windows 10 when i burn the images and use windows built-in burning software16:51
myselfen1gma: There's a good chance that the media is marginal; try a surface scan with Nero CD-DVD-Speed or DVDinfopro.16:54
IniGithi16:55
en1gmado 18.04 and 18.10 have different uefi stuff?16:55
IniGitWhen I want to install Ubuntu wiouth the something else optionin the installer, how do I change the default drive that is used to install Ubuntu16:55
IniGit?16:55
myselfI don't know about the uefi thing, sorry.16:56
iosecureen1gma: What's the question, exactly?16:56
OerHeksen1gma, not different, see !uefi16:57
OerHeks!uefi16:57
ubottuUEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI16:57
OerHeksIniGit, the drive option is below the parted layout https://i.stack.imgur.com/qp8cy.png16:59
IniGitOerHeks: Isn't this the something else tab? I do not want to use the something else option16:59
OerHeksoh i see17:00
IniGitOr is there any way I can get the information which commands are used in the default lvm+luks install of Ubuntu?17:01
IniGitOnly option I see at the moment is to unplug all my drives except the one where I want it installed on :(17:01
IniGitthat sucks :(17:01
iosecureWhich media are you using?17:02
OerHeksthen you certainly want to use 'something else' to make sure17:02
IniGitI have three ssds in my pc. one of them is windows one of them is an unencrypted Ubuntu and now the third one should be an encrypted Ubuntu17:02
en1gmaim using Memorex on both images17:02
en1gma18.10 does have the ubuntu menu "try ubuntu without installing". 18.04.1 doesnt even see menu. totally bypasses and boots windows17:03
IniGitbut I do not want to use gparted + something else tab, simply because there are not many descriptions that I understand on the internet. My knowledge about that topic is not so good. SO I want to use the default installer lvm + luks and select the correct ssd17:03
IniGitbut there is not dialog to select a ssd17:03
IniGitwhich is not good17:03
IniGitI mean I understand why they do that17:04
en1gmaerased the dvd-rw and am burning and verifying it right now17:04
IniGitI want to use the default, because I assume that encryption is setuped correctly there17:05
IniGitOnly way is to unplug all drives except the one where it should be installed on or is there another way?17:05
en1gmabrb. gonna test this new image17:05
hexhaxtronCan someone help me make accents work with Programmer Dvorak on Unity? It works properly with Plasma but not Unity...17:10
OerHekshexhaxtron, fastest way is to run the keyboard detection script in settings, it will ask for specific characters to set it up correctly17:16
=== _SimonNL is now known as SimonNL
mhctud09@ioria Yes, only when i exit a fullscreen video on my external monitor, my laptop screen starts to flicker17:50
funabash1hi guys, whats a good antivirus program for ubuntu?17:56
iosecurefunabash1: What's driving the need for one?17:59
OerHeksdepends on what for what ..18:00
ioriamhctud09, i assume the first suggestion i made didn't work ?  if not try to boot with the   i915.enable_psr=0   parameter18:00
OerHeks!antivirus18:00
ubottuAntivirus is something you don't need on !Linux, except where files are then passed to Windows computers (perhaps using Samba). See https://help.ubuntu.com/community/Antivirus18:00
OerHeksbasicly, an antivirus running on a system is useless, monitoring filechanges and scanning with a antivirus live iso is much more secure18:03
iosecureEh, I disagree with that statement. But I do agree that, unless you're passing files to Windows systems, antivirus applications are unnecessary on Linux systems.18:04
Sia-Hi, i have an SD card from digital samsung camera. can mount it on win and mac and in ubuntu can see it in disks and fdisk. but isn't mountable in nautilus or somewhere else.18:48
OerHekserrors in the filesystem could prevent mounting, or the filesystem is not supported without additional tools, like exfat18:49
Sia-OerHeks, already installed all of this18:49
OerHekshttps://help.ubuntu.com/community/FilesystemTroubleshooting18:49
OerHeksor use the disks tool, to perform a check18:50
Sia-OerHeks, that doesn't help me now. i dont want format my SD card after each video and photo taking and format it again in my camera.18:51
ioriaSia-, have you checked dmesg | tail after inserting the card ?18:52
Sia-ioria, https://paste.ubuntu.com/p/ppKMdMk85N/18:54
iosecureWhat filesystem is the SD card using?18:54
Sia-iosecure, after disks it's Unknown18:56
iosecureWhat does Windows or macOS say it is?18:56
ioriaSia-, dmesg | tail -4018:56
=== littlebit2 is now known as littlebit
Sia-ioria, https://paste.ubuntu.com/p/QYk7y3PT9M/18:59
ioriaSia-, and do you have for any chance an usb adapter ?19:00
Sia-ioria, yes i do19:00
ioriaSia-, can you try with it ?19:01
iosecurePersonally, I'm wondering if it's formatted as exFAT.19:01
iosecureWindows and macOS support exFAT, Ubuntu doesn't by default.19:01
OerHeksunlikely yes, samsung would use fat32 by default19:02
ioriaSia-, did you install exfat-tutils and exfat-fuse ,if that the case ?19:02
Sia-ioria, with it working fine19:02
ioriaSia-, i see19:02
ioriaSia-, can we know the file system now ?19:03
iosecureOerHeks: Not necessarily. Depends on how new the camera is.19:03
OerHekswhat kernel is this linux running?19:03
Sia-ioria, yes FAT (32-bit version)19:03
ioriaSia-, and exfat-utils and exfat-fuse installed , right ?19:04
Sia-OerHeks, the LTS with 18.0419:04
=== capella|away is now known as capella
Sia-yes installed but before few minutes, should i reboot?19:04
OerHeksfsck.vfat -a /dev/sdXY19:05
ioriaSia-, inclined to think is a built-in sd reader issue  for now19:05
Sia-ioria, its macbook pro mid 2012, maybe :-)19:06
Sia-because apple always has some kind of unique :-)19:07
OerHeksoh, wait, there are some sdcard readers not supported in ubuntu..19:07
ioriaSia-, the age it's not relevant about those card reader19:07
ioria*s19:08
Sia-ioria, not about the age, but apple hardware are always special. i had alot of problem with Tem and CPU heating19:08
ioriaSia-, agree19:09
OerHekshttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/153165319:09
ubottuLaunchpad bug 1531653 in linux (Ubuntu) "Macbook Pro Retina 11,1 SD Card Reader Doesn't Work" [Medium,Incomplete]19:10
Sia-but i found some nice small tools in launchpad and i got fixed. now the only issue lef is the the SD reader19:10
OerHeksmost reports are about high speed cards https://wiki.archlinux.org/index.php/MacBookPro9,2_(Mid-2012)#SD_Card_Reader19:11
Sia-thank you guys for great help here19:12
Sia-mine is from SanDisk 90mb/s19:12
Geoheh... i have the worst luck19:15
mohnishHello! I'm using i3wm, I wanted to know what the random numbers at the bottom right of my monitor meant19:15
GeoI updated packages on my new install, and it removed/reinstalled grub. When it went to reinstall grub, it failed.19:16
mohnishThe numbers at the left of the time and date19:16
iosecureA screenshot would help.19:16
mohnishGeo: Oh boy,19:16
Geo'grub-install /dev/sda ' fails as well... is there something specific I need to do? grub-install /dev/sda1, where the esp is?19:16
mohnishiosecure: Okay wait19:16
GeoI'm in a 'normal' boot state right now (not livecd)19:18
GeoIt sounds like its only looking for legacy mode, but I'm not sure if thats possible still19:21
Geo/boot/efi exists19:21
=== WoC- is now known as WoC
Geoiosecure: one more try, for old times sake? :)19:27
mohnishhttps://imgur.com/a/iV2U8jS19:28
mohnishiosecure19:28
GeoI have /sys/firmware/efi present, so I (think I) know I'm in the right mode19:28
mohnishgo to the link19:29
mohnishI wanna know what the hightighted number denotes19:29
iosecuremohnish: Looks like a load average.19:30
mohnishEh?19:30
mohnishWhat's that?19:30
iosecureA measure of how utilized the processor is.19:31
iosecurehttps://en.wikipedia.org/wiki/Load_(computing)#Unix-style_load_calculation19:31
mohnishI don't think so, I just did a lot of stuff to check it, opened a lotta programs, but it didn't move a bit19:32
iosecureThat's not how load averages work.19:32
iosecureLoad averages are calculated over time.19:32
iosecureWhat's the first line of the output of 'w'?19:32
mohnishI donn't get it19:32
mohnishoptput of w?19:33
mohnish 01:03:14 up 21 min,  1 user,  load average: 0.21, 0.42, 0.5319:33
mohnishUSER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT19:33
mohnishmohnish  tty7     :0               00:43   20:54  10.68s  0.52s i3-with-shmlog19:33
iosecureYes. Run the command 'w'.19:33
mohnishThis is it19:33
iosecureHave you configured i3status at all?19:34
mohnishOH, it matches with the numbers on by screen19:34
mohnishI think it is the load average19:34
iosecureLoad averages are calculated on rolling 1 minute, 5 minute, and 15 minute scales.19:35
mohnishNo, I haven't confu=igured it yet19:35
iosecureSystem activity will not immediately be reflected.19:35
mohnishThank you19:35
mohnishOh and by the way19:35
mohnishMERRY CHRISTMAS!19:35
rtardedHi guys. I'm running Ubuntu 18.04, and I've installed linux-image-generic-hwe-18.04. The default kernel (4.15) comes with linux-modules-extra-4.15.0-43-generic, why can't I find something similar (modules-extra) for the hwe kernel? Thanks19:36
Geohrmph... even specifying --efi-directory=/boot/efi, it still errors19:37
rtardednevermind.. Found it (linux-modules-extra-4.18.0-13-generic)19:38
xamithanhwe is just a meta package19:38
doge-dogehey, I've got a small problem trying to load my grub menu after booting into win10. it's on a separate drive but i suspect /boot/efi is located there (or was there)19:39
doge-dogegoing into the uefi-bios and manually selecting the drive with the ubuntu partition to boot just kicks me back19:40
doge-dogedo i need to chroot and then rebuild grub?19:40
OerHeks!find hwe-18.0419:41
ubottuFound: linux-cloud-tools-generic-hwe-18.04, linux-cloud-tools-generic-hwe-18.04-edge, linux-cloud-tools-lowlatency-hwe-18.04, linux-cloud-tools-lowlatency-hwe-18.04-edge, linux-cloud-tools-virtual-hwe-18.04, linux-cloud-tools-virtual-hwe-18.04-edge, linux-generic-hwe-18.04, linux-generic-hwe-18.04-edge, linux-headers-generic-hwe-18.04, linux-headers-generic-hwe-18.04-edge (and 22 others) http://packages.ubuntu.com/search?keywords=hwe-18.04&searchon=names&19:41
Sia-another question, it's possible to enable systemtry for hexchat and others in 18.4?19:43
doge-dogewhy would grub put /boot/efi on a different drive other than the target drive when initially installing? is that abnormal behavior?19:46
iosecuregrub doesn't put /boot/efi anywhere.19:47
iosecuregrub copies files to /boot/efi. Wherever that filesystem lives, hardware-wise, depends on where you put it.19:48
doge-dogethere seems to be a bug in the install process, somehow, nvme devices have higher boot priorities and that's where my /efi partion ended up. the target drive has /boot only19:48
iosecureAre you dual booting?19:49
doge-dogenot on the same drive19:49
iosecureAh, yes.19:49
iosecureAre both drives installed on the same system?19:49
xamithanI've always had to go back and fix with efibootmgr the kind of issues like that19:49
iosecureYou shouldn't have two ESPs is the general concept, here.19:49
doge-doge1 drive was supposed to have win10 and the other was supposed to have ubuntu19:49
iosecureIf you already have one, you should simply use the existing one.19:49
doge-dogelike i said, i can't boot into grub for some reason after a session in win1019:50
doge-dogedespite manually selecting the ubuntu boot override drive19:51
iosecureOkay. You have two ESPs in the same system. This can lead to undefined behavior depending on the UEFI firmware in your system.19:51
doge-dogeshould i take out the win10 nvme drive for lulz?19:52
iosecureNo. When you install Ubuntu, you should use the same ESP.19:52
iosecureDon't create a second one.19:52
doge-dogeI *think* "windows boot manager" was selected as the default boot device and that brought up the grub menu, but selecting that now simply boots win1019:53
xamithanBecause the one that probably says "ubuntu" is going to the wrong drive19:54
doge-dogei believe "ubuntu" points to the correct drive, but that drive only has the /boot partition, not the desired /boot/efi partition19:55
iosecureThere shouldn't be more than one /boot/efi partition on a system.19:56
iosecureYou have two. This is an error.19:56
xamithan^19:56
xamithanWhen you do the install.  It'll ask you to make partitions or mount ones you want to use.  This is where you should mount the EFI19:57
doge-dogei simply did the auto-install and selected the target drive for ubuntu and that worked until now19:58
xamithanThat'll work fine unless you dual-boot19:58
doge-dogeyou know, this never happened with manjaro -- you decrypt luks first and then presented with the grub menu19:59
doge-dogeso i'm thinking the only way to solve this is to take out the nvme win10 drive, chroot and rebuild grub, yes?20:00
xamithanI don't see how that'll get your files onto the existing EFI partition20:00
iosecureExcept that Manjaro is a known dumpster fire in most other respects.20:01
iosecuredoge-doge: No. You are missing the concept. Use the EXISTING ESP. You should never create a situation where two ESPs exist on one system. Removing the Win10 drive will only help until you put it back. Then you'll be back in this situation.20:01
OerHeksthe efi partition should be on the 1st drive, sda20:03
doge-dogenvme drives have a different naming scheme OerHeks20:03
iosecureBy spec, it doesn't matter which disk its on. Windows, however, has specific requirements.20:03
xamithanJust re-do the installation like we said.  use the existing windows EFI for the EFI mount,  it isn't hard to find as it'll probably be a little over 100 megabytes20:04
Geomaybe i can try to slide my question back in- doing some apt updates, grub was uninstalled and reinstalled, and now says it can't install on sda (where my ESP is). "grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.20:06
Geoany thought what happened/why it wont' reinstall now?20:07
doge-dogei've got a sandisk usb drive, are you supposed to select "uefi: sandisk, partition 1" or "uefi: sandisk" when booting into the live session?20:07
xamithanThat must be a sandisk thing,  take a guess and if it doesn't work try the other20:10
OerHeksdoge-doge, yes, i did simular on my flshdrive to start in UEFI mode20:10
doge-dogeyou know, knowing ms, they probably already messed up that efi partition by now20:11
premobosshello. i will like to have a wallpaper on my command line interface (from ALT-F1 to ALT-F6). IS it possible? if yes, how to no? no matter if i have to recompile something.20:17
xamithanvirtual consoles are text only,  you could add wallpapers to terminal emulators if you want though20:20
OerHeksi read one other with such silly request https://askubuntu.com/questions/701874/how-can-i-customize-a-full-screen-console-background-tty20:22
premobossxamithan, the idea is to add walpaper to a linuxbox without Xorg.20:23
OerHeksinfo info fbi20:23
OerHeks!info fbi20:23
ubottufbi (source: fbi): Linux frame buffer image viewer. In component universe, is optional. Version 2.10-2ubuntu1 (bionic), package size 58 kB, installed size 153 kB (Only available for linux-any)20:23
xamithanIsn't fbterm not being developed anymore?20:23
OerHeksnot sure, it is in the repos20:24
OerHeks!info fbterm20:24
ubottufbterm (source: fbterm): fast framebuffer based terminal emulator for Linux. In component universe, is optional. Version 1.7-4 (bionic), package size 55 kB, installed size 135 kB20:24
xamithanlast release 201020:24
premobossfbi is aviewer, i mean a fixed walpaper tghat stay fixed on background even if i type commant on CLI.20:24
premobossCLI gas a black baground, so why not possible to bate a "image" as background?20:25
xamithanBecause it renders text-only20:25
xamithanThats why you need the fbterm replacement20:25
premobossxamithan, so no way to do what i wish to do?20:25
xamithanRead that askubuntu link OerHeks posted20:26
OerHekslike this?20:26
OerHekshttps://www.reddit.com/r/unixporn/comments/1dlnca/ubuntu_1304_serverfbterm_science/20:26
premobossi go to read.20:26
OerHeksit all depends on the image format, i guess20:26
xamithanAnything is possible with enough effort.  I wouldn't want to put in that much effort just to get a background on virtual tty,  maybe you do =)20:26
premobossxamithan, ahaha :-)20:27
Geoxamithan: did you have any thoughts on the gru error I pasted earlier?20:27
EriC^hi Geo what's the problem20:28
xamithanOh that grub error?  I looked at it briefly.  Either you aren't booted into the right mode EFI vs legacy.  Or the partition isn't set up correctly20:28
Geomaybe i can try to slide my question back in- doing some apt updates, grub was uninstalled and reinstalled, and now says it can't install on sda (where my ESP is). "grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.20:28
GeoBIOS is set to UEFI; it has booted properly prior to this20:28
Geo(and grub installed properly on install)20:29
xamithanso why are you using grub-install20:29
xamithanIf its UEFI20:29
EriC^Geo: sounds like it's trying to install in legacy mode20:29
GeoEriC^: I would agree20:29
EriC^Geo: which grub version is installed? "dpkg -l | grep grub"20:29
Geoxamithan: because thats all I know20:29
Geo-efi-amd64 ?20:29
xamithanEr i mean why are you booting legacy if you got a UEFI20:29
=== [1]MrMobius is now known as MrMobius
GeoI'm not booting legacy20:30
EriC^Geo: what does 'ls /sys/firmware/efi' give?20:30
Geoand i can confirm /sys/firmware/efi exists20:30
Geohaha ^20:30
GeoEFI20:30
Geoso is there a different program than grub-install I should be using?20:30
xamithanno but you need the grub-efi package20:31
EriC^Geo: try forcing efi, sudo grub-install --target=x86_64-efi20:31
xamithanand the /boot/efi needs to be properly mounted in the chroot20:31
Geogrub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.20:31
EriC^Geo: are you doing this from a live usb?20:31
Geono, booted system20:31
Geoit booted properly, just got hosed after doing some dpkg work20:32
EriC^Geo: try sudo apt-get install --reinstall grub-efi-amd64-signed20:32
Geook, installing...20:32
EriC^and grub-efi-amd64-bin as well20:32
Geoand success on install :)20:32
EriC^cool20:33
GeoInstallation finished. No error reported.20:33
xamithanis grub-efi just the meta of those ?20:33
Geothanks a ton20:33
Geoahhh... damnit20:33
EriC^no problem20:33
GeoI know what happened20:33
GeoI was importin a list of packages from an old machine20:33
Geo... that booted legacy20:33
Geoso it must have deselected the uefi stuff and remove20:34
Geod20:34
xamithanHeh20:34
Geomakes perfect sense in hindsight20:34
EriC^ah20:34
Exumadoes anyone know how to set up a socks5 proxy on ubuntu with basic auth user/password, but without having to make a linux user for it20:40
Exumamaybe just in the config file itself20:40
xamithanEven if you had a user in a config file it would still need to exist on the system20:42
premobossOerHeks, thanks, the link reply to my need.20:46
Exumaxamithan i guess what im saying is i want it in a config file so ic an easily change the user20:46
Exumawithout having to add/delete users20:46
Geook, bonus points20:47
xamithanFor the users theirself or for the program to run as ?20:47
xamithanYou could always make a wrapper20:47
Exumaim trying to make a socks5 proxy with user:pass@ip:port where the user/pass can be easily changed20:47
xamithanI don't know of any socks software that'll do that.  Maybe one exists20:48
OerHekspremoboss, have fun!20:50
premobossOerHeks, nos i must work to make it start at boot, im tinking to placve the wrapper onto /etc/rc.local20:50
craigbass76I don't know what package removal did this, but I've got no network after a reboot. ifconfig just shows lo:... ip a showed a disabled enp0s25. After ip link set up enp0s25 and dhclient, I'm up and running. But I'm curious what happened to cause this.20:59
iosecureWhich version of Ubuntu?21:00
craigbass76iosecure, 18.04. I'm wondering if apt got trigger happy when I uninstalled an old hplip the other day. I know python got wiped off, not sure what else the autoremove got rid of.21:01
xamithanwhat is managing the network,  just make that start on boot21:02
iosecurenetplan?21:02
craigbass76No idea. I'm old -- still used to /etc/init.d scripts21:03
xamithanI don't assume anything with how many choices there is these days21:03
iosecurecraigbass76: Desktop or server?21:03
xamithanIf I had to assume,  he has a desktop with networkmanager and could just right click in the systemtray to fix it21:03
craigbass76Desktop. The GUI tool did me no good. I'm on XFCE at the moment21:03
craigbass76Network Connections shows nothing, but here I am on irc... Weird.21:06
Geook, so I need to copy /etc from one machine to another. How can I transfer files that preserve the owner, when some are root, from machine to another (that doesn't have root user login enabled for ssh)21:12
GeoI was thinking of copying to a dir, chown'ing to a local user and using that, but I'm worried that I can't track user perms properly21:12
craigbass76Can you run rsync on the remote machine, and pull instead of push the files?21:13
craigbass76Or is root ssh disabled on both boxes?21:13
Geodisabled on both21:14
GeoI mean, I guess I could enable it for a bit on one machine21:14
GeoBut now I'm more curious about the concept in general21:14
EriC^Geo: one way to do it would be to save the permissions using getfacl then use setfacl to restore them21:16
iosecuretar / rsync are your best options.21:16
EriC^yeah tar would be nice21:17
Geoah, yes, tar will preserve perms, won't it21:17
Geogood call21:17
Geo-p should be sufficient?21:18
iosecureYou don't even need to transfer a file.21:18
UserYok05!19.0421:19
iosecuretar cpf - /etc | ssh remote 'tar xp -C /etc'21:19
iosecureStreams the tar archive data to the remote system, which extracts in place. Change the destination directory as desired.21:19
Geosexy.21:19
UserYok05!usb21:20
ubottuFor information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent21:20
UserYok05!ram21:20
ubottuIf you are wondering why some tools report your system has very little free memory, have a look at http://www.linuxatemyram.com/21:20
Geohmm21:21
GeoI think I have to login as root for ssh on that, no?21:22
iosecureYes. Create an ssh keypair as root on the source system, and copy the public half to /root/.ssh/authorized_keys.21:22
iosecureOn the target system.21:22
iosecuresshd's default configuration is 'PermitRootLogin prohibit-password' which allows key login.21:23
iosecureAt least, on Ubuntu.21:23
UserYok05!ssd21:24
ubottuMany Solid State Drives support TRIM, which allows the drive to do garbage collection and improves performance. Ubuntu 14.04 activates it by default. For older versions, see http://askubuntu.com/a/19480 for information on activating it.21:24
Geowell if keypairs work, I don't even need to tar; scp should be fine?21:29
xamithanYou doing one file ?21:29
Geobut alternatively, I could tar, copy over the tar as a user, then extract as root on the local machine I think21:30
Geoxamithan: the /etc dir21:30
iosecureGeo: Or you could do what I said, and do the simple thing.21:30
xamithanJust rsync with -a21:31
GeoI can't tell if rsync would support keypairs or not, with an ssh transfer21:33
iosecurersync goes over ssh by default.21:33
iosecureSo if you have the keys appropriately set up, rsync is also just as easy.21:34
GeoI was looking for the -i equivilent, I don't think that exists21:34
iosecureIn what?21:34
Georsync21:34
Geospecifying which keypair to use21:34
iosecureIf you have the keys set up correctly, you don't have to.21:34
iosecuressh will automatically use private keys named id_blah in ~/.ssh21:35
Georight, i have several I use depending on where I'm going21:35
Geoso id_bla_foo, id_bla_bar, etc21:35
iosecureSounds pointless.21:35
Geo*shrug* ok21:36
iosecureRephrasing: That's unnecessary.21:36
iosecureSo if you like to complicate things, go for it, but... There's no technical reason to do so.21:36
iosecurersync -a -e "ssh -i $HOME/.ssh/keyfile" /from/dir/ user@host:/to/dir/21:37
ph88i installed libpcre2-32-0 but pkg-config can't find it, anyone know what's up with that ?21:43
ph88i have the file  /usr/lib/x86_64-linux-gnu/pkgconfig/libpcre2-32.pc21:44
Geoare there any gotchas I should observe in copy /etc from one machine to another?21:44
Geo*copying21:45
GeoI'm hoping for a near-exact clone, to include users, groups, etc.21:45
GeoI don't know what host-specific files might be lurking in there though21:45
xamithanIf you got different users using different UIDs it might cause tons of problems with file permissions21:47
hggdhGeo: usually, copying /etc as is from one machine to the other is not a good idea21:47
just4youHello!21:48
ph88nvm maybe it's just not suppose to print anything by default21:48
just4youI have a big problem in my system can I found a solution?21:49
iosecureDepends on the problem.21:49
Geoxamithan: hmm.21:49
Bashing-om!ask | just4you21:49
ubottujust4you: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience21:49
Geonew system is fresh install; as long as the (only) user on the new system matches the ID of the same user on the old machine, it should be fine? maybe? Good catch21:50
Geohggdh: which part concerns you specifically?21:50
Geofstab, too...21:51
just4youI've got a problem in my system |GUI wasn't able to make it|, So I formatted my System and I reinstalled it but after reinstalling my system started to freeze so much!21:51
Geomeh21:52
just4youI guess it's from Ubuntu Base! because I knew a friend has the same problem21:52
just4youSorry for that but I'm new ubuntu user ^^21:52
Bashing-omjust4you: Known good - verified - install medium ?21:53
just4youwhat is medium -,-21:53
Geoif it weren't for the damn legacy->uefi, I would have just pulled the drives and moved them over21:54
Geostill think that would have been faster, haha21:54
Geobut now I know uefi!21:54
Bashing-omjust4you: USB - DVD - Gaed drive - else ?21:54
just4youI installed ubuntu using USB =)21:54
Bashing-om!md5sum | just4you21:55
ubottujust4you: To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM21:55
just4youSorry, But I don't have iso image file right now but I downloaded it from ubuntu (Ubuntu 18.04.1 LTS)21:58
iosecurejust4you: That process isn't to confirm the source of the image. It's to confirm that it wasn't corrupted during the download.22:00
iosecureOr during writing to media.22:00
just4youBut I installed ubuntu in 5 devices, Only this device is freezing22:01
GeoFirst time in almost 10 years of using ubuntu, I had a corrupted image a few weeks ago22:01
GeoTook me 3 failed installs to think to verify the md522:01
just4youSo you suggested me to reinstall with verifying md522:02
OerHeksso all those devices are the same hardware?22:04
just4youYeah Ubuntu 18.04.1 LTS on 5 devices,22:05
just4youOnly 2 of them has freezing problem22:05
no-nhi. when I ssh into my ubuntu server and start tmux, tmux hangs. how do I use tmux on an ssh'd ubuntu server?22:06
no-nI'm running 16.0422:07
no-ns/the server is/I'm/22:08
no-nuh s/I'm/the server is/ I mean22:09
iosecureno-n: Do you commonly use tmux?22:15
no-nyes22:15
no-nonly locally so far22:16
iosecureCheck out byobu.22:17
iosecureIt should already be installed.22:17
iosecuretmux config manager. 'byobu', or 'byobu-enable' to autostart it when you log in as that user.22:17
no-nI started it. It just clears the screen and puts the cursor at the top22:19
iosecureThen you have an existing tmux session that's hung.22:20
no-nah22:20
iosecureNot sure why that happens, but I've had it happen with tmux on every OS I've used. Ubuntu, Debian, Fedora, CentOS, FreeBSD, Arch Linux, etc. tmux will occasionally hang when connecting to an existing session.22:20
no-ncreate session failed: /usr/bin/byobu-shell: No such file or directory22:21
iosecureOdd.22:21
no-nam i supposed to create a link to a shell there?22:21
iosecureNo.22:21
iosecureThat should be installed by the byobu package, which is standard for an Ubuntu server install.22:22
no-nHmm22:22
iosecureThe command byobu exists, so you definitely have the package.22:22
no-nperhaps my VPS is running plain Ubuntu22:22
no-nbrb22:22
iosecureWhat's your VPS host?22:22
no-nhttps://www.vpscity.co.nz22:22
iosecureNever dealt with them, can't comment on the quality.22:23
iosecureBut it seems like at least one file for an installed package is inexplicably absent.22:23
no-nhmmm22:30
devouthi can someone help me.. im using Hauppauge WinTV-HVR 1250 HDTV Tuner PCI-E Model tv tuner with "tvtime" program.  it mostly works but the picture is distorted and wavy..22:38
devoutother programs such as kaffeine wouldnt work at all22:38
tatertotsdevout: on all channels or on 1 specific channel?22:38
devouti only have it on channel 3, its attached to the cable box22:39
devouti jiggled and screwed in the cables all over, no avail22:39
tatertotsdevout: oh so you're not actually using ATSC but standard coax/rf sdtv22:39
devoutok?22:39
devoutwhat steps should i take22:39
devouti have a similar model but USB for notebooks, it works fine on my laptop22:40
devoutthis one is pci22:40
tatertotsdevout: linuxtv.org22:40
devouti mean i tried like 4-5 other clients nothing worked22:41
=== phunyguy is now known as phunysanta
devoutive had success with tvttime in the past22:42
devouton other setups22:42
tatertotsdevout: you plan on using analog cable box or OTA HDTV/ATSC?22:42
devoutanalog22:42
devouti think22:43
devoutidk its cablevision NYC area22:43
devoutsamsung22:43
tatertotsdevout: does your cable provider offer clear QAM channels?...most in the USA are moving to "switched SV"22:44
devouti dont know really22:44
devouti didnt need any special parameters when i did it with the USB device on my laptop22:45
devoutwith the same program, tvtime, it just worked with a little tweaking22:45
tatertotsdevout: visit linuxtv.org and find your device and scan for channels22:45
devoutok, you understand i scanned for channels and it came up and i have audio and the picture its just alittle messed up22:45
devoutstill find device and scan?22:45
tatertotsdevout: that's analog sdtv via cable box rf channel 322:46
tatertotsdevout: visit linuxtv.org and find your device and scan for channels22:46
devoutok22:46
devoutthanks22:46
tatertotsdevout: https://linuxtv.org/wiki/index.php/ATSC_devices22:48
devoutok im on itt22:49
devoutthanks22:49
devouttatertots: i dont know which frequency or setting to use22:54
devouthttps://linuxtv.org/wiki/index.php/Scan22:54
devouti got the modul einstalled22:54
devouttvtime does its own scan too but i could try a different setting22:56
devoutits been successful finding the right channel the picture is just distorted22:56
devoutkaffeine similarly has all the pal and ntsc settings22:58
devoutbut i havent been successful to get a picture in that22:58
=== averagecase is now known as innu
devoutNTSC gets me a picture23:01
devoutany more ideas, tatertots ?23:05
devoutthe module is loaded and scan came up for one channel23:06
devoutstill distorted picture23:06
devoutok i think i may be onto something, this scan may work23:14
devoutNo23:15
tatertotsdevout: hiya..was away for a bit23:28
devouthi23:28
devoutim uscing w_scan now but it doesnt seem to be finding anything23:28
devoutFREQ (54.00MHz ... 858.00MHz)23:29
devoutdoes that mean a channel was found?23:29
tatertotsdevout: you need to scan for clear QAM channels from your provider HFC hi usually works23:29
devouthow do i do that23:29
tatertotsare you using tzap, azap? to do your "initial" scanning23:29
tatertots?23:29
devoutidk im using "scan" and "w_scan" and "tvtime" app does its own internal scan that turns up the channel, just a distorted picture.. the same process with another TV tuner card worked on my laptop so i dont see its an issue with specific channels or anything23:30
tatertotsfirst tell me your card info?.....usb or pci?23:30
devoutw_scan is working right now23:30
devoutpci e23:30
tatertotswhich hauppauge do you have?23:31
devoutFront view of a Hauppauge WinTV-HVR-125023:31
devout Hauppauge WinTV-HVR-125023:31
devoutcx23885 module23:31
devoutw_scan turnd up empty, no data found23:32
devoutbut tv time apps internal scan shows a picture23:32
tatertotsdevout: NTSC is "unsupported" by the way just FYI https://linuxtv.org/wiki/index.php/ATSC_PCIe_cards23:32
devouti see23:32
devouttvtime works though in most respects, the picture is just distorted23:32
devoutand i used a similar process with another card that was successful23:32
devoutno distortion23:32
tatertotsdevout: because tvtime is NTSC and ntsc isn't supported23:33
devoutno special frequencies or anything23:33
devoutQAM23:33
devoutnothing23:33
devoutok23:33
devoutas i said it worked with a similar tv tuner on usb23:33
devoutfrom happauge23:33
devoutany ideas/23:35
devoutor am i up the creek?23:36
tatertotsyou'll need to manually scan for HDTV channels23:37
tatertotshttps://linuxtv.org/wiki/index.php/Testing_your_DVB_device23:37
tatertotsfor ATSC (whats used in america) you'll use zap from dvb-apps23:37
devoutok, im on it thanks23:38
devoutwhat should i use to scan23:39
devouttzap?23:39
tatertotszap23:40
tatertotsit's in "dvb-apps"23:40
tatertotsstep #1 shown here https://linuxtv.org/wiki/index.php/Testing_your_DVB_device instructs you to obtain the "dvb-apps" package to have HDTV "tools"23:41
devoutyea i have it23:41
devout(dvb)scan /path_to_the_initial_scan_file > ~/.{a,c,s,t}zap/channels.conf23:42
devoutwhere is the initial file23:42
devoutor should i be using zap23:42
tatertotsyou haven't "scanned" yet....scanning results in having a channels.conf23:43
tatertotsstep #223:43
tatertots"refer to "23:43
devout2. Scan for the channels you can receive23:43
tatertotsit's referring you to make a channels.conf23:43
devoutit suggests running a command line so23:43
devout (dvb)scan /path_to_the_initial_scan_file >23:43
devout                ~/.{a,c,s,t}zap/channels.conf23:43
devoutthe scan command wants an initial file23:44
devoutbefore it creates channels.conf23:44
tatertotscorrect23:44
tatertotsRefer to the (dvb)scan article for details of how to perform this step. Once familiar with the content of that article, you will recognize that this step can be summarized (in general form) by:23:44
devoutscan comes with23:45
devout terrestrial transmitters (for dvb-t)23:45
devoutthe listed settings are all for UK23:45
devout~$ scan /usr/share/dvb/dvb-s/Eurobird1-28.5E >latest_channels.conf23:45
devoutscanning /usr/share/dvb/dvb-s/Eurobird1-28.5E23:45
devouthow do i customize that for my card23:45
tatertotsthen now you have the "channels.conf"23:45
devoutnah23:46
devoutthat was pasted from the page23:46
devouti cant figure out the scan command23:46
devoutok im onto something23:46
tatertotslol...well you'll have to figure out the scan command23:46
devoutok23:47
tatertotsyou're not gonna make any progress unless you can scan23:47
tatertotsscanning results in the creation of a channels.conf to be used in later steps of the setup23:47
devoutit doesnt have any USA listings23:49
devoutauto-Default didnt work23:49
tatertotsopen terminal23:50
devoutya23:50
devout scan -a 0 /usr/share/dvb/dvb-t/auto-Default23:51
tatertotssudo apt install inxi23:51
tatertotslet me know when done23:51
devoutdone23:51
tatertotsinxi -Fxxprzc0|nc termbin.com 999923:51
tatertotsshare url/link here..if you do not get a url/link..say so23:51
devouthttps://termbin.com/xk3h23:52
tatertotsls -lh /dev/dv*|nc termbin.com 999923:52
tatertotsshare url/link here..if you do not get a url/link..say so23:52
devouthttps://termbin.com/oo9923:52
devoutit should be on /dev/video023:52
devouti think23:53
devoutnot sure23:53
devoutmaybe not23:53
tatertotsok you're drivers are installed23:53
devoutyea23:53
devoutlet me paste u resluts of scan23:53
tatertotshave you tried kaffiene?23:54
devouti didnt paste all of it just a sample23:54
devoutyes it doesnt work23:54
devoutnone of them do but tvtime23:54
devouthttps://pastebin.com/GBFJ5WZy23:54
devouti followed documentaton exactly23:54
devoutit didnt find any channels23:54
devouttvtime worked instantly on scan23:54
devoutonly picture is distorted23:54
devoutsound, picture work23:54
devoutits own scan though23:55
devoutnot scan command23:55
tatertotshmmm interesting...kaffiene usually exposes the scanning for usa channels plain23:55
tatertotsyou may need to try several ATSC compatible scanners23:55
tatertotsto find one with USA freq23:55
devoutwell FWIW i used tvtime on my laptop with no special scanners on the same cable feed last year it worked23:56
tatertotsI noticed the one used in example is for DVB users that live in the UK23:56
devoutyes23:56
devoutwith a slightly different card23:56
devouta USB one23:56
tatertotsthen just go back to that hardware setup23:56
devoutyeah ill try to see if i can get it working on my desktop23:56
devoutalright thanks for your help man23:56
devoutreally nice of you23:56
tatertotsif you can't....you'll be figuring out how to scan digital23:56
devouti only spent $15 on this card anyway from ebay23:57
devoutwill try the USB card23:57
devoutthanks23:57
devoutthanks tatertots23:57
tatertotsno prob23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!