[01:06] <luke-jr> Dec 18 17:23:52 linux-5 kernel: /var/lib/snapd/snaps/chromium_1424.snap: Can't open blockdev
[01:06] <luke-jr> all the snaps fail to mount at boot since I switched to ZFS
[01:07] <luke-jr> any hints on where to fix this?
[02:51] <tombert> Hi! I am having an issue with a little ubuntu server box that I'm running in my basement; I'm able to SSH into it just fine and whatnot, but I cannot seem to get an outside connection
[02:52] <tombert> if I do something like `ping google.com`, I get `ping: google.com: Name or service not known`
[02:53] <tombert> My resolv.conf looks like `nameserver 8.8.8.8`
[02:54] <tombert> this is a real problem, as i cannot get any updates or anything like that; the thing is just connected to my router via ethernet
[02:58] <tombert> OH wait, figured it out, something bad in my router settings
[03:02] <limbo> Is there a non-headachy way to get from an old-ass version of ubuntu to a recent version? The machine I'm on is rocking 17.04 and I want to update, ideally without doing a complete reinstall. I've already change the apt sources to old-releases.ubuntu.com, and that seems to allow apt to work, but do-release-upgrade still tells me there's no update available.
[03:06] <nt0> limbo: might be best suited by backing up your data, putting any custom configs in a git repo somewhere, and doing it fresh.
[03:06] <nt0> <--not an ubuntu poweruser but i've dealt with this sorta stuff in the past
[03:08] <Bashing-om> limbo: the Prompt line in /etc/update-manager/release-upgrades is set to normal ?
[03:16] <limbo> Bashing-om: It's set to prompt=lts does that matter?
[03:18] <Bashing-om> limbo: Yup = matters heaps :D .. for this one instance you do want it set to normal, then once finally up to release 18.04 to get to 20.04 reset to "LTS".
[03:24] <limbo> it started, but I get "An upgrade from 'zesty' to 'bionic' is not supported with this tool." after a time and do-release-upgrade terminates. not feeling hopeful.
[03:24] <TheGallopingFox> apt-get remove --purge ubuntu
[03:24] <TheGallopingFox> shit wrong terminal
[03:35] <nt0> lol
[05:32] <stunts513> i'm a bit confused, does the current version of ubuntu's live linux kernel come natively with netboot support now?
[05:34] <stunts513> i might be asking that wrong because the instruction that mentioned this were citing the ubuntu live server installer iso, but i'm trying to cannibalize it for something else.
[05:43] <stunts513> actually never mind i think i found the legacy netboot kernel images for 20.04 laying around somewhere on the net. i use netboot over tftp + nfs for a pxe boot live os.
[06:02] <Rexodus> Which fool thought it would be a good idea to rename all packages in XFCE4? Firefox is called web browser and Kate is text editor etc etc. Can I turn that off?
[06:03] <Rexodus> Imagine they are going to do the same tomorrow with the promp commands. At least you won't be able to find anything!
[06:03] <neildugan> I am trying to get xrdp to work... when trying to connect it ask for a name/password... I then get a blue screen (no login)... and after a couple of minutes it says it can't connect... what can I do to fix this?
[06:04] <Rexodus> neildugan: Check your logs.
[06:07] <neildugan> Rexodus, I got this a few time "xrdp[4249]: (4249)(140716595636032)[DEBUG] Closed socket 21 (AF_UNIX)"
[06:08] <neildugan> Rexodus, and this 'xrdp-sesman[2548]: (2548)(140482182530368)[INFO ] ++ terminated session:  username neil, display :10.0, session_pid 4250, ip ::ffff:10.8.0.23:53998 - socket: 12'
[06:09] <Rexodus> neildugan: according to Google you are not the only one with this problem. I suggest you chooze another VNC like tight VNC.
[06:10] <Rexodus> Seems a bug to me.
[06:11] <neildugan> Rexodus, I have tightvncserver installed.
[06:24] <neildugan> I using xtightvncviewer ... I get a grey screen with an 'x' for a cursor, nothing else!
[06:30] <Rexodus> neildugan: Are you sure you have a connection between those 2?
[06:31] <Rexodus> Looks to mee they don't see each other.
[06:32] <Rexodus> And check your firewalls.
[07:16] <ducasse> Rexodus: iirc that is a setting to use generic names for apps, that can be changed in settings somewhere. try #xubuntu
[07:16] <ducasse> i no longer use xfce myself, so don't remember
[09:00] <Deyaa>  How to use reboot(); without root? I can reboot my system as a normal user but when I do it with c++ it doesn't work.
[09:05] <ducasse> Deyaa: when you use reboot as a normal user it calls systemd to shut down for you, which is running as root
[09:07] <Deyaa> Now I understand
[09:07] <ducasse> you can probably call systemd from your code, there is a #systemd channel iirc
[09:08] <Deyaa> Thank you
[09:08] <ducasse> note that it only works rfor users at the console
[09:10] <Deyaa> ducasse: only root can reboot ?? I heard someone saying something about setcap(8)
[09:10] <ducasse> root or users at the console
[09:11] <ducasse> in the olden days we used sudo to reboot
[09:32] <Deyaa> ducasse: the world didn't get so far since then .. just fancy  user interfaces.
[10:33] <estan> hi all. i'm building custom kernels following https://wiki.ubuntu.com/KernelTeam/GitKernelBuild#Kernel_Build_and_Installation since i'm bisecting to debug a problem we're having. i was just wondering, how can i make `make deb-pkg` produce a linux-modules-*.deb as well?
[10:33] <estan> currently it produces only linux-image-*.deb and linux-headers-*.deb
[10:34] <estan> i.e. i'd like to end up with the same set of debs like the mainline builds at https://kernel.ubuntu.com/~kernel-ppa/mainline/
[10:37] <lotuspsychje> estan: we usually advice to test things with the !mainline kernels to debug bugs on ubuntu, instead of compiling kernels yourself
[10:38] <lotuspsychje> estan: unless you would you to !contribute and help with the kernel team, there's also #ubuntu-kernel
[10:39] <tomreyn> bisecting will require building kernels seperately, though
[10:39] <lotuspsychje> estan: this bug you have, is it been filed in launchpad the ubuntu way? or an internal bug?
[10:40] <estan> yes, be believe we've narrowed it down to v5.4.13..v5.4.14, so we're about to bisect between those.
[10:40] <estan> it's an issue we see also with mainline kernels, we have not reported it in launchpad yet.
[10:41] <lotuspsychje> estan: care to share what the bug is about?
[10:43] <estan> it is what looks like a complete CPU lockup, with nothing printed on dmesg (and nothing with netconsole logging either). it is happening on a specific set of industrial PCs that we use on our product, which have a i7-4770TE CPU.
[10:45] <estan> we hit it when we moved to focal, so we're running with older kernels now as a workaround. the lockup can happen after a few hours, or after a couple of weeks, so it's been some work to bisect. but we're hopeful it is one of the x86 commits between v5.4.13..v5.4.14. we've had v5.4.14 lock up within a day, and have had v5.4.13 run fine for 3+ weeks.
[10:46] <estan> so we're about to bisect between them after christmas, and i thought i'd start compiling up some kernels in advance.
[10:46] <lotuspsychje> estan: those kernel versions look funny, is that an ubuntu derivative?
[10:47] <estan> err sorry! 5.3.13 and 5.3.14.
[10:48] <lotuspsychje> estan: wich ubuntu release are you guys running?
[10:48] <estan> but i was just wondering about `make deb-pkg`, if i'm supposed to get a linux-modules-*.deb out of it, in addition to the linux-image-*.deb and linux-headers-*.deb.
[10:48] <estan> 20.04
[10:50] <estan> there are quite a few erratas for the CPU we're using, so we are looking into the possibility that there may be some that our BIOS has not worked around (talking to the industrial PC builder about that).
[10:50] <estan> but in parallel, following the idea that it might be some kernel bug, so going to bisect v5.3.13..v5.3.14.
[10:51] <lotuspsychje> estan: current focal kernel is 5.4.0-58 so not sure why you guys run lower kernels? you compile them your own or so?
[10:52] <estan> yes, like i said, we're using older kernels on the products on the machines in the field as a workaround. but this is for in-house testing, to narrow it down.
[10:53] <lotuspsychje> estan: i think for kernel compile you might wanna try ##kernel
[10:53] <estan> the lockup has been confirmed to occur with 5.4.0-58, so that is currently a "bad" version for us.
[10:54] <lotuspsychje> estan: if you want ubuntu support, we strongle advice to file it the ubuntu way, so the kernel devs can also help debug on it
[10:54] <estan> alright, i wasn't sure if that was the place, since it seems to be about kernel development. but i'll ask in there.
[10:55] <lotuspsychje> estan: #ubuntu-kernel also handles the development, but the ubuntu way
[10:56] <estan> yea, sure. we will file a launchpad bug eventually. at the moment we're following a good lead with this bisecting though, since we have kernel version that work well and those that don't. once we've narrowed it down we'll make a report.
[10:56] <estan> thanks.
[10:56] <lotuspsychje> estan: so if you guys also get the lockup on -58 try ubuntu-bug linux
[10:57] <lotuspsychje> estan: in my opinion it only benefits to help each other both way industrial & opensource community
[10:59] <tomreyn> estan: #ubuntu-kernel is the right place to ask (i notice you did). you'll need to wait a while (hours, maybe days) to get a proper answer there - the kernel team may not be around during the weekend. (consider a commercial support contract.) personally, i don't think you get a separate modules package for mainline builds, but don't rely on me.
[10:59] <estan> absolutely. i can file a bug now already, but it will take some time for us to write it up and give all the background information. we're quite sure this lockup is very specific and restricted to this particular industrial PC, the chipset it uses or the CPU / BIOS combo. i'm not sure someone without that HW would be able to help in debugging.
[11:00] <estan> tomreyn: alright, thanks for the info. no worries, i'll idle in there.
[11:00] <tomreyn> good luck, that's an unfortunate debugging situation
[11:01] <estan> and don't worry, we will for sure file a launchpad bug eventually, because if it turns out it's a kernel bug, we'll want to get a fix into the kernel and try to get an SRU for the ubuntu kernel package, so we'll need to go through that process.
[11:01] <estan> heh yea. we've been debugging it for close to a year.
[11:02] <estan> it's not a big problem for us to run an older kernel on the machines in the field, but it's a bit annoying and we want to resolve the issue of course.
[11:03] <Reintje> Hey where would I ask a question about running commands on a minrcraft server through bash scripts? Is that even possible? Very odd question I know
[11:10] <lotuspsychje> Reintje: is this what you look for? https://minecraft.gamepedia.com/Tutorials/Ubuntu_startup_script
[11:11] <Reintje> lotuspsychje: nope, that I can manage. What I mean is a way to (for example) run a script that bans someone from the server or gives them items or anything else that happes within the running java program
[11:12] <TheRedRipper> minecraft on ubuntu? fun
[11:12] <Reintje> Thanks for the help though, because it's probably a stupid question
[11:12] <TheRedRipper> a banmod you mean?
[11:13] <Reintje> TheRedRipper: why is it fun? As in: why would that be worthy of mention lol
[11:13] <TheRedRipper> fun to do
[11:13] <TheRedRipper> minecraft and ubuntu is fun
[11:13] <Reintje> TheRedRipper: well I'll try to explain what I'm attempting
[11:13] <TheRedRipper> kay
[11:13] <Reintje> Yeah it is fun I just thought I might have overlooked some major problem or something lol
[11:13] <TheRedRipper> well go ahead, and explain
[11:14] <Reintje> Well what I want to do is create a script that will check an API every x seconds and if it has updated information it spawns a mob on a minecraft server
[11:15] <TheRedRipper> that prob exists somewhere
[11:15] <TheRedRipper> id suggest hitting up java, thats what mc runs on
[11:15] <Reintje> So for example, I'd get a twitter API and keep track of #zombie, so whenever someone tweets that it spawns a zombie
[11:15] <TheRedRipper> ohhh like a discord-server bridge, but twitter
[11:16] <Reintje> Yeah I'll try java, but I wasn't sure if maybe ubuntu/linux has the answer for this
[11:16] <TheRedRipper> its mainly in java, since thats what MC runs on
[11:17] <Reintje> TheRedRipper: yes something like the discord bridge except I'd like control over what it does
[11:17] <TheRedRipper> yeah... like i said java can help you
[11:18] <Reintje> I bet it'd be fun to disable natural mob spawning and only have monsters appear when someone tweets that covid is a hoax lmao
[11:18] <TheRedRipper> not sure linux can solv the issue here
[11:18] <TheRedRipper> hahahaha
[11:18] <Reintje> Thanks for the help I'll ask there later today
[11:18] <TheRedRipper> np
[12:14] <max12345> Hi, I have a smaller than 1920x1080 display and a window is too long and I can't interact with it properly. Help? Rescaling, moving so I can reach the bottom, etc..
[12:15] <max12345> Ah, nvm I got it.
[12:16] <max12345> (there is a right click menu "move" function that enables moving beyond window bounds)
[12:17] <max12345> thanks for rubber ducking! bye!
[12:50] <BluesKaj> howdy all
[14:49] <bitblit> when I switch to a tty with ctrl-alt-f2, the scrolling speed is very very slow. using intel integrated graphics (broadwell). dmesg seems to indicate framebuffer is active, no errors..
[15:17] <geosmile> Why isnt Ubuntu desktop maintained on Dell XPS 15?
[15:22] <GSMarquis77> 20.10, x1 carbon 6th gen. Getting screen tearing on intel graphics when using firefox or Chromium. hardware accel on or off
[15:23] <gregl> geosmile:https://medium.com/@kaigo/ubuntu-20-04-on-dell-xps-15-9570-14efd881f0d2
[15:23] <geosmile> gregl, That is what started my question - clearly ubuntu is not maintained on dell xps 15.
[16:40] <miguel2013> what's a graphical partition manager for ubuntu not DISKS
[16:40] <miguel2013> that works with NTFS file systems
[16:41] <miguel2013> DISKS failed to resize my fs and crashed windows and can't recover
[16:41] <miguel2013> the app
[16:42] <bitblit> gparted
[16:43] <miguel2013> is it good with ntfs fs
[16:43] <bitblit> you may want to check but i think so.
[16:57] <miguel2013> gparted is failing to load on ubuntu while scaning sdb
[16:57] <miguel2013> any other gui partition manager
[16:58] <lotuspsychje> miguel2013: disk-tools is default on gnome if you like
[16:59] <miguel2013> the problem is windows is only seeing 300gb on the partition but the same partition has 463GB realy
[16:59] <miguel2013> lotuspsychje: disks failing to resize my partition
[16:59] <miguel2013> it crashed windows and I had to fix it with chkdsk but left it incoinsistnt as i was telling
[16:59] <miguel2013> 300gb usage but 468gb really
[17:00] <miguel2013> windows and linux display 90GB left space but windows shows the size of the partition as 300gb and linux 468gb
[17:01] <miguel2013> need to fix the inconsistency in linux that  I already have
[17:01] <miguel2013> I got ubuntu 20
[17:01] <miguel2013> just need a tool not disks
[17:05] <Maik> ubuntu 20 what?
[17:05] <Maik> 20.04.1 LTS or 20.10
[17:06] <Maik> it's possible that windows only shows what's free on the partition and gparted shows the total of the drive
[17:09] <miguel2013> negative
[17:10] <miguel2013> I'll chkdsk it
[18:00] <miguel2013> gdisks corrupted my mbr partition
[18:00] <miguel2013> how to get it back? I can't load windows anymore or get to its trobleshooting command prompt options
[18:01] <miguel2013> my ssd now says it has gpt but is actually mbr
[18:01] <miguel2013> how to switch it back?
[18:01] <miguel2013> using bootable windows 10 when I type bootrec /fixmbr it says io output error probably cause it wants to do it on the usb drive that is write protected
[18:02] <miguel2013> not on my disk
[18:02] <miguel2013> how to repair mbr on ssd from ubuntu?
[18:33] <miguel2013> help please
[18:33] <miguel2013> I can't boot into windows, I ran gdisk and ruined my mbr
[18:33] <miguel2013> changed it to gpt
[18:33] <miguel2013> when doing convert mbr from diskpart it says it can't convert it back cause it needs an empty disk
[18:33] <miguel2013> help
[18:43] <jeremy31> miguel2013: can you tell the Windows ISO what drive to fix the mbr on?
[18:44] <jeremy31> miguel2013: You might have to try yannubuntu's boot repair from an Ubuntu Live USB
[18:46] <GoonDog> hello, I am trying to install Eclipse IDE, latest version with no prior Eclipse installed in my Ubuntu, I am stuck and I am past bin you where I stuck, so that if somebody could care enough to take a look and point me to the right direction here is the pastebin https://paste.ubuntu.com/p/V6kYkxskwN/
[19:01] <oerheks> GoonDog, good luck, that download is not supported here, snap only https://snapcraft.io/eclipse
[19:04] <unixbsd> Hello, how to plot f(x) as a function of g(x) with gnuplot for x from 0 to 1000?  I would like to have x that changes, and X/Y are f(x) and g(x).
[19:06] <GoonDog> not supported?
[19:06] <oerheks> GoonDog, nope, only our repositories.
[19:07] <GoonDog> wow, pretty conservative oerheks
[19:07] <oerheks> and not sure why you are root, unpacking stuff in a /home/  folder..
[19:08] <GoonDog> unixbsd,  if you know how to code in Python, R or Maxima, this will be easy,
[19:09] <GoonDog> so if i want to install Android Studio which I need to develop mobile application by utilizing Java, Ubuntu will not provide support
[19:11] <oerheks> interesting statement, GoonDog .. https://snapcraft.io/android-studio
[19:11] <oerheks> we don't support, as it is a prop blob
[19:20] <GoonDog> no wonder I prefer Debian
[19:38] <mok0> And why is that Goondog
[19:45] <N3bulaK> Evening all
[19:46] <N3bulaK> I have an Appimage and created a .desktop script for it
[19:47] <N3bulaK> but the icon is not showing up in the list
[19:47] <oerheks> N3bulaK, after creating, you might need to logout/login ?
[19:47] <N3bulaK> oh
[19:47] <N3bulaK> let me try
[19:47] <oerheks> unless you put it in ~/.local/share/applications as user
[19:49] <N3bulaK> just restarted the machine
[19:49] <N3bulaK> but still no icon :(
[19:50] <N3bulaK> Appimage is in the ~/.local/share/applications
[19:50] <oerheks> correct path to the icon?
[19:50] <oerheks> https://askubuntu.com/a/907572
[19:50] <N3bulaK> when I run the application, it does show the icon in the taskbar but not in the list of apps
[19:53] <N3bulaK> oerheks: oh thank you for the example
[19:53] <N3bulaK> in the script it shows Application with a capital A?
[19:55] <N3bulaK> but I don't have the folder Applications in my user
[19:56] <N3bulaK> is there a way to install the Appimage?
[19:56] <N3bulaK> can I use --install?
[20:00] <jeremy31> N3bulaK: double click on the file
[20:01] <N3bulaK> doesn't install it
[20:02] <jeremy31> N3bulaK: does it run?
[20:02] <N3bulaK> yeah, I have right clicked on it to make it executable
[20:03] <jeremy31> N3bulaK: see https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-20-04-focal-fossa-linux
[20:03] <jeremy31> From there I think it can be added to the program list
[20:04] <N3bulaK> jeremy31: Thank you :) I will give it a go
[20:04] <N3bulaK> Wohoo
[20:04] <N3bulaK> oerheks: instructions worked
[20:04] <N3bulaK> :D
[20:04] <N3bulaK> Thank you peeps
[20:26] <arooni> hey folks ; i have a thinkpad bluetooth keboard attached to my ubuntu 20.04 laptop.   everything works EXCEPT for the cool scroll by holding the middle button down and the thinkpad button ... i know the keyboard works fine so its something about the intepreretation of it into ubuntu.  any ideas?
[20:31] <white_magic> hey guys, I'm trying to use the 'column' command but it appears that on my Ubuntu installation, it's missing a few switches, like '-o', which let's you specify the output separator character. Can you recommend an alternate formatting utility? Or how to install a version of this utility that has that switch?
[20:31] <BlueEagle> arooni: I am not an expert in the field, but such things as fancy scrolls and media buttons (i.e. non-core function) might requrie hardware spesific driver. Have you tried it in Windows, and does the feature work there without installing any additional drivers?
[20:32] <BlueEagle> white_magic: `man columns` says that -s specifies the separators.
[20:33] <white_magic> BlueEagle: yes, it says that but it's actually for input separators. That option (which I actually use) pertains to how to parse input
[20:33] <BlueEagle> white_magic: unless I misunderstood you and you want columns to display something not in columns, but rather as a csv
[20:34] <arooni> BlueEagle: thanks for the response.  i DO know it works b/c prior to me upgrading my internal bluetooth 3.0 card to a 5.1 usb stick it worked fine.  could the new bluetooth adapter be the culprit?
[20:34] <white_magic> BlueEagle: the opposite. My input is a CSV. The output I get right now is quite nice, but I would just like to turn it into a table by specifying '|' as the output separator
[20:36] <BlueEagle> white_magic: If you have example input and desired output it would make it easier to understand what you want.
[20:37] <white_magic> sure thing, give me a second
[20:37] <white_magic> for example: echo "a,b,c" | column -t -s"," .. this outputs "a    b     c". I would like it to become "a|b|c"
[20:40] <white_magic> I might just have to creatively use sed to deal with this
[20:40] <white_magic> better yet, awk
[20:43] <arooni> unrelated question: on ubuntu 20.04 sometimes my t420 laptop can't seem to resume and come back from suspend; or rather it can and i can enter my password to login/unlock but it just seems to do nothing.  in the past i've tried sudo killall gnome-shell -9 ; but that doesnt seem to reset the GUI and i end up having to restart.  is there a better way?
[20:45] <BlueEagle> white_magic: echo "a,b,c" | column -t -s","|sed 's/\s*/\|/g'
[20:45] <BlueEagle> white_magic: replace a collection of white spaces with |
[21:18] <jelly> hi, is there a Skylake+ libva driver for bionic somewhere?
[21:22] <jelly> intel-media-va-driver and intel-media-va-driver-non-free seem to be absent
[21:24] <_Sym_> i965-va-driver
[21:25] <_Sym_> or i965-va-driver-shaders
[21:25] <_Sym_> and libvdpau-va-gl1
[21:26] <jelly> i965-va-driver{,-shaders} is for older intel gpus than what's in this i5-8365U I think
[21:27] <jelly> (also, https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-driver/+bug/1813131 prevents libva from working under default wayland _at all_, but that's a different issue)
[21:28] <oerheks> https://launchpad.net/ubuntu/+source/intel-media-driver-non-free
[21:29] <jelly> what about it
[21:29] <oerheks> oh wait, bionic
[21:30] <jelly> yes.  I already know there's a build for focal+
[21:31] <jelly> I'd expect this to be covered in hwe-18.04
[21:31] <jelly> (it's not)
[21:32] <_Sym_> there is a backport
[21:32] <_Sym_> https://launchpad.net/~morphis/+archive/ubuntu/intel-media
[21:33] <_Sym_> for bionic
[21:33] <_Sym_> but last update was 69 weeks ago
[21:33] <agile_prg> hi all, I just installed ubuntu 20.04
[21:34] <agile_prg> I installed openssh-server and it will not let me login with the username and password
[21:34] <agile_prg> I did a ctrl-alt-f5 and attempted to login that way and it would not work either
[21:34] <agile_prg> I reset the password as I have auto login, but it still does not work
[21:34] <agile_prg> any ideas?
[21:38] <jelly> _Sym_, thanks!  I'll see if that wants to install, and decide whether I want it thta bad.  Not to keen on running a year+ old ffmpeg
[22:00] <BlueEagle> agile_prg: Did you use any special characters in your password, and do you have the correct keyboard layout now?
[22:01] <BlueEagle> agile_prg: hit: try typing the characters for your password in the user name field and see that they are they characters you think they are.
[22:01] <BlueEagle> s/hit/hint/
[22:01] <agile_prg> I fixed it thanks
[22:02] <agile_prg> BlueEagle are you good at networking by chance?
[22:02] <BlueEagle> !ask| agile_prg
[22:02] <agile_prg> I want to access a computer attached to a switch with ip address 10.163.51.82
[22:03] <agile_prg> I set the ip address on another linux computer to 10.163.51.85 but when I try to ping it says network unreachable
[22:03] <BlueEagle> agile_prg: You may need to specify the correct netmask as well.
[22:03] <BlueEagle> agile_prg: It should, in that case, be 255.255.255.0
[22:04] <agile_prg> yes it is set to that
[22:05] <BlueEagle> agile_prg: Hmmm what does `route` yield? (See !paste)
[22:07] <BlueEagle> agile_prg: modified from `man route`: route add -net 10.163.51.0 netmask 255.255.255.0 metric 1024 dev eth0
[22:07] <agile_prg> it says link-local 0.0.0 255.255.0.0 u 100 0 0 eno1
[22:08] <agile_prg> wow that worked!
[22:08] <BlueEagle> agile_prg: You're welcome.
[22:08] <BlueEagle> agile_prg: You need a route for the computer to know where a packet needs to go. :)
[22:08] <agile_prg> ok, my next questions is I have one ethernet cable going to a switch and I want to access the 10.163.51.82
[22:09] <agile_prg> do I just need to add a route to it, or do I need to also add like a fake interface with an ip address on that sbunet?
[22:09] <BlueEagle> agile_prg: Do you usually have a different IP-address on that interface?
[22:09] <agile_prg> I usally get a dynamic ip address through dhc
[22:09] <agile_prg> yes
[22:09] <agile_prg> through dhcp
[22:10] <BlueEagle> agile_prg: And that IP is not in the 10.163.51.0 subnet I assume.
[22:10] <agile_prg> not it isn't
[22:10] <agile_prg> can't type today :>
[22:12] <BlueEagle> agile_prg: I think it should work, because it tells your computer to look for that IP on eth0 and not the default gateway so my suggestion is to try it.
[22:12] <agile_prg> so just add the route like I did before?
[22:12] <BlueEagle> agile_prg: I also suggest you read `man route`
[22:12] <BlueEagle> agile_prg: Yeah, I think that should work, but I'm not a network engineer.
[22:14] <agile_prg> nope that didn't work
[22:17] <BlueEagle> agile_prg: You could try: `ip route add 10.163.51.82/32 dev eth0`
[22:18] <BlueEagle> agile_prg: provided eth0 is your interface of course.
[22:19] <agile_prg> that didn't work either
[22:19] <BlueEagle> agile_prg: does `route` still list the old route entries?
[22:19] <agile_prg> ya
[22:20] <BlueEagle> agile_prg: then delete the previous routes or you will be stuck :)
[22:20] <agile_prg> heh ok
[22:22] <agile_prg> that didn't work
[22:22] <BlueEagle> agile_prg: so what does `route` yeld now?
[22:23] <agile_prg> Kernel IP routing table
[22:23] <agile_prg> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
[22:23] <agile_prg> default         _gateway        0.0.0.0         UG    100    0        0 eno1
[22:23] <agile_prg> 10.163.51.82    0.0.0.0         255.255.255.255 UH    0      0        0 eno1
[22:23] <agile_prg> link-local      0.0.0.0         255.255.0.0     U     1000   0        0 eno1
[22:23] <agile_prg> 192.168.84.0    0.0.0.0         255.255.254.0   U     100    0        0 eno1
[22:23] <BlueEagle> !paste | agile_prg
[22:24] <agile_prg> heh oops
[22:26] <agile_prg> any other ideas?
[22:28] <BlueEagle> !patience| agile_prg
[22:28] <agile_prg> ok
[22:31] <BlueEagle> agile_prg: I think we should try to set your own computer as the gateway for this IP so `ip route add 10.163.51.82/32 via 192.168.84.XXX dev eth0` where XXX is the last octet to make this your IP
[22:31] <BlueEagle> agile_prg: Not at all sure if this will work though.
[22:32] <BlueEagle> agile_prg: If it does not then you may have to fiddle with a virtual device or find someone that know networking. :)
[22:33] <BlueEagle> agile_prg: https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/ip-routing-explained might help too
[22:33] <agile_prg> heh ok
[22:34] <agile_prg> I don't know the octet thing your talking about
[22:35] <BlueEagle> an IP-address consists of four octets (values from 0 to 255).
[22:36] <agile_prg> ok
[22:39] <BlueEagle> agile_prg: https://unix.stackexchange.com/questions/571187/ubuntu-server-virtual-network-interface-with-internet-access looks to be what you need. Create a new veth and give it the IP you set to your physical nic when it worked and then route traffic to 10.0.0.0/8 or something through that. You can tighten the mask as hard as you want if you have to access some other 10.x.x.x-network in the future.
[22:39] <SynfulAck> I think my system updated on 2004 and when i opened chrome i didnt have my original tabs. Is that normal?
[22:40] <agile_prg> BlueEagle I appreciate your help, ya that did not work
[22:41] <BlueEagle> SynfulAck: Normally your personal settings are kept in your /home directory, and upgrading the system should not affect these. However if an application changes how they store stuff then what was in your /home directory will not be valid anymore.
[22:41] <BlueEagle> agile_prg: remember to remove any previous routes. If you !paste your `ifconfig` and `route` I can have a look.
[22:43] <agile_prg> https://paste.ubuntu.com/p/qHpN3X78q9/
[22:43] <BlueEagle> agile_prg: Also `networkctl status` might be useful
[22:44] <BlueEagle> agile_prg: I don't see any virtual interfaces set up.
[22:44] <agile_prg> https://paste.ubuntu.com/p/rpYWMSwNqk/
[22:45] <BlueEagle> agile_prg: Oh, not using systemd-networkd? Are you on 18.04?
[22:45] <agile_prg> 20.04
[22:45] <agile_prg> well 20.04.1 to be specific
[22:45] <BlueEagle> agile_prg: Then I would expect networkd to be running unless you have disabeld netplan
[22:46] <agile_prg> networkd-dispatcher is running
[22:50] <BlueEagle> agile_prg: Ok, we'll try to work with what we got: `ifconfig veth0 10.163.51.82` and `route add -net 10.163.51.0 netmask 255.255.255.0 metric 1024 dev veth0`
[22:50] <agile_prg> ok
[22:50] <BlueEagle> agile_prg: that should set up a virutal interface veth0 with the IP 10.163.51.82 and then add a route  to the 10.163.51.0/24 network via veth0
[22:52] <BlueEagle> agile_prg: If that does not work, remove the previous routes and try to use the name eth0:0 in stead of veth0
[22:53] <agile_prg> ok one sec, starting fresh
[22:53] <BlueEagle> agile_prg: Are your network cards configured in /etc/network/interfaces ?
[22:54] <agile_prg> BlueEagle one sec, I can't set veth0 to 10.163.51.82 because the other computer has that ip address
[22:54] <agile_prg> I need to set it to something like 10.163.51.85 right?
[22:54] <BlueEagle> agile_prg: I thought your computer had that IP just a few moments ago. :)
[22:54] <BlueEagle> Yeah, you want your IP to be something on the same subnet. I might have messed up 82 and 85 :)
[22:55] <agile_prg> it had the ip address of 10.163.51.85 and then it could ping the computer I want to get into which has 10.163.51.82
[22:55] <agile_prg> ifconfig veth0 10.163.51.85 says no such device
[22:57] <BlueEagle> agile_prg: then try eth0:0
[22:57] <BlueEagle> agile_prg: in stead of eth0
[22:57] <BlueEagle> veth0
[22:57] <agile_prg> ok that worked, the network interface name is eno1 by the way
[22:57] <agile_prg> not eth0
[22:58] <BlueEagle> ahh, well eno1:0 then I guess
[22:58] <BlueEagle> point is that we need a virutal one that can access stuff. :)
[22:58] <octav1a> Hello. I'm trying to run a udev rule when I plug in my tablet, which runs a few things to fix where the pointer is aligned to. The problem is that the script, when udev runs it, makes an error "Failed to open display. Unable to connect to X server" How can I make the udev-initiated script run "as if it was running in my current open X session" ?
[22:58] <BlueEagle> agile_prg: If that now has that IP you can try to set up the route with dev eno1:0 as we tried first when it worked.
[22:59] <agile_prg> yes I do
[22:59] <BlueEagle> octav1a: You probably don't want the script to requrie an X-application to run.
[23:00] <BlueEagle> octav1a: i.e. the user that runs the script does not have an active X-session and can therefore not run an X-application, so check your script if it calls some X-applications and find a command line alternative.
[23:00] <agile_prg> BlueEagle on the route command what should I put for veth0, is it eno1:0 ?
[23:00] <octav1a> BlueEagle: the script runs two programs: 'xsetwacom' and 'xinput'   -- they are both "command line"
[23:00] <BlueEagle> agile_prg: eno1:0 would be the device we want to use.
[23:01] <octav1a> (but I would think, they DO still need access to the X session to work!)
[23:01] <agile_prg> it works!!!!!
[23:01] <BlueEagle> octav1a: Both of them start with x, so both of them appear to be X-applications.
[23:01] <BlueEagle> agile_prg: You're welcome. :) Also I learned a lot about virtual interfaces in the process. :)
[23:02] <agile_prg> now the big question, how do I make this automatic on bootup?
[23:02] <octav1a> BlueEagle: Yes, the problem is rather graphical in nature: the coordinates of the tablet stylus are offset incorrectly.
[23:02] <BlueEagle> agile_prg: are your network interfaces configured in /etc/network/interfaces ?
[23:03] <BlueEagle> octav1a: I see. But the script needs to be run by the user when the device is connected, and not by the udev daemon. I am not sure how to trigger a user space script from an udev event, but I'll see if my google-fu can find out.
[23:03] <agile_prg> I do not have that file
[23:03] <agile_prg> which confuses me
[23:03] <BlueEagle> agile_prg: Ok, then it's some netplan stuff that is voodoo to me. :)
[23:03] <SynfulAck> BlueEagle, isnt there some location chrome stores the tabs incase of this?
[23:03] <agile_prg> I have directories if-down.d, if-post-down.d if-pre-up.d if-up.d
[23:04] <BlueEagle> SynfulAck: I would not know. I would guess ~/.chrome or somesuch
[23:05] <BlueEagle> agile_prg: /etc/netplan is the place for this.
[23:05] <agile_prg> oh wow
[23:05] <BlueEagle> agile_prg: https://linuxhint.com/ubuntu_20-04_network_configuration/
[23:05] <agile_prg> I am quite new to this
[23:07] <Bashing-om> agile_prg: ^^ so it's systemd-networkd, and config's under /etc/systemd/network/ .
[23:07] <BlueEagle> octav1a: https://superuser.com/questions/582723/can-udev-somehow-trigger-zenity-for-a-logged-in-user-in-a-session - The last entry here shows how to run  a script in an X-session. Not sure if it will work for your case, though.
[23:10] <BlueEagle> Bashing-om: An example on how to set this up would help a lot.
[23:12] <Bashing-om> BlueEagle: I have no experience with networkd - All I can do is blunder along with you. See: https://blog.ubuntu.com/2017/12/01/ubuntu-bionic-netplan for some examples.
[23:16] <agile_prg> I heard there was a way to record the screen in ubuntu 20.04.1 that is default installed
[23:16] <agile_prg> has anyone done that?
[23:16] <lotuspsychje> agile_prg: gnome has an internal record function yeah
[23:17] <agile_prg> can I invoke it from the command line somehow just curious?
[23:17] <lotuspsychje> agile_prg: didnt do it myself, but i think so yes
[23:18] <agile_prg> has anyone used xrdp?
[23:20] <octav1a> BlueEagle: unfortunately, i've tried a number of small variants, but I'm not able to use that script, either. I get the same display errors when it gets to the "xhost" line.
[23:26] <octav1a> I've also tried the wrapper script and xauthority method described here: https://unix.stackexchange.com/questions/65788/why-doesnt-xsetwacom-work-from-udev
[23:27] <BlueEagle> kc
[23:27] <BlueEagle> octav1a: Sorry, but I mostly use ubuntu on my servers, so I don't really have any experience with X-servers, but I hope someone else will be able to help.
[23:28] <octav1a> ok
[23:39] <agile_prg> hi all I ssh into an ubuntu server from another ubuntu server and when I use vi it types weird letters when I try to insert text
[23:39] <agile_prg> any ideas how I fix that?
[23:40] <agile_prg> pico works right
[23:41] <agile_prg> vim fixed it nm