[01:06] Dec 18 17:23:52 linux-5 kernel: /var/lib/snapd/snaps/chromium_1424.snap: Can't open blockdev [01:06] all the snaps fail to mount at boot since I switched to ZFS [01:07] any hints on where to fix this? === de-facto_ is now known as de-facto === zbenjamin is now known as Guest86635 === zbenjamin_ is now known as zbenjamin [02:51] 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] if I do something like `ping google.com`, I get `ping: google.com: Name or service not known` [02:53] My resolv.conf looks like `nameserver 8.8.8.8` [02:54] 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] OH wait, figured it out, something bad in my router settings === gelswippe is now known as gelswip [03:02] 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] 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] <--not an ubuntu poweruser but i've dealt with this sorta stuff in the past [03:08] limbo: the Prompt line in /etc/update-manager/release-upgrades is set to normal ? [03:16] Bashing-om: It's set to prompt=lts does that matter? [03:18] 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] 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] apt-get remove --purge ubuntu [03:24] shit wrong terminal [03:35] lol === Hash is now known as THC [05:32] i'm a bit confused, does the current version of ubuntu's live linux kernel come natively with netboot support now? [05:34] 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] 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] 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] 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] 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] neildugan: Check your logs. [06:07] Rexodus, I got this a few time "xrdp[4249]: (4249)(140716595636032)[DEBUG] Closed socket 21 (AF_UNIX)" [06:08] 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] neildugan: according to Google you are not the only one with this problem. I suggest you chooze another VNC like tight VNC. [06:10] Seems a bug to me. [06:11] Rexodus, I have tightvncserver installed. [06:24] I using xtightvncviewer ... I get a grey screen with an 'x' for a cursor, nothing else! [06:30] neildugan: Are you sure you have a connection between those 2? [06:31] Looks to mee they don't see each other. [06:32] And check your firewalls. [07:16] Rexodus: iirc that is a setting to use generic names for apps, that can be changed in settings somewhere. try #xubuntu [07:16] i no longer use xfce myself, so don't remember === de-facto_ is now known as de-facto [09:00] 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] Deyaa: when you use reboot as a normal user it calls systemd to shut down for you, which is running as root [09:07] Now I understand [09:07] you can probably call systemd from your code, there is a #systemd channel iirc [09:08] Thank you [09:08] note that it only works rfor users at the console [09:10] ducasse: only root can reboot ?? I heard someone saying something about setcap(8) [09:10] root or users at the console [09:11] in the olden days we used sudo to reboot [09:32] ducasse: the world didn't get so far since then .. just fancy user interfaces. [10:33] 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] currently it produces only linux-image-*.deb and linux-headers-*.deb [10:34] 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] estan: we usually advice to test things with the !mainline kernels to debug bugs on ubuntu, instead of compiling kernels yourself [10:38] estan: unless you would you to !contribute and help with the kernel team, there's also #ubuntu-kernel [10:39] bisecting will require building kernels seperately, though [10:39] estan: this bug you have, is it been filed in launchpad the ubuntu way? or an internal bug? [10:40] 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] it's an issue we see also with mainline kernels, we have not reported it in launchpad yet. [10:41] estan: care to share what the bug is about? [10:43] 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] 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] so we're about to bisect between them after christmas, and i thought i'd start compiling up some kernels in advance. [10:46] estan: those kernel versions look funny, is that an ubuntu derivative? [10:47] err sorry! 5.3.13 and 5.3.14. [10:48] estan: wich ubuntu release are you guys running? [10:48] 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] 20.04 [10:50] 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] 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] 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] 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] estan: i think for kernel compile you might wanna try ##kernel [10:53] the lockup has been confirmed to occur with 5.4.0-58, so that is currently a "bad" version for us. [10:54] 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] 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] estan: #ubuntu-kernel also handles the development, but the ubuntu way [10:56] 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] thanks. [10:56] estan: so if you guys also get the lockup on -58 try ubuntu-bug linux [10:57] estan: in my opinion it only benefits to help each other both way industrial & opensource community [10:59] 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] 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] tomreyn: alright, thanks for the info. no worries, i'll idle in there. [11:00] good luck, that's an unfortunate debugging situation [11:01] 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] heh yea. we've been debugging it for close to a year. [11:02] 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] 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] Reintje: is this what you look for? https://minecraft.gamepedia.com/Tutorials/Ubuntu_startup_script [11:11] 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] minecraft on ubuntu? fun [11:12] Thanks for the help though, because it's probably a stupid question [11:12] a banmod you mean? [11:13] TheRedRipper: why is it fun? As in: why would that be worthy of mention lol [11:13] fun to do [11:13] minecraft and ubuntu is fun [11:13] TheRedRipper: well I'll try to explain what I'm attempting [11:13] kay [11:13] Yeah it is fun I just thought I might have overlooked some major problem or something lol [11:13] well go ahead, and explain [11:14] 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] that prob exists somewhere [11:15] id suggest hitting up java, thats what mc runs on [11:15] 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] ohhh like a discord-server bridge, but twitter [11:16] Yeah I'll try java, but I wasn't sure if maybe ubuntu/linux has the answer for this [11:16] its mainly in java, since thats what MC runs on [11:17] TheRedRipper: yes something like the discord bridge except I'd like control over what it does [11:17] yeah... like i said java can help you [11:18] 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] not sure linux can solv the issue here [11:18] hahahaha [11:18] Thanks for the help I'll ask there later today [11:18] np [12:14] 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] Ah, nvm I got it. [12:16] (there is a right click menu "move" function that enables moving beyond window bounds) [12:17] thanks for rubber ducking! bye! [12:50] howdy all === akem_ is now known as MadeInLatvia [14:49] 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] Why isnt Ubuntu desktop maintained on Dell XPS 15? [15:22] 20.10, x1 carbon 6th gen. Getting screen tearing on intel graphics when using firefox or Chromium. hardware accel on or off [15:23] geosmile:https://medium.com/@kaigo/ubuntu-20-04-on-dell-xps-15-9570-14efd881f0d2 [15:23] gregl, That is what started my question - clearly ubuntu is not maintained on dell xps 15. === clemens3_ is now known as clemens3 [16:40] what's a graphical partition manager for ubuntu not DISKS [16:40] that works with NTFS file systems [16:41] DISKS failed to resize my fs and crashed windows and can't recover [16:41] the app [16:42] gparted [16:43] is it good with ntfs fs [16:43] you may want to check but i think so. [16:57] gparted is failing to load on ubuntu while scaning sdb [16:57] any other gui partition manager [16:58] miguel2013: disk-tools is default on gnome if you like [16:59] the problem is windows is only seeing 300gb on the partition but the same partition has 463GB realy [16:59] lotuspsychje: disks failing to resize my partition [16:59] it crashed windows and I had to fix it with chkdsk but left it incoinsistnt as i was telling [16:59] 300gb usage but 468gb really [17:00] windows and linux display 90GB left space but windows shows the size of the partition as 300gb and linux 468gb [17:01] need to fix the inconsistency in linux that I already have [17:01] I got ubuntu 20 [17:01] just need a tool not disks [17:05] ubuntu 20 what? [17:05] 20.04.1 LTS or 20.10 [17:06] it's possible that windows only shows what's free on the partition and gparted shows the total of the drive [17:09] negative [17:10] I'll chkdsk it [18:00] gdisks corrupted my mbr partition [18:00] how to get it back? I can't load windows anymore or get to its trobleshooting command prompt options [18:01] my ssd now says it has gpt but is actually mbr [18:01] how to switch it back? [18:01] 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] not on my disk [18:02] how to repair mbr on ssd from ubuntu? === denningsrogue5 is now known as denningsrogue [18:33] help please [18:33] I can't boot into windows, I ran gdisk and ruined my mbr [18:33] changed it to gpt [18:33] when doing convert mbr from diskpart it says it can't convert it back cause it needs an empty disk [18:33] help [18:43] miguel2013: can you tell the Windows ISO what drive to fix the mbr on? [18:44] miguel2013: You might have to try yannubuntu's boot repair from an Ubuntu Live USB [18:46] 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] GoonDog, good luck, that download is not supported here, snap only https://snapcraft.io/eclipse [19:04] 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] not supported? [19:06] GoonDog, nope, only our repositories. [19:07] wow, pretty conservative oerheks [19:07] and not sure why you are root, unpacking stuff in a /home/ folder.. [19:08] unixbsd, if you know how to code in Python, R or Maxima, this will be easy, [19:09] 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] interesting statement, GoonDog .. https://snapcraft.io/android-studio [19:11] we don't support, as it is a prop blob [19:20] no wonder I prefer Debian [19:38] And why is that Goondog [19:45] Evening all [19:46] I have an Appimage and created a .desktop script for it [19:47] but the icon is not showing up in the list [19:47] N3bulaK, after creating, you might need to logout/login ? [19:47] oh [19:47] let me try [19:47] unless you put it in ~/.local/share/applications as user [19:49] just restarted the machine [19:49] but still no icon :( [19:50] Appimage is in the ~/.local/share/applications [19:50] correct path to the icon? [19:50] https://askubuntu.com/a/907572 [19:50] when I run the application, it does show the icon in the taskbar but not in the list of apps [19:53] oerheks: oh thank you for the example [19:53] in the script it shows Application with a capital A? [19:55] but I don't have the folder Applications in my user [19:56] is there a way to install the Appimage? [19:56] can I use --install? [20:00] N3bulaK: double click on the file [20:01] doesn't install it [20:02] N3bulaK: does it run? [20:02] yeah, I have right clicked on it to make it executable [20:03] N3bulaK: see https://linuxconfig.org/how-to-create-desktop-shortcut-launcher-on-ubuntu-20-04-focal-fossa-linux [20:03] From there I think it can be added to the program list [20:04] jeremy31: Thank you :) I will give it a go [20:04] Wohoo [20:04] oerheks: instructions worked [20:04] :D [20:04] Thank you peeps === arooni_team_b is now known as arooni [20:26] 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] 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] 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] white_magic: `man columns` says that -s specifies the separators. [20:33] 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] white_magic: unless I misunderstood you and you want columns to display something not in columns, but rather as a csv [20:34] 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] 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] white_magic: If you have example input and desired output it would make it easier to understand what you want. [20:37] sure thing, give me a second [20:37] 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] I might just have to creatively use sed to deal with this [20:40] better yet, awk [20:43] 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] white_magic: echo "a,b,c" | column -t -s","|sed 's/\s*/\|/g' [20:45] white_magic: replace a collection of white spaces with | [21:18] hi, is there a Skylake+ libva driver for bionic somewhere? [21:22] 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] i965-va-driver{,-shaders} is for older intel gpus than what's in this i5-8365U I think [21:27] (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:27] Launchpad bug 1813131 in libva (Ubuntu Bionic) "i965_drv_video.so doesn't load any more if a Wayland server is present [failed to resolve wl_drm_interface(): /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_drm_interface]" [Undecided,Confirmed] [21:28] https://launchpad.net/ubuntu/+source/intel-media-driver-non-free [21:29] what about it [21:29] oh wait, bionic [21:30] yes. I already know there's a build for focal+ [21:31] I'd expect this to be covered in hwe-18.04 [21:31] (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] hi all, I just installed ubuntu 20.04 [21:34] I installed openssh-server and it will not let me login with the username and password [21:34] I did a ctrl-alt-f5 and attempted to login that way and it would not work either [21:34] I reset the password as I have auto login, but it still does not work [21:34] any ideas? [21:38] _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] agile_prg: Did you use any special characters in your password, and do you have the correct keyboard layout now? [22:01] 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] s/hit/hint/ [22:01] I fixed it thanks [22:02] BlueEagle are you good at networking by chance? [22:02] !ask| agile_prg [22:02] agile_prg: 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 !patience [22:02] I want to access a computer attached to a switch with ip address 10.163.51.82 [22:03] 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] agile_prg: You may need to specify the correct netmask as well. [22:03] agile_prg: It should, in that case, be 255.255.255.0 [22:04] yes it is set to that [22:05] agile_prg: Hmmm what does `route` yield? (See !paste) [22:07] agile_prg: modified from `man route`: route add -net 10.163.51.0 netmask 255.255.255.0 metric 1024 dev eth0 [22:07] it says link-local 0.0.0 255.255.0.0 u 100 0 0 eno1 [22:08] wow that worked! [22:08] agile_prg: You're welcome. [22:08] agile_prg: You need a route for the computer to know where a packet needs to go. :) [22:08] 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] 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] agile_prg: Do you usually have a different IP-address on that interface? [22:09] I usally get a dynamic ip address through dhc [22:09] yes [22:09] through dhcp [22:10] agile_prg: And that IP is not in the 10.163.51.0 subnet I assume. [22:10] not it isn't [22:10] can't type today :> [22:12] 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] so just add the route like I did before? [22:12] agile_prg: I also suggest you read `man route` [22:12] agile_prg: Yeah, I think that should work, but I'm not a network engineer. [22:14] nope that didn't work [22:17] agile_prg: You could try: `ip route add 10.163.51.82/32 dev eth0` [22:18] agile_prg: provided eth0 is your interface of course. [22:19] that didn't work either [22:19] agile_prg: does `route` still list the old route entries? [22:19] ya [22:20] agile_prg: then delete the previous routes or you will be stuck :) [22:20] heh ok [22:22] that didn't work [22:22] agile_prg: so what does `route` yeld now? [22:23] Kernel IP routing table [22:23] Destination Gateway Genmask Flags Metric Ref Use Iface [22:23] default _gateway 0.0.0.0 UG 100 0 0 eno1 [22:23] 10.163.51.82 0.0.0.0 255.255.255.255 UH 0 0 0 eno1 [22:23] link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eno1 [22:23] 192.168.84.0 0.0.0.0 255.255.254.0 U 100 0 0 eno1 [22:23] !paste | agile_prg [22:23] agile_prg: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [22:24] heh oops [22:26] any other ideas? [22:28] !patience| agile_prg [22:28] agile_prg: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [22:28] ok [22:31] 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] agile_prg: Not at all sure if this will work though. [22:32] agile_prg: If it does not then you may have to fiddle with a virtual device or find someone that know networking. :) [22:33] agile_prg: https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/ip-routing-explained might help too [22:33] heh ok [22:34] I don't know the octet thing your talking about [22:35] an IP-address consists of four octets (values from 0 to 255). [22:36] ok [22:39] 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] I think my system updated on 2004 and when i opened chrome i didnt have my original tabs. Is that normal? [22:40] BlueEagle I appreciate your help, ya that did not work [22:41] 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] agile_prg: remember to remove any previous routes. If you !paste your `ifconfig` and `route` I can have a look. [22:43] https://paste.ubuntu.com/p/qHpN3X78q9/ [22:43] agile_prg: Also `networkctl status` might be useful [22:44] agile_prg: I don't see any virtual interfaces set up. [22:44] https://paste.ubuntu.com/p/rpYWMSwNqk/ [22:45] agile_prg: Oh, not using systemd-networkd? Are you on 18.04? [22:45] 20.04 [22:45] well 20.04.1 to be specific [22:45] agile_prg: Then I would expect networkd to be running unless you have disabeld netplan [22:46] networkd-dispatcher is running [22:50] 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] ok [22:50] 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] 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] ok one sec, starting fresh [22:53] agile_prg: Are your network cards configured in /etc/network/interfaces ? [22:54] BlueEagle one sec, I can't set veth0 to 10.163.51.82 because the other computer has that ip address [22:54] I need to set it to something like 10.163.51.85 right? [22:54] agile_prg: I thought your computer had that IP just a few moments ago. :) [22:54] Yeah, you want your IP to be something on the same subnet. I might have messed up 82 and 85 :) [22:55] 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] ifconfig veth0 10.163.51.85 says no such device [22:57] agile_prg: then try eth0:0 [22:57] agile_prg: in stead of eth0 [22:57] veth0 [22:57] ok that worked, the network interface name is eno1 by the way [22:57] not eth0 [22:58] ahh, well eno1:0 then I guess [22:58] point is that we need a virutal one that can access stuff. :) [22:58] 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] 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] yes I do [22:59] octav1a: You probably don't want the script to requrie an X-application to run. [23:00] 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] BlueEagle on the route command what should I put for veth0, is it eno1:0 ? [23:00] BlueEagle: the script runs two programs: 'xsetwacom' and 'xinput' -- they are both "command line" [23:00] agile_prg: eno1:0 would be the device we want to use. [23:01] (but I would think, they DO still need access to the X session to work!) [23:01] it works!!!!! [23:01] octav1a: Both of them start with x, so both of them appear to be X-applications. [23:01] agile_prg: You're welcome. :) Also I learned a lot about virtual interfaces in the process. :) [23:02] now the big question, how do I make this automatic on bootup? [23:02] BlueEagle: Yes, the problem is rather graphical in nature: the coordinates of the tablet stylus are offset incorrectly. [23:02] agile_prg: are your network interfaces configured in /etc/network/interfaces ? [23:03] 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] I do not have that file [23:03] which confuses me [23:03] agile_prg: Ok, then it's some netplan stuff that is voodoo to me. :) [23:03] BlueEagle, isnt there some location chrome stores the tabs incase of this? [23:03] I have directories if-down.d, if-post-down.d if-pre-up.d if-up.d [23:04] SynfulAck: I would not know. I would guess ~/.chrome or somesuch [23:05] agile_prg: /etc/netplan is the place for this. [23:05] oh wow [23:05] agile_prg: https://linuxhint.com/ubuntu_20-04_network_configuration/ [23:05] I am quite new to this [23:07] agile_prg: ^^ so it's systemd-networkd, and config's under /etc/systemd/network/ . [23:07] 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] Bashing-om: An example on how to set this up would help a lot. [23:12] 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] I heard there was a way to record the screen in ubuntu 20.04.1 that is default installed [23:16] has anyone done that? [23:16] agile_prg: gnome has an internal record function yeah [23:17] can I invoke it from the command line somehow just curious? [23:17] agile_prg: didnt do it myself, but i think so yes [23:18] has anyone used xrdp? [23:20] 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] 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] kc [23:27] 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] ok [23:39] 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] any ideas how I fix that? [23:40] pico works right [23:41] vim fixed it nm