[00:10] I can't get lightdm to start. Using the radeon driver, tried to install amdgpu drivers but they were terrible so I reverted. [00:10] Now it segfaults at x startup [00:11] but the weird thing is it worked at first after amd uninstall; I think it failed after first reboot [00:11] I like to clone my system with clonezilla before fucking with it. [00:12] xorg log is unhelpful, it segfaults after RADEON(0) Setitn gscreen physical size [00:13] there's another issue though, I can't uninstall libvulkan1 [00:16] ubuntu takes 300+ MB of ram on boot. [00:16] That's no good. [00:17] would you like it to use more? [00:17] no. less [00:17] don't you have enough? [00:17] Nope. Just 1GB [00:17] me too [00:17] but i use xfce desktop [00:17] oh this is a vps [00:17] 18 lts [00:18] my desktop is 10 year old core 2 quad and 8gb ddr2 [00:18] really just console it's 300MB? [00:18] Well, it's got nginx, serving up one static site, and php running (barely used) [00:18] bryguypgh: Can you boot to the login screen and activate a virtual terminal ( ctl+alt+F2) ? [00:18] yes [00:19] I started with the smallest vps, if in case I need to scale up, I can increase it. [00:19] Now I'm trying to move an exim4 server from rackspace to digital ocean [00:19] I've got all the configs backed up, user maildirs backed up [00:20] Going from 16 lts to 18 lts while moving email servers [00:20] eep [00:20] Yup. [00:20] Just talked to rackspace API and extracted 30 domains in bind9 format [00:20] Trying to figure out cloudflare api to I can import them there [00:20] I tried xinit from there. I get a message about LLVM failing to compile a shader, then a backtrace (xorg libpthread libc.so radeonsi_dri.so) and Fatal Server Error: Caught signal 6 [00:20] bryguypgh: Great - pastebinplease ' /var/log/gpu-manager.log | nc termbin.com 9999 ; sudo lshw -C display | nc termbin.com 9999 '. [00:21] I think 300mg for nginx/one static site, mysql, etc. is not bad. [00:21] I see a lot of processes from lxcfs. I wonder what is that [00:21] htop shows a lot of mysql proceses I wonder why [00:22] it's rarely in use. In fact it's only installed there, it's not even in active use. [00:22] I was planning on using it late [00:27] termbin.com/9e08r termbin.com/htp5 [00:31] bryguypgh: So far looks good - but, " [00:32] Number of connected outputs for /dev/dri/card0: 2". What results when the external display is disconnected ? [00:32] hello [00:32] i mean, i have two monitors so thats expected [00:33] you want me to disconnect one or both? I tried turning off one earlier an dgot the same results [00:34] anyone ever heard about a problem with video and audio playback, when using HDMI audio as output ? [00:35] bryguypgh: My point is the driver not knowing to drive 2 monitors - reduce to simplest terms. Also anything from ' lsmod | grep amdgpu ' ? [00:38] nothing in lsmod | grep amdgpu but there was a few boots ago; i did an rmmod and added modprobe.blacklist=amdgpu to /etc/default/grub kernel command line and it hasn't come back [00:39] I also deleted all the vulkan packages (that's what led me to install amdgpu in the first place) [00:40] i did manage to remove libvulkan1 after removing kio and its dependencies === anchous is now known as anchovy [00:46] I guess no one knows :/ [00:47] bryguypgh: did you ' sudo apt purge mesa-vulkan-drivers vulkaninfo vulkan-utils ' ? [00:47] i did apt-get remove on them [00:49] should I reinstall then purge perhaps? [00:51] bryguypgh54: Let's "look" at what autoremove reveals - ' sudo apt -s --purge autoremove '. where 's' is to (s)imulate but do not do. [00:52] 0 [01:08] bray90820: Away for a spell - I will return in about 30 minutes. [01:11] Wrong ping but ok [01:13] looks like bryguypgh54 timed out there. [01:14] Enj0y: it's so unspecific, i doubt that's going to work out. :-/ [01:15] tomreyn, I can be more specific then; when using HDMI as my audio output, video and audio are played faster than they should (sounds like chipmunks [01:16] Enj0y: i haven't heard of it, but did you search launchpad, yet? [01:16] if mid-video I switch to a USB headset, video then plays at normal speed and audio sounds normal, if I switch it back to HDMI then it's sped up again.. it's doing that on every distros, any kernel... [01:17] I've searched everything :) [01:17] any distro, any (linux) kernel, does it happen with other OS? [01:17] on Windows it's working fine, it only happens on linux [01:20] maybe something codec related, do you get any possibly related errors or warnings in a temrinal where you started the playback application, or in another terminal where you run "journalctl -f" before playing it back and keep that open until after playback? [01:20] I've tried messing around with pulseaudio, grub (arguments), it's doing the same on both Xorg and Wayland [01:21] How can I get gcc 4.3 on ubuntu? Is there a repository with it? [01:22] probably too old [01:22] 4.8 is in the standard repository [01:22] the oldest you can get is 4.7 on xenial [01:23] tomreyn, no errors [01:23] why do you need such an old version? [01:23] frib: ^ [01:23] well I really just want to compile the earliest versions of bitcoin [01:23] but it throws all kinds of errors [01:24] Enj0y: hmm, maybe during audio device / monitor initialization when the system starts up (journalctl -b) [01:26] tomreyn, looking at it right now, is there anything that should be obvious if there was something wrong ? === zbenjamin_ is now known as zbenjamin [01:27] Enj0y: maybe if you just look for errors: journalctl -n3 -b [01:27] Enj0y: maybe if you just look for errors: journalctl -p3 -b [01:27] sorry, p, not n [01:28] replace 3 by 4 to include warnings, too [01:32] ah [01:32] Sep 27 19:03:09 localhost.localdomain gnome-shell[2081]: Failed to CRTC gamma: drmModeCrtcSetGamma on CRTC 47 failed: Permission denied [01:33] that's the only thing related to audio/video during boot [01:36] that's not it, though. so nothing during udev or pulseaudio or display initialization? [01:36] nope [01:37] then i'm out of ideas. [01:37] thanks for trying :) I've been searching for weeks now and I still have no idea [01:53] Casper26 [01:54] tomreyn === guiverc2 is now known as guiverc [03:05] does "mounting with ordered data mode" mean full journalling or just metadata journalling? [03:06] "[ 4.707018] EXT4-fs (nvme0n1p2): mounted filesystem with ordered data mode. Opts: (null)" [03:08] sounds like full journalling but that would be unexpected, since I don't say anything like that in fstab. does it just do full journal because it is nvme? [03:11] ah I see now, confusing terminology. "journal data mode" means data journalling, "data" means metadata journalling, "writeback" means no journalling. right? :( [04:47] im trying to use ubuntu on google cloud, and eth0 is missing, does anyone know what that might be from [04:48] hi [04:48] have i joined the offical ubuntu support channel [04:48] EriC^^, hi [04:48] immu: This is official, so ask your question here [04:49] was just confirming thanks [04:49] EoflaOE, [04:49] LOL *that* was his question. [04:50] Please fill out the short survey at the end of the call [04:50] immu: You are welcome. [04:51] Exuma: "eth0" is old identifier - what release is this? try 'ls -l /sys/class/net/' to see the network name. [04:52] Bashing-om : ens4 and lo [04:52] I am using google lcoud, and trying to set up a dante socks5 proxy so i can connect to an SFTP server [04:52] i cant even get dante to connect, all the tutorials just say "eth0" but i dont ever see that [04:52] i see "nic0" in google cloud but its not listed in ifconfig. i also assigned a static IP address [04:53] not connect, i just mean the server wont start because it can't find eth0 [04:57] Exuma: As you can see there is no eth0. Point to the corrrect interface name - be aware that "ens4" doesnotalsolookrighttome---mine is "enp0s8". [04:57] Bashing-om .. silly me. I just pointed it to "ens4" and the server booted. Thanks, i should have guessed that [04:59] Exuma: :D - Things change . [05:00] Bashing-om ok one more question -- im not sure if you know much about dante but if i run netstat -nlpt it says its listening on "10.x.x.x" should i make it 0.0.0.0 instead? [05:00] tcp 0 0 10.142.0.2:1080 0.0.0.0:* LISTEN 3860/danted [05:02] Exuma: the 10.x.x.x. is your LAN address. And nope know nothing of setting up Dante. [05:02] ok thanks Bashing-om [05:03] Exuma: Be aware the local loop is no longer 0.0.0.0 . [05:03] haha [05:04] Bashing-om ok one last question. I need to open porn 1080 I believe, to allow the socks5 server to be reached from otuside world. how might i do that? [05:08] s/porn/port/ ftfy [05:12] Would anyone know how i could manage multiple monitors without Window Manager? [05:12] I mean without a display manager* [05:13] Exuma: can not advise on opening that port. You will do well to read these docs -> [05:14] !netplan | Exuma [05:14] Exuma: Netplan is a network configuration abstraction renderer which uses YAML descriptions of a network to work with either a NetworkManager or Systemd-networkd "renderer". More information at https://netplan.io/ [05:14] I did a minimal install and installed I3wm where I3 starts only after i do a 'startx'. Xrandr --listmonitors does now show my external monitor, only the screen my laptop has. [05:28] I'm so glad I just got an old thinkpad and put Ubuntu on it. Reminds me of the olden days when I was a Linux addict... [05:29] jeanchris: Any problems? [05:29] not really. sorry is this a support only channel? [05:30] jeanchris: This channel is only for support. Discussion go to #ubuntu-discuss. [05:30] Ok [05:31] hi immu [05:53] So I'm using Apache 2.4 on Ubuntu 18.04 LTS, and I'm looking to override the default settings in mods-available/ssl.conf. I have other settings configured in a custom config in conf-available (which is enabled), but it seems that config is loaded prior to any of the module configs, so the defaults effectively override my overrides. [05:53] Is the proper approach to modify ssl.conf directly? [05:56] Yeah I think this is easy for you. [05:56] First of all.. you are in the wrong room for this question. [05:57] TheFatherMind: apache is a supported official package in ubuntu [05:57] However... the answer is easy. You symlink them into the available folder right? They read them in numeric then alphabetical order. So just make sure it reads the override one after. Name it something starting with a "t" or greater in the alphabet or rename the symlink for the ssl.conf to 0-ssl.conf [05:57] Fair enough. (: [05:59] I felt my question was Ubuntu-specific (Debian-specific?), because it has to do with the specifics of the directory layout and the default configuration. I've been using Gentoo for more than a decade for this sort of thing, which doesn't use conf-*, mods-*, sites- [05:59] *, etc. [05:59] natmal turns out I was wrong about that. Sorry. [06:00] What I'm not understanding is why, if my overrides are in conf-*, and the defaults are in mods-*, and apache2.conf loads mods-* before conf-*, that my overrides seem to be getting ignored. [06:00] Anyhow my solution should still work for you. Give it a shot. [06:00] Hmmmm I see what you mean. [06:01] Running "apachectl -t -D DUMP_INCLUDES" is showing my config file loading after the defaults from mods-*. [06:02] I have not used Apache in a while. try putting your settings in the mods folder before the ssl file and see if that changes it? [06:03] So there is no settings file for ssl in the conf folder? [06:03] Did you try grepping the folders to be sure? [06:04] There's an ssl.conf (establishes default settings) and an ssl.load (loads the module) in mods-*. [06:05] Well.. if I were you... I would try loading a conf before it to see what happens. and if that STILL does not have the desired affect I would edit the ssl.conf file and remark out whatever was pissing me off. But that may not be the correct path to follow. I will shut up now. [06:09] Okay, just me being stupid. I was looking at the wrong VM. :3 Thank you for trying to help. [06:10] is the phpmyadmin package covered by the security team? [06:19] LOL I love it when magical mysteries get solved. [06:20] natmal I have made the same mistake. [06:25] I am having a weird issue with osd_cat ... i have two apperently similair installs in virtualbox, and in one of them the command works in the other it doesn't, and by not working i mean that it runs, show nothing on the screen, and then waits for a couple of seconds, flashes the screens and exists the command, as would be normal behaviour if it had worked. I've checked for missing dotfiles and packages, ri [06:25] ght now im reading an strace to try to figure out what is going wrong, does this sound familiar to anybody? [06:37] No gksu in Ubuntu means no numix-folders to modify the Numix theme since it requires gksu. Is there a fake-gksu I can install which uses gvfs backend or some other means using sudo as fake gksu for packages requiring gksu in this instance? [07:33] how should I reset password ubuntu 18.04 password , when I booted from ubuntu-18.04.1.0-live-server-amd64.iso it goes for installing an it doesn't appear recovery mode [07:39] pabed: you can start it in recovery mode from the grub menu [07:40] pabed: start the normal ubuntu in recovery mode as mentioned, (grub > advanced > recovery) then press on start networking, then "drop to root shell" and once you get a prompt type "passwd " and set it [07:48] ducasse, EriC^: thanks alot I had to use SHIF for entering recovery mode [07:51] pabed: so now you're all set? [07:54] ducasse: yes , I took a root access in the grub mode and then I changed the user's password with " passwd user " [07:55] pabed: good to hear, have a nice day :) [07:55] ducasse: you too [07:55] 18.04's postfixadmin package defaults to $database_type="mysql"; in /usr/share/postfixadmin/config.inc.php , but 18.04 ships with PHP 7.2, and the "mysql" database driver doesn't work with PHP versions above 5.6, the 7.X compatible database driver is called "mysqli" - since 18.04 doesn't use php 5.6, the default should be the php7-compatible "mysqli", not "mysql" [07:56] hans_: you should probably report that in a bug, there's little we can do [08:25] ducasse, doned, https://bugs.launchpad.net/ubuntu/+source/postfixadmin/+bug/1845771 [08:25] Launchpad bug 1845771 in postfixadmin (Ubuntu) "postfixadmin php7-incompatible default configuration" [Undecided,New] [09:11] caffeine, which is supposed to keep ubuntu unlocked, doesn't seem to work at all [09:15] cluelessperson, maybe you're just not using enough caffeine? [09:19] hans_, I tried running it 100 times [09:19] with 100 beans? [09:31] i am getting error on mpd +ncmpcpp setup . please help . [09:32] using ubuntu bionic i am getting error :** ncmpcpp . connection refused . No active MPD connection [09:32] http://paste.debian.net/1103098/ [09:49] why LAN adapters enp3s0, enp4s0 on "ASUS P5W DH deluxe" motherboard (Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 20)), does not come up after standby? [10:00] Hi, I have no sound in a game(Snakebird) in Ubuntu 18.04 (Bionic Beaver). Sound otherwise works on the system. [10:00] hi, does anyone know how to config ubuntu server networking when running on macos virtualbox? im trying to get the ubuntu to connect to the internet, and the macos to connect to the ubuntu on a fixed ip, but cant get it to work. [10:00] ldd Snakebird.x86 doesn't list any missing libraries, although I had to install a couple :i386 packages to make it work. [10:00] bobbyperu: sounds like an issue with the VM software [10:01] Pavucontrol doesn't show any muted volume bars etc, I checked it out pretty thoroughly. [10:01] export: its probably me to be honest. i think both virtualbox and ubuntu are working correctly [10:01] Snakebird runs with sound in Debian 10, I have two systems in my house. [10:02] Any tips restoring the sound in 18.04? [10:03] bobbyperu: i've seen some super strange stuff happen with virtualbox's network settings usually more with qemu but i'd look into it just to be sure. [10:03] omarek, know what game engine it's using? [10:06] hans_: quick googling tells me Unity 4 [10:08] The game doesn't print any error messages or anything suspicious when running. [10:09] I'm running the version from Humble Bundle Store, not Steam. [10:12] where can i find apache2 mod_php in 18.04? [10:13] nvm found it, libapache2-mod-php [10:18] How do I debug when I have no sounds in one application (game) only? [10:25] omarek, I had problem with no sound recognized in Skype the other day. It resolved with restart or shutdown/on . If game is proprietary (closed source), maybe to ask for game producers for manual and/or sound settings, or reboot [10:27] bobbyperu, As I understand this is question for #vbox channel. As I understand your host os os MacOS and guest is Ubunut, so it's more Host/VBox related. [10:28] Incidently, I use Ubuntu as host OS and ubuntu server as guest OS now, I made networking by giving to it 2 virtual NIC, one to get internet over NAT and another to use bridged networking and then assigned fixed IP in local LAN range during ubuntu install and it works. [10:38] I just solved it. [10:38] To fix sound in Snakebird, I also had to install libpulse0:i386 [10:39] There was no error message or any hint that it might be needed other than 1) Linux typically uses pulseaudio these days 2) the game is 32bit. [11:29] Howdy folks [11:30] look friends [11:31] am using this method in my setup to do what needs to be done, but something in the system keep reverting control state back, am looking for a permanent solution http://xahlee.info/linux/linux_capslock_do_home_key.html [11:43] hi, at linux boot cryptswap asks for a password, how to avoid that? [11:47] irgendwer4711, do you have home folder encrypted ? [11:47] ioria: yes, ext4, but its another disk [11:48] irgendwer4711, 16.04 ? [11:48] no, 19.04. I had this before working on my other computer. [11:48] irgendwer4711, mmm, try sudo apt install --reinstall ecryptfs-utils and sudo update-grub ... see if it fixes it [11:48] its not ecryptfs [11:49] and what ? [11:49] ext4 [11:49] ext4 is a fs [11:49] yes and it has encryption [11:50] more faster then ecryptfs, I had on my old computer [11:51] irgendwer4711, i lost something .... what kind of encryption (i mean what package) are you using ? [11:51] fscrypt [11:51] irgendwer4711, ok, try install --reinstall that and run sudo update-grub [11:52] are you sure, thats related?? cryptswap is something with devicemapper [11:53] irgendwer4711, https://askubuntu.com/questions/1010891/system-keeps-asking-for-cryptswap-password [11:53] thats not related [11:54] ok [11:54] not this my home [11:54] but surprisely that ecryptfs-utils is install. [11:54] *ed [11:55] should be a mistake, I transferred package list from old computer [12:01] I rebuild grub and initrd, so I do a check now... [12:05] ioria: didnt help :-( [12:06] irgendwer4711, check sudo blkid and /etc/crypttab they should match [12:07] ioria: I already checked [12:10] btw I used cryptswap0 instead of cryptswap1 like on my old computer. [12:10] irgendwer4711, in /etc/crypttab it's in use the UUID or the /dev/disk/by-id/ link for the swap ? [12:10] uuid [12:11] Can anyone help me build an installer with a custom kernel? I can't figure the process out at all [12:11] irgendwer4711, you can try with the /dev/disk/by-id/ link [12:11] cryogenng: what is an installer for a kernel? [12:12] irgendwer4711: an ubuntu installer, with a kernel built from source I've modified [12:13] ioria: I think there is something other wrong. cryptswap should generate its own key [12:14] cryogenng: Ubuntuo has already tools for that [12:14] irgendwer4711: can you please point me in the right direction? [12:15] cryogenng: make bindeb-pkg. and there is a parameter too, for not building a source package [12:16] oh wait bindeb-pkg is alreay without source [12:18] cryogenng: or you could go the older way with make-kpkg [12:18] both will give you a deb package [12:18] irgendwer4711: I'm sorry, I might not be understanding, but how does that help me? I have a .deb for the kernel already, but what I don't know how to do it install (from an iso) with that kernel - essentially the problem is that my hardware requires a change in the kernel to see the disk controller [12:19] ahh, a rescue mission [12:19] boot with CD or net. copy debs on the target disk, make a chroot and install. [12:20] why dont you have a distro kernel left? [12:20] to be clear, the system is blank at the moment, I want to put ubuntu on it from scratch [12:22] then you would like to use debootstrap [12:26] that looks indeed like what i need, so I can do something like install a base system to a usb or something, install my kernel to that system, and then debootstrap from there to the hard disk once it's recognised? [12:27] maybe. you can install direct on your disk [12:27] what ever you are trying to do.... [13:03] Why is adding repositories by add-apt-repository so slow currently? [13:04] Oh "Error: retrieving gpg key timed out." [13:04] But it used to work at least in previous LTS release. [13:05] Hi! How would I go about managing external monitors without a Display Manager? [13:06] I'm on a minimal install where i run 'startx' to start I3wm on my laptop. xrandr --listmonitors only detects the screen of my laptop [13:28] I wrote a script that controls my laptop screen backlight. the problem is that the script writes to a file owned by root. How do I add an exclusion to allow to run the script without sudo? [13:29] visudo [13:29] I've tried reading up on /etc/sudoers but I cant get it to work. [13:30] shouldnt ALL=NOPASSWD:/path/to/script just work? [13:31] https://www.maketecheasier.com/edit-sudoers-file-linux/ [13:32] flog: username ALL = (root) NOPASSWD: /path/to/your/program [13:34] al2o3-cr: tried but no change still not allowed to execute without root [13:35] did you place your edit at the last line of the file? [13:36] Not at the very end no, but before #includedir /etc/sudoers.d [13:36] flog: yeah, make sure it written after everything else. [13:36] sudo uses the last entry [13:37] Do i need to to tell sudo to re-read the config or something? [13:39] i dont recall so. [13:39] Hm. [13:39] no, there is no need, sudo checks it everytime. [13:39] you're sure it's the last line of your visudo file? [13:40] Now it is at the bottom. [13:40] However maybe the problem is something else. [13:40] The script is owned by root and writes to a file owned by root. [13:40] Can execute the script now but it semes to fail when writing to the file. [13:41] doesnt the sudo privs propagate through the script? [13:41] oh I read it wrongly. [13:41] I've only add what al2o3-cr suggested. [13:42] this script of yours edits a file owned by root? [13:42] flog: is your script executable? [13:42] my script is executable [13:43] yes, the script edits a file owned by root [13:43] this should be working then. [13:43] hmm.... [13:44] you may wanna try adding that file to visudo [13:45] I'm using the default drivers for my radeon and it only detects one display (mirrored on two screens), how can I make it see the second display properly? Do I need different drivers? [13:46] there's a better way of doing it, but i'm not 100 % certain yet [13:46] eraserpencil: script still fail [13:46] on the line that writes to the file [13:47] hi, when will ubuntu use glibc 2.29 [13:48] bryguypgh: did you try the Displays program? or you could tell me what xrandr --listmonitors show [13:49] yes diplays only shows one display. List monitors says monitors 1 (0: +default ...) [13:49] it worked fine before I uninstalled and reinstalled xorg [13:49] i had a problem with amdgpu drivers and X wouldn't start so I nuked it and started over [13:49] eraserpencil: hm already put the script in /usr/local/bin which seems to be in Defaults secure_path already. [13:50] not sure if that could cause a conflict [13:50] Would you guys recommend using eMacs over VIM? [13:50] now it seems to work but just detects one display [13:50] I'm much more familiar with VIM than emacs but i have heard it's making a huge market change for ubuntu scripting. [13:50] bryguypgh: thats beyond me. someone with better skills might help [13:51] bryguypgh: what's the problem? [13:51] also, does anyone in here use emacs? [13:52] Does anyone know how to solve problems with artifacts in the screen? https://askubuntu.com/questions/1177226/artifacts-when-returning-from-suspend [13:52] flog: It's a bash script? I believe it's the line where it edits the file owned by root that is tripping everything for you [13:52] eraserpencil: it is a bash script and yes it is failing at that line. [13:52] browser crashed there for a sec in case you replied [13:53] might have missed === al2o3-cr is now known as Guest1944 === gr33n7007h is now known as al2o3-cr [13:54] eraserpencil: still fail [13:55] would you wanna share the script? [13:55] Sure thing [13:55] it looks like I'm using llvmpipe according to glxinfo [13:55] dont know how to enable radeon [13:57] bryguypgh11: are you trying to invoke the driver for mutli display support? [13:57] yes but also the llvm driver is slow [13:59] eraserpencil: https://paste.ubuntu.com/p/95px6XszVq/ [14:00] bryguypgh11: what do you mean by slow? [14:00] I want to better understand what the behaviour is. [14:01] scrolling nad moving windows is choppy, because I appear to have no hardware acceleration [14:02] I disabled the fglrx drivers in the "additional drivers" section a bit ago in an effort to solve the dual monitor issue [14:02] they aren't there to re-enable any more [14:02] I just want whatever the current "blessed" radeon driver is for my card but all the guides say it should be enabled by default [14:02] lsmod doesn't show amdgpu or radeon [14:04] what I don't understand is pretty basic; how does X figure out what driver to use in the first place? [14:05] hi, how can I decompress a package built with dpkg-deb -Z none ? [14:06] I used to expect it in an xorg config file years ago but that seems to have been superseded [14:06] (and an X config file before xorg) [14:09] flog: would you like to give this a try? https://unix.stackexchange.com/questions/37875/how-to-add-a-line-to-a-file-which-has-only-root-write-permission-and-to-continue [14:10] does x turn it all over to systemd now [14:10] flog: we can try a different way if you like? [14:10] sure [14:11] bryguypgh11: lspci | grep vga turns up what? [14:11] delete the entry you put in /etc/sudoers [14:11] find /dev -group video [14:11] glxinfo | grep -i vendor [14:12] VGA compatible controller: AMD INc. Bonaire XTX [Radeon R7 260x/360] [14:12] so it detects it. [14:12] yes [14:12] al2o3-cr:done [14:13] it sees the card but will only load the llvm renderer, don't know how to get it to load radeon or amdgpu [14:13] bryguypgh11: ls /etc/x11/xorg.conf [14:13] flog: sudo chown root:root path/to/your/script.sh [14:13] and grep LoadModule /var/log/Xorg.0.log [14:13] there's no xorg.conf htere [14:13] al2o3-cr: its already owned by root [14:14] the logs shows a list of several and radeon is the third one [14:14] ok, then: sudo chmod 4775 path/to/your/script.sh [14:15] in the log there is this: open /dev/dri/card0: no such file or directory [14:15] al2o3-cr: still wont work. [14:15] falling back to old probe method for modesetting [14:16] huh... so basically we just have to append the correct driver.conf [14:16] flog: restart the shell and try again. [14:16] just a new terminal should be fine right? [14:17] sure [14:17] Script still fails at editing the file [14:17] flog: the file is definitely owned by root? [14:17] going to try reinstalling the radeon driver package [14:18] both the script and the file its editing yes [14:18] something is not right here. [14:24] flog: change lines echoing values to; echo val | tee -a /sys/class/backlight/intel_backlight/brightnes [14:24] al2o3-cr: but not intel though :) [14:25] no 8) i was test mine :P [14:25] got to go, but ill try later. Thank for your help. [14:25] ok np [14:33] Hello. Are Ubuntu still spying? I want install Ubuntu Desktop for my clients. https://www.gnu.org/philosophy/ubuntu-spyware.html [14:46] WinterNight: calling this "spying" is a bit of an opinion, i'd say. we could discuss this more in #ubuntu-discuss or in private, if you like - it doesn't really fit here. [14:50] I am getting ready to install Ubuntu 19.04 on my second drive. I have Windows installed on my first drive and Windows put it's reserved partiton on the second disk. Is there anything I need to look out for? [14:52] don't overwrite the windowzy stuff if you want to keep it working. ;) [14:52] are you booting in uefi or legacy bios / csm mode? [14:52] make sure those systems boot the same way. [14:52] tomreyn, I wasn't planning on that but I know I have to do manual partitioning because the second drive can't be reformatted. I am using UEFI [14:53] with uefi, ubuntu will always use the first efi system partition it finds, not what you choose / setup in the installer. [14:54] tomreyn, I don't see any partitons marked EFI in disk manager so then I have to assume I am incorrect and am in Legacy Bios mode [14:55] first make sure oyu know how windows is installed then, and then install ubuntu the same way [14:55] i think windows can be migrated to uefi booting also somehow, maybe consider that, too. but thats more something for ##windows [14:56] tomreyn, /sda1 is one full NTFS partition /sdb1 is showing as 607MB NTFS partition then sdb2 is a 194MB ExFAT that shows as unknown then /sdb2 is my 406MB Free Space so this leads me to think I am using legacy. [14:58] But I am going to boot into windows and check I will be back [15:02] Hello, any ubuntu docker that has systemd? [15:04] https://hub.docker.com/r/jrei/systemd-ubuntu [15:05] your question is unclear to me. ubuntu uses systemd, so when you use docker on ubuntu, you use docker with systemd. [15:06] tomreyn: I mean the ubuntu docker image [15:06] guest [15:06] not host [15:06] i see, i'm not into docker images. [15:12] amosbird, it might well be that you have to install systemd your own. [15:12] amosbird, you could be the first to publish such a docker image then. [15:13] what would you use that systemd for, btw? maybe docker has other mechanisms that can do it. [15:21] for testing systemd units [15:22] lxd might be easier for that maybe? [15:22] docker is for application containers, not system containers [15:26] W: GPG Error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-or/3.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BC711F9BA15703C6 [15:26] Does that mean that it didn't do the initial bit for installing mongodb? [15:27] it means that you did not setup this third party apt repository properly, yet. i.e. you have not imported their repository signing key [15:28] Weird, that was the first command I did. [15:33] Tesagk: be sure not to run this on an internet connected system [15:33] https://pastebin.com/ASjMBSfr [15:33] It's a virtual machine in VMWare, it is connected to the internet through bridging though. [15:34] the software you'd install from this repository was last updated Thu, 19 Dec 2013 00:41:46 -0500 [15:35] and obviously i would not want to trust this dsigning key. [15:35] but we don't rrally support third party repositories here anyways [15:36] The link I'm using doesn [15:36] 't [15:36] seem to have a date, which is problematic. === dijitol1 is now known as dijitol [15:57] I have already installed gtk 3.0 but whenever I am running make command it is showing error "termite.cc:32:10: fatal error: gtk/gtk.h: No such file or directory". I can also checkout my Makefile:- https://pastebin.com/ZyVPNMCJ. [16:24] If a software instruction asks you to check a log file, the contents should show up in nano, right? [16:25] nvm, answer is yes. I needed to run with sudo. [16:36] How do I jump to the root directory? cd ~ seems to bring me to a random place between root and my html folder. [16:37] Tesagk: cd / [16:39] EriC^ Thank you [16:47] <__raven_> how to get hardware functions to work on a md99480 tablet computer with ubuntu 19.04 [16:55] Does 18.04 LTS provide support for apache httpd with tls1.3 somehow? [16:56] (I know I can add ppa:ondrej, but I'd rather not depend on things I don't know or trust per se.) [16:59] my wifi card is wpa3 capable but even with the latest firmware from git.kernel.org the wpa3 wap is greyed out on the laptop network manager - is there another source for firmware for wifi cards (intel ac9260)? [16:59] Tesagk: You should probably use a PAGER, rather than an EDITOR to view log files (less, more). ~ is your home directory, so "cd ~" takes you home (it's not random at all, luckily). [17:01] jink: By random I mean I don't remember setting it as home, so I'm not sure why it selects that specific location. [17:02] Is there a good default PAGER software in Ubuntu to use? [17:02] jink: ssl.conf: # Available values: all, SSLv3, TLSv1, TLSv1.1, TLSv1.2 [17:03] TvL2386: Yes, I know. A recent version of apache httpd with openssl 1.1.1c supports 1.3. I was hoping it was properly backported. [17:03] Tesagk: I tend to use "less". [17:04] jink: yeah I guess it's not really easy without relying on that ppa for example [17:04] jink: as an alternative, I'd investigate the possibility to just use a simple docker container with the feature you need? [17:05] How do I checkk to see if a file exist in command line [17:06] robertparkerx: test -e /var/log/syslog [17:06] TvL2386: Worth looking in to. [17:06] What if it doesn't return anything [17:07] It doesn't exist? [17:07] robertparkerx: you must evaluate the exitstatus [17:07] If you know the file name, you can replace filename in this to find it: locate "filename" [17:07] robertparkerx: test -e /var/log/syslog && echo yeah || echo "I'm sad" [17:07] That will work for partial searches, too. For instance, if you know it's about apples, but don't remember the title, you can do locate "apples" to find all files with apples in their name. [17:08] Elliria: That would return all matches, not what he asked. Also depends on the freshness of the locate db [17:09] Okay. [17:09] robertparkerx: why do you want to check? What problem do you want to solve? [17:10] well the server is returning 404 but I have rsync from the old env [17:10] Sorry the server is returning 404 for images but I have rsync them from the old env [17:10] robertparkerx: so: You have copied files somewhere and the webserver can't find the resource you are requesting [17:10] Yes [17:10] robertparkerx: and the problem is: why!? [17:10] jjink: ?? [17:11] Yes [17:11] robertparkerx: you should check if the documentroot is set correctly. Is the webserver (apache/nginx/...) looking in the right directory? [17:12] <__raven_> how to make backlight controll working on a md99480 tablet computer with ubuntu 19.04? [17:12] robertparkerx: you probably know where you rsynced the data to, so you know where the webserver should serve it from, also check the /var/log/WeBsErver/*log files [17:12] Tesagk: less /var/log/syslog [17:14] Tesagk: `cd ~` does not change to a random directory, it changes to your homedir [17:14] TvL2386: You may not have been keeping up. I'm not sure how it selected the homedir that it did. [17:14] That's what I meant by "random" [17:14] ah ok, sorry :) [17:15] echo $HOME [17:15] oops [17:15] jjink: So I see syslog in there, but how do I use it? [17:15] man less [17:15] Tesagk: I think `~` expands to $HOME. So you could check why your $HOME is wrong or has what it has :) [17:16] But it's "q" to quit, ">" to scroll to the end of file, "space" for next page, "b" for previous page. [17:16] So: "less filename" [17:16] ? [17:16] Yes. [17:17] getent passwd `whoami` # should display the homedir as well [17:18] jjink: Thank you [17:18] jink: yeah but $HOME could be set to something else than what's listed in /etc/passwd [17:19] jink: your command is the same as `grep jink /etc/passwd` [17:19] env | grep -i home [17:19] echo $HOME [17:20] So cd ~ is taking me to: /home/tesagk/ [17:20] Which has the dd directory in it [17:20] Er, dd file? [17:21] Tesagk: yeah true (no idea about `dd` directories :P) [17:21] It's not a directory. [17:21] But it takes me to /home/tesagk/ rather than /home/ [17:21] Tesagk: home is the parent directory for all user homedirs [17:22] Tesagk: my homedir /home/tvl2386, your homedir /home/tesagk, chads homedir: /home/chad [17:22] Tesagk, why do you want to cd in /home ? [17:22] Isn't that the point of cd ~ ?? [17:22] I need to rewind and see if a question was stated about what needs to be accomplished I guess :) [17:22] /home/tesagk/ is your home [17:23] Tesagk: no that is not the point [17:23] Tesagk: /home is static, cd ~ is not [17:23] why introduce something cool when you just want to `cd /home` [17:23] lets focus on actual ubuntu issues? [17:23] TvL2386 gotcha [17:23] linux commands in #bash or ##linux [17:23] lotuspsychje: you are right [17:24] ~ sweet ~ [17:24] :) [17:24] join /#ubuntu-server [17:26] TvL2386: I know, but you should use the tools provided, rather than think of your own things. I think getent supports other passwd databases, too. === msalvatore_ is now known as msalvatore [17:28] Hi! I have the dumb and can't for the love of god open ports on my PC. Could someone give me a hand please? [17:29] I have ufw and I have enabled lets say port 123. When I do `ufw status` I can see this. [17:30] !firewall | super_koza [17:30] super_koza: Ubuntu, like any other Linux distribution, has built-in firewall capabilities. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | GUI frontends such as gufw and ufw-kde also exist. | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo [17:30] super_koza: see also the #netfilter channel [17:31] Also, I have opened the ports on the routers. [17:31] So it must be working... [17:31] super_koza, also what makes you think you couldn't open the ports? maybe the problem is somewhere else [17:32] Let's encrypt couldn't get the certificate. I have checked the logs and they suggested the ports. [17:32] I have also used some of those online port checking tools and they all showed that the ports are closed. [17:32] What is weird is that I have opened another port earlier and it works. [17:33] Your provider blocks 80 and 443. [17:33] I think I have done everything the same way. I have tried rebooting the routers and the PC, but it didn't help. [17:33] jink: yeah I agree, but I don't like that your command uses the plain output of `whoami`. Because I can create a user like this: `useradd -s /bin/bash '$user'` and that would not work with your command. I also think that you overcomplicate what can be done with `echo $HOME` [17:33] yeah might be annoyance tactics to get you to subscribe to a "business" plan [17:34] I have tried opening port 123 for that reason and it didn't work as well... [17:34] do ports above 1024 work? [17:35] TvL2386: Fair enough, but environment variables can be overwritten, too. Then again, I'm not sure what cd ~ uses. Does it use $HOME or your actual home? [17:35] Sven_vB, let me check... [17:35] I guess when you use "cd ~" it's the shell that replaces ~. if you want $HOME, you can just run cd without args. [17:35] jink: tested, it uses $HOME: export HOME=/tmp ; cd $HOME ; pwd [17:36] err, "run" isn't the right word [17:36] TvL2386, well if you put $HOME there what else would you expect. :) [17:37] as long as there are no spaces and shell meta chars involved of course [17:37] TvL2386: 👍 [17:37] Sven_vB: you're right, replace it with ~ and it's also /tmp after the export [17:37] Sven_vB, no port 2222 also doesn't work. [17:38] still the question remains why you want a ~ there [17:38] What would be the best way to post images here? [17:38] super_koza, a link to a plain image file [17:38] super_koza: I'm assuming you're on Magenta and they claim to not block any ports. [17:38] jink, Sven_vB: export HOME=/tmp ; cd ~ ; pwd => you are in /tmp now [17:38] TvL2386, yeah still no reason for the ~ [17:38] No, the PC is somewhere else... [17:39] It is not at the same location where I am at... [17:39] yep. You don't need it unless you want to cd ~/Documents [17:39] super_koza: Does that provider block ports? [17:39] now I'm gonna shutup about bash, I don't want to be kicked [17:39] :D [17:39] No, I had it working before reconfiguring everything and starting from scratch. [17:39] TvL2386, but do read the bash faq. :D [17:40] Sven_vB: thanks for the advice, but I haven't read anything I didn't know :) [17:40] super_koza: Is anything running on 2222 / 123 / 80 / 443 ? [17:41] Sven_vB: I always use ~ because I like it. I know it's not necessary (missed that question) [17:41] ssh is running on some other port [17:41] super_koza, use netcat as your test server, maximum logging, then test to connect with another max-verbose netcat step by step going outward from localhost to some VPS on the webs [17:41] TvL2386, ok then [17:42] super_koza, if it's a firewall issue, other computers on your LAN should have the same problems if your rules aren't specific about IP ranged. [17:43] *ranges [17:43] super_koza: If you are sure you forwarded correctly to your host, you can always dump traffic to that port on your host to see if packets actually arrive [17:43] Ok, how do I do that? [17:43] indeed that would be even better [17:43] super_koza: glad you ask [17:44] super_koza: on your host, assume the NIC is eth0: sudo tcpdump -i eth0 -nn port 80 or port 443 [17:44] TvL2386, I did test -e "filename.jpg" and I did not get a response [17:44] any packets arriving are printed in your terminal [17:44] If I type the same thing and it doesn't exist I get the same [17:44] ok, so from the server [17:44] just a sec [17:45] robertparkerx, put "; echo rv=$?" behind it. or just use ls [17:45] I can't just use ls [17:45] It's huge! [17:45] robertparkerx: test -e .... does not output anything. It tests existance and exits with exitcode 0 or 1 [17:45] robertparkerx: so as I stated: you need to evaluate that exitstatus. [17:45] robertparkerx, nah. even busybox has a ls. ls -l filename.jpg [17:46] robertparkerx: that's why I showed you: test -e /var/log/syslog && echo yeah || echo "I'm sad" [17:46] would be insane to make a linux and omit ls because it's too big [17:46] robertparkerx: as an alternative, you can also `stat /var/log/syslog` [17:46] prints nice info about that file, also an error if it does not exist [17:47] TvL2386: Great! It works indeed! [17:47] Sven_vB, Okay ls -l "filename.jpg" gave me a response [17:47] So it must be something wrong with ufw... [17:47] No such file name or directive [17:47] super_koza: nice, yes, OR [17:47] super_koza: there might be nothing listening on that port [17:48] robertparkerx, "directory" probably ;) [17:48] super_koza: check with: `sudo ss -ltnp | egrep ':80|:443'` [17:48] Yes that is what I meant [17:48] Sorry [17:49] I checked the port 80 and it didn't work with tcpdump [17:49] all other ports worked [17:49] super_koza: ok so traffic to port 80 didn't show up? [17:49] "work" as in packets do arrive? [17:50] btw if it's just about Let's encrypt, you might use DNS verification instead of webserver verification. [17:50] Hmmm [17:50] This is strange... [17:50] you'd have to put a special TXT record at _acme-challenge.whatever.your.domain.is [17:51] Just a second... [17:51] Let me doublecheck what I did here. [17:51] Now when I do port checking I see that 443 is open [17:51] but I changed nothing. [17:51] *eating popcorn* can't stand the suspense [17:51] did you happen to reset router settings? some home routers default to putting their admin interface on :80 even for outsiders [17:51] Yeah I'm pretty sure the files don't exist and rsync failed [17:52] robertparkerx, run rsync more verbosely then you'll see [17:52] robertparkerx: ^-- [17:52] and confirm it completes without error -_- [17:53] that should have been step 1 :) [17:53] These are the ports open in ufw: 80, 8080, 443, 123, 2222 and my custom ssh port [17:54] when I do ufw status, they are allowed [17:54] This is good. [17:54] super_koza: I'm a bit lost... to which ports do you actually see packets arriving? [17:54] super_koza: and also: what's wrong? [17:56] I see packets on ports 8080, 443, 123, 2222 and my custom port [17:56] port check tool say that only ports 443 and my custom ssh port are open [17:56] port check tool may not check all ports? [17:57] try whether packets arrive when you change the target port of your router's forwarding rule for :80 incoming [17:57] maybe it just has a problem with :80 inside [17:57] super_koza: don't you have a linux host somewhere on the net from where you can test yourself? [17:57] could be as dumb as someone forgetting a flag in a netfilter rule [17:58] I can test outside view for you if you like [17:58] super_koza: Sven_vB: When some tool says a port is open, it says something about end-to-end connectivity. Which is fine when everything works. Since we are troubleshooting, I would focus on 1 port at a time [17:59] super_koza: Sven_vB and use an external host, like Sven_vB. He can telnet your port 80. You can check to see if packets arrive at your host with tcpdump [17:59] super_koza: Sven_vB then you at least know the port-forward for port 80 is working and you have to focus on ufw or the service running [18:00] Does "guided - use entire disk and set up encrypted lvm" allow me to choose a large swap partition for hibernation? or does it hardcode one? [18:02] In the local network where the server is I have only Windows machines running [18:02] But that should be fine for Telnet [18:02] super_koza: you can even use your browser to send packets [18:02] super_koza: just type http://192.168.0.5:2222/ [18:02] super_koza, you could boot one of them with an Ubuntu live USB also. but telnet, or netcat/socat for windows, should be enough. [18:02] and it will send tcp packets to your 192.168.0.5 port 2222 [18:02] actually even a browser should do. [18:03] hussam: Ubuntu >= 18.04 defaults to a swap file on your root file system ("/"). I'm not sure about 16.04, and you didn't specify the version you're asking about. [18:03] you can then confirm packets arrive and are sent back [18:03] tomreyn: I am installing 18.04 [18:03] hussam: so then you have your answer already ;) [18:04] tomreyn: so hibernation will not work? [18:04] Sven_vB: I am accessing the device remotely. No way to try live USB or something. But nevermind that... [18:04] hussam: oh also hibernation is broken with encryption, i think [18:04] super_koza: if you are remote, you don't need an external tool. You are the tool :) [18:05] hussam: that's if you don't setup a swap partition manually at least. maybe just with uefi booting, i don't recall the details. [18:05] tomreyn: it doesn't have to if swap parition is used and it is not encrypted and I boot with resume=/dev/sda2 (where sda2 is the swap partition). [18:06] root can still be encrypted if it is decrypted from initramfs image. [18:06] hussam: so you'll need to do manual partitoning then to ensure you'll have a swap partition which is slightly larger than the size of your installed RAM. [18:06] tomreyn: sure but I was hoping to still be able to use disk encryption. [18:07] TvL2386, "remotely" doesn't necessarily mean via internet or even TCP :) [18:07] or IP [18:07] hussam: if you have a parition (non file) backed swap / resume device then i think hibernation can still work even when / is encrypted [18:07] hussam: can't guarantee it, though, you should just try. [18:08] Ok, from a PC in local network I have tried accessing via web browser as suggested [18:08] All ports except 123 were working [18:08] xD [18:09] tomreyn: exactly so is there a way to edit the "guided" options to add a swap partition? [18:09] But it works when I try the port check tool [18:09] Should I disable ufw for now? [18:10] super_koza: please dont use this channel to describe every step you take, focus on actual ubuntu questions instead [18:11] hussam: no, you'll need to do it manually [18:11] manual doesn't allow encryption. [18:12] ok, I'll do without encryption then. [18:12] hmm, are you certain of that? [18:12] yes. [18:12] ok, sorry then, i wasn't aware. you could use the server installers, though [18:12] hussam, yes it does, but it's not intuitive as 'guided' [18:13] ioria: is there a documentation guide I can follow? perhaps I missed something then. [18:13] hussam, you create a /boot partition, anf the format root with Luks [18:20] How can I fix this? http://termbin.com/c14h [18:21] lol [18:21] lotuspsychje: Please startx is failing i need help [18:22] ioria: so I manually run cryptsetup /cryptsetup open and then start the installer? [18:23] hussam, nope [18:23] fuze: that is not a problem that needs to be solved [18:23] fuze: you are trying to install all kernels you can find [18:23] TvL2386: ohh. ok I just want to reinstall the ones I have [18:24] fuze: don't know why you want to reinstall them, but yes [18:24] fuze: this is what you have: `dpkg --list | grep linux-image-` [18:24] TvL2386: I think I broke them. What is the command to reinstall the ones I have? [18:25] fuze: so just replace linux-image-* with the ones you actually have I suppose [18:25] hello... i've installed v4l2loopback and then removed it when no longer needed, but now at boot i get several ugly messages [ FAIL ] Failed to find module 'v4l2loopback' [18:25] where is the config entry resposible for attempt to load this module so i can remove it? [18:26] just for clean and nice boot experience :) [18:26] fuze: short line: apt-get install --reinstall $(dpkg --list | grep linux-image- | grep ^ii | awk '{ print $2 }') [18:26] reinstalling kernel images is not a way to 'make startx work' though [18:26] ^--- agreed [18:26] TvL2386: Is this normal output or do I have too many? Im running kubuntu 18.04 http://termbin.com/z5m6 [18:27] fuze: that's normal [18:28] tomreyn: worth a shot i guess [18:28] fuze: i disagree [18:29] fuze: I also disagree [18:29] Could make things worse? [18:29] rud0lf: apt search v4l2loopback << does this list that any are installed? [18:29] fuze: yes, I'd be very hesitant reinstalling the current kernel... what happens if it fails? Will your system still boot? [18:30] it does tomreyn [18:30] fortunately it didnt change my issue at all [18:30] worse or better [18:30] v4l2loopback-source and -utils [18:30] rud0lf: so, i guess you may want to purge those? [18:30] http://termbin.com/gg0t [18:30] tomreyn: thanks, i'll see if that helped [18:31] rud0lf: maybe you still have configs of v4l2loopback-dkms as well, so maybe purge that as well [18:31] http://termbin.com/8kbh [18:31] some logs^ [18:32] rud0lf: so that's sudo apt purge v4l2loopback-dkms v4l2loopback-utils v4l2loopback-source and i'll be back later. good luck. [18:32] Is this fixable without a reinstall? [18:34] i did sudo apt purge v4l2loopback-* [18:34] the problem still persists [18:34] nvm, it's not a big deal [18:35] rud0lf: you installed that package, maybe dependencies got installed as well and are still present I don't know... I'd check: apt-get autoremove [18:37] hi, how can i debug this error https://la.wentropy.com/sEgQ [18:38] amosbird: what ubuntu version? [18:38] amosbird: short answer is probably: fix the package [18:38] TvL2386: I mean, how can I debug it [18:38] amosbird: where did you find that package? [18:39] it's built by myself [18:39] amosbird: we dont support own compiles here [18:39] amosbird: we reccomend to use the official packages from the ubuntu repos instead [18:40] lotuspsychje: where can I ask questions about debuging apt install packages? [18:40] specifically postinst script [18:40] amosbird: i think ##linux might take your question [18:42] Does anyone know why artifacts and noise can happen in the screen? [18:42] !details | dbugger [18:42] dbugger: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [18:43] dbugger: faulty connectors, bad cables, broken screen, broken graphics card, ... [18:45] lotuspsychje, TvL2386 I am seeing images like this: https://i.stack.imgur.com/Fayqw.png [18:45] Specially when I return from a suspend state [18:45] but not exclusively [18:50] dbugger: not clear what's the problem with that image, but anyhow a better channel is ##hardware [18:56] Ok, I believe that all ports except 80 is open. However the ISP shouldn't be blocking any ports. The issue was that I didn't have any listeners on the other ports, so they appeared as closed. Any idea what could be going on with port 80? [19:00] super_koza: #netfilter [19:06] Walex, if you see inside the circles, the image looks like noise === gry_ is now known as gry [19:55] al2o3-cr: you still here? [20:02] hey [20:02] i want to use dd to restore a partition, but the image is larger then the partition. how can I use dd so it uses the partition size as max and doesnt write more? [20:03] i dont even know what happens when there is more then the partition size [20:05] berz3rk: when there's more than can be written, dd would experience i/o failues and quit [20:06] berz3rk: uhm.... You will be missing what could not be written and will probably result in a corrupted partition. At least you'll be missing data [20:06] its a bit tricky [20:06] its a hidden partition on the nintendo switch, it emulates an mmc and stuff, not so simple, so i have to do that stuff with dd instead of partition tools [20:07] tomreyn: there probably can be more written, but it will be on another partition, you know? will dd overwrite the next partition? [20:08] i think my best bet is to make the partition a lil bigger [20:08] restore then shrink down [20:08] i don't think so, but won't guearantee it either. [20:08] ... insreponse to "will dd overwrite the next partition" [20:09] berz3rk: if you use `dd if=myddfile of=/dev/sdx3` it will not go into sdx4 [20:09] TvL2386: what will happen with the stuff that doesnt fit [20:10] berz3rk: is not written [20:10] but is it a problem [20:10] hm [20:10] probably [20:10] Does anyone know what the default desktop environment uses to control backlight? [20:10] bigger partition, smaller dd is fine, the other way around probably not [20:10] depends on what you will be missing [20:10] and who knows what you will be missing [20:11] berz3rk: not sure what's on the dd image, but you may also look into mounting the dd file and copy stuff if that suits your case [20:11] i dont know if i can mount that thing [20:11] me neither, but with `losetup` you can probably mount it on a loopback device [20:11] and then mount it somewhere [20:12] "*create a loopback device" I meant [20:12] its 31 gb big [20:12] but fdisk says it has 150 gb [20:12] :x [20:12] no [20:12] berz3rk: the disk was 150GB, but the contents 31GB I think [20:13] when i restore, is that an issue [20:13] fdisk does not take thin provisioning and such into account [20:13] i got to a point in the past that my whole haddrive was broken [20:13] but i wanted to save information i knew the offset kind of from [20:13] so i saved it into an img file [20:13] if I were you: I would look into mounting the dd file and then inspecting what and how much is on there [20:14] then again: I have no idea why you are doing what you're doing :) [20:14] is there an easy command to take a list of all the files/folders in one directory, and remove files/folders with the same name in another directory?is there an easy command to take a list of all the files/folders in one directory, and remove files/folders with the same name in another directory? [20:14] oops pasted twice [20:14] easy command: no [20:14] i mean like a single command [20:14] TvL2386: so if fdisk reports the image is 150gb big, but in fact its 31 gb and the partition is 29 gb, it will write that 29 prob and then error out? what about that 150gb info [20:14] fuze: no [20:15] I can't pipe ls into rm or something like that? [20:15] fuze: that's not a single command [20:15] like a one liner [20:16] berz3rk: the only reason I can think of that dd file is 31GB, is that it's either: compressed or sparse [20:16] berz3rk: it will want to really write 150GB [20:16] those were two reasons though :) [20:17] fuze: why being focused on easy, single, oneliner... [20:17] the answer will either be yes or no [20:17] and that's not constructive right :) [20:17] I don't care what you call it i just want something i can enter into terminal to do it automatically [20:18] ls ~/dir | xargs rm -r while in the desired directory to rm isnt working [20:18] fuze: I'd say the answer is "no". Because you'll have to hack all kinds of things into bash. Take spaces into account and such... I think it will be a mess... [20:19] it thinks its 150 gb because originaly it was and i used some dd command to stop at dumping [20:19] then it wrote wrong meta info [20:19] TvL2386: ls -1 provides a vertical list [20:19] fuze: I would write a simple (ruby/python) script to accomplish what you want [20:20] fuze: I'd use `find` [20:20] TvL2386: actually i think that command works with ls -1 [20:20] yes it worked [20:20] fuze: don't parse ls output. use find -print0, and read the man page on this option. [20:20] ls -1 ~/dir | xargs rm -r [20:20] does the job [20:21] fuze: ah check, I missed the "one directory". I was assuming lots of files / subfolders.... [20:21] its ok, thanks for the whitespace advice [20:21] fuze: then I'd use something like `find -maxdepth 1` [20:21] can i just ctrl + c in the right moment when dd writes [20:21] lol [20:22] fuze: you're welcome [20:22] berz3rk: yes [20:22] but it can be corrupted :P? [20:22] y sry for my questions [20:22] berz3rk: you can always press ctrl+c, there's never a right moment though when you abort a dd [20:22] like i said im dealing with hidden partitions [20:23] berz3rk: if you abort a dd, you will be missing data and the result will probably be sadness [20:25] berz3rk, the dd argument you mention is probably 'count' [20:25] berz3rk: you have a dd file. What's the source? A 150GB harddrive? What's on it? Why do you want to dd it? What's your endgoal. I might be able to tell you other interesting stuff that will work awesomely (is that a word)? [20:25] TvL2386, it's a word [20:26] ? [20:26] ah it wrote to limit and ended [20:26] nice [20:26] no error i try it out no [20:26] now [20:26] doug16k: what do you mean? [20:29] oh lol [20:29] thx doug16k [20:38] dd if=... of=... bs=1048576 count=150000 copies 150GiB [20:38] or just 1MB for bs [20:38] 1M [20:40] you can seek (to change the start place in the output file) or skip (to change the start place in the input file). by default it truncates the output file at the last byte written, but you can add conversion option (notrunc) to the oconv [20:42] normally seek and skip are in bs (block size) units, but you can add options seek_bytes skip_bytes to make them be interpreted as byte offsets [20:42] && sync is preferrable [20:45] it seems to me berz3rk is trying to copy a partition from a dd file to a partition. If that's true, there are easier ways to get there. If he only wants access to the contents, there are also easier ways [20:45] yes I agree [20:45] but its a hidden partition [20:46] sometimes I answer XY looking questions because sometimes they really want the answer for Y :) [20:46] :) [20:46] i dont know what i want [20:46] lol [20:46] hidden partitions don't exist. A partition exists or not, but is not hidden. (as far as I know) [20:47] you have a dd file, not a hidden partition [20:47] ofc it can be hidden [20:47] I think you mistake umount with hidden [20:47] there can be "unallocated space" but in reality there can be data [20:47] you can write data to a harddrive and all partition tools have no idea that something is actualy there [20:47] files can be hidden, partitions not [20:47] hidden files? [20:47] you can write data into unallocated space [20:47] hmm, this goes FUD. [20:49] berz3rk: yes you can... That would suck though imho... How would you know where the data is then? [20:49] if you write it somewhere [20:49] lol [20:49] you can mount it [20:49] this goes beyound ubuntu support [20:49] with offsets [20:49] yeah but you need to know exactly where... argh... sounds like voodoo... [20:49] !ot [20:49] #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [20:49] you can write into unallocated space? you can stab your leg with a pencil too. question is, why would you do that? [20:49] oer: yes [20:49] lol [20:49] i think this is ubuntu support [20:49] lol kidding [20:50] so windows 10 doesnt know i run ubuntu [20:50] Hey, one question. I have a laptop, and when I'm home, I use a bluetooth keyboard with it. The thing is, the bluetooth keyboard has a different layout, so I have to change it manually every time and sometimes it's annoying. Is there any way to automatically assign a layout to each keyboard? (USA for the one in the laptop, Spanish for the bluetooth one) [20:52] maybe blueman detects layout better than the standard tool [20:52] berz3rk, did windows installer blow away all your linux partitions / destroyed your partition table? there is a tool that fixes that [20:52] !info blueman [20:52] blueman (source: blueman): Graphical bluetooth manager. In component universe, is optional. Version 2.0.5-1ubuntu1 (bionic), package size 1645 kB, installed size 4904 kB [20:53] doug16k: too complicated for this channel lol [20:53] https://www.reddit.com/r/SwitchHacks/comments/c7s30w/nintendo_switch_homebrew_from_stock_to_emummc_cfw/ [20:54] berz3rk, please join #ubuntu-offtopic for that [20:58] having a heck of a time figuring out why my local systemd-resolved seems to keep caching incorrect dns records for static host mapping of local resources [20:58] is there a systemd-resolved channel? [20:59] if not, anyone have a tip where the right place for that would be? [20:59] how did you made that static map, netplan? [20:59] static map is done on my router [21:00] if i dig @router or dig@pihole, i always get the right address, but if I dig using localhost (systemd-resolved) i get back the address that would come from external dns [21:00] i.e. localhost->pihole->router->8.8.8.8 [21:01] kenperkins: does `systemd-resolve --status` give you any clues? [21:02] looks ok ish, although I'm new to systemd-resolved, no dns servers set in global, I see my pihole dns set as dns for my active interface [21:03] /etc/resolv.conf only has the loopback entry [21:03] i turned up to debug logging for systemd-resolved [21:03] kenperkins: yeah that sounds normal to me, but I'm also not really an expert on that topic [21:04] there is --flush-caches [21:08] how about proper setp of your pihole ? see DnsMasq Fix: http://www.ubuntuboss.com/how-to-install-pihole-on-ubuntu-18-04/ [21:09] ubuntu is a neat distro. [21:09] thanks, you are a neat user [21:10] i agree! [21:10] @oer I'm running pihole on a separate raspberry pi [21:12] still your /etc/systemd/resolved.conf should have DNSStubListener=yes to DNSStubListener=no .. what guide did you follow? [21:13] after that; sudo systemctl reload-or-restart systemd-resolved and then sudo systemctl reload-or-restart dnsmasq # and voila [21:14] maybe I missed something, but kenperkins has a ubuntu machine, that is using his pihole as dns server. His pihole returns correct responses, however, a weird entry got cached right? [21:15] I'm trying to understand the setup and the problem [21:15] is iredmail script a pretty good idea when it comes to installing mail server? [21:15] pihole -r could fix some things, not sure what part of his setup messes up, and did pihole work before? [21:16] seems like a neat sh that installs multiple things at once. [21:17] cocof, basicly a mailserver needs a lot of work to setup, and maintain. never used/read about iredmail, do you trust the author? [21:18] oer I can read sh before running it. [21:19] I just downloaded the bz2 file... the shell script includes tons of variables and other shell scripts... [21:19] @oer sorry, been trying to figure out wtf is going on. My pihole predates me switching to ubuntu. using ubuntu as a desktop experience is new, I've been on OSX for 9 years [21:19] first thing I thought: if this breaks and my email is on there................ lots of sadness [21:20] I don't *think* my pihole is wrong, but tbh, dns is a pain to debug [21:20] kenperkins: congratulations on the upgrade [21:20] TvL2386: years of using shit docker for mac through a vm has chapped me significantly [21:20] kenperkins: you should confirm your pihole is correct [21:20] it's so fucking wonderful running it natively [21:20] haha :) [21:21] kenperkins: I would flush the dns cache and try to see if you can reproduce the issue [21:22] kenperkins: and if you can, you must find out where it comes from [21:22] yea, I'm trying to narrow down the repro [21:22] oer: well mail server is installed and then it only needs dkim and few more bits :) [21:23] confirm that `dig @1.2.3.4 some.record.com` will go directly to that nameserver and bypass anything local [21:23] kenperkins: that's normal. You ask 1.2.3.4 for some.record.com and it answers [21:24] kenperkins: what were you expecting? :) [21:25] just making sure I correctly understood the `@` directive in dig [21:25] kenperkins: ah... ok... @ directs the query to that host [21:25] dig www.google.com @8.8.8.8 [21:26] ok, I have a suspicion, I think it's to do with IPv6 and IPv4 records [21:26] the plot thickens [21:27] that's it :D not ubuntu for sure [21:27] doesn't mean I'm not a dummy however [21:33] ok, so apparently you can add static host mapping for AAAA records to IPv4, I didn't know this, and by doing so, it solved the issue when it would cache the result of the AAAA lookup (which went to the public address for my router) rather than the internal ipv4 static mappings [21:33] TIL! [21:33] (at least in ubiquiti routers) [21:34] i wonder if my MBP had IPv6 disabled, thus hiding this situation [21:53] kenperkins: what do you mean by "static host mapping for AAAA records to IPv4"? [21:54] kenperkins: do you mean you enter an ipv4 address in an AAAA record? [21:55] TvL2386: there's an ipv6 feature that can map ipv4 addresses to or from the IPv6 address space. [21:55] maybe that's related. [21:55] hmmm yeah maybe... [21:55] @TvL2386 so my static mapping was effectively "internal.mydomain.com: 10.10.0.30" [21:56] but you can also add a second record of inet "::ffff:10.10.0.30" [21:56] and then lookups for A or AAAA both resolve to the same IPv4 address [21:57] mkay, I've never looked into that :) [21:57] cool :) [21:57] previously, I didn't have an AAAA for the internal record, so it routed to public internet which was the outside address of my router, and was wrong :) [21:57] Is there a specific channel for Xubuntu or rather wifi card issues? [21:57] today i learned :D [21:57] me too :D [21:57] ryuo: almost certainly that [21:57] !xubuntu | Karny [21:57] Karny: Xubuntu is Ubuntu with !Xfce as the desktop environment. More info at https://xubuntu.org/ - To install the Xubuntu environment from Ubuntu: « sudo apt-get install xubuntu-desktop^ » - Join #xubuntu for support - See also: !xubuntu-channels [21:58] if I want to use 2 mail servers, both listed in mx, should I list one I prefer to use for receiving emails with higher priority? [21:58] Karny: for general *ubuntu questions you can also ask here, though [21:58] cocof: yes, and that means lower value [21:58] i plan to use separate mail servers for transnational and marketing [21:58] transactional [21:58] Great, Im in Xubuntu channel [21:59] ok seems simple. [21:59] cocof: the lower priority (higher value) is normally some mailrelay cache for if the higher priority is unavailable or something [21:59] cocof: https://en.wikipedia.org/wiki/MX_record [21:59] yes [21:59] will use Postfix SMTP server [22:00] ok so as a new to ubuntu desktop user (mac and windows) anyone have any must read guides/tips on window management, etc [22:00] cocof: /join #ubuntu-server [22:00] kenperkins: anything you read will largely be based on a specific DE. there's some conventions but it varies with the environment. [22:01] kenperkins: I don't, only thing I can say that I'm addicted to the old gnome style... bar on the top, one on the bottom. No stacking of icons. And try `terminator` for having split consoles in a single window. [22:01] so, 1904 is gnome right? I'm just using the builtin right now [22:01] kenperkins: namely in the form of default keybindings... the mouse should generally behave the same. [22:01] kenperkins: tips on what? [22:02] it seems like the keybindings are more like windows for the most part than mac (which is great), home, end, etc [22:02] kenperkins: 19.04? depends on which flavor you get. the standard ubuntu uses a GNOME derivative. there's a gnome flavor that's closer to upstream GNOME. [22:03] install gnome-teak-tool [22:03] !info gnome-teak-tool [22:03] Package gnome-teak-tool does not exist in bionic [22:03] !info gnome-tweak-tool [22:03] gnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.28.1-1 (bionic), package size 1 kB, installed size 12 kB [22:04] kenperkins: though i don't know who uses regular ubuntu these days. most people i know use other flavors or 3rd party derivatives. [22:05] my colleagues use normal ubuntu, but hey: I've gotten them away from Windows 10... They are still learning :D [22:06] 2 colleagues not to exaggerate [22:07] ryuo: well I'm not going to go crazy my first foray into linux on the desktop [22:08] mostly, I wanted to evaluate it before springing for a work laptop [22:09] kenperkins: well, i wouldn't call standard ubuntu to be a good example of your typical environment. it's heavily customized GNOME. use a flavor if you want something closer to what you might find OOB with a DE. [22:09] kenperkins: but whichever you wish to try. [22:10] oh well :D I'm enjoying it, how's that [22:12] that's a good start! [22:33] hello [22:33] I have a small problem with Wifi Connection [22:33] Who are here?4 [22:34] !details | Claudio [22:34] Claudio: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel. [22:35] Bashing-om, hello :) i got beelink gt3 mini-pc [22:36] and i have installed on Ubuntu mate [22:36] I don't see Wifi Module [22:37] Claudio: can you run this in a temrinal window and post the url returned? lspci -knn | grep -EA3 '(Network|Ethernet) controller' | nc termbin.com 9999 [22:37] is AMD 5700XT GPU well supported in ubuntu? [22:37] it provides info on your network devices [22:38] tomreyn, just a moment :) i need to use 2 different PC [22:38] Claudio: does it have no internet connection at all then currently? [22:39] doug16k: Yes and no - you will want the latest kernel and see: https://ubuntuforums.org/showthread.php?t=2425799 . [22:41] tomreyn, correct. I try to connect Ethernet from this PC to Beelink GT3 but i don't have any connection [22:41] Bashing-om, thanks [22:41] tomreyn, in everycase, i have only: Gigabit Ethernet Controller [22:41] doug16k: the 19.10 beta may actually work out of the box [22:42] Its possible Ubuntu-Mate its not compatible with this Mini-PC [22:42] Claudio: hmm then your wireless was apparently not detected. [22:43] tomreyn, correct, but there was on Windows OS [22:44] Claudio: meaning? [22:45] tomreyn, [22:45] I tried to install Ubuntu [22:45] But I think its not a good Distro [22:46] i see [22:46] so these devices seem to have an AMPAK AP6255 wireless controller with a BCM43455 chipset [22:47] !b43 [22:47] Help with Broadcom bcm43xx can be found at https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx [22:48] Claudio: ^ [22:49] tomreyn, infact i try to follow this --> [22:49] https://askubuntu.com/questions/1003350/bcm43455-pcie-wireless-adapter-not-recognised: [22:50] this could work if oyu have the driver already installed [22:51] how far back in AMD gpus does one have to go to get "just works in 18.04 LTS"? RX 580? [22:51] "apt-get install" stopped prompting me for "y/n", why? and how to get it back? [22:52] I'm at kernel 5.0.0-30-generic [22:54] doug16k: anything below navi i'd say. [22:55] doug16k: RX 580 had support as far back as 16.04: https://help.ubuntu.com/community/RadeonDriver . [23:09] I’m trying to install Wine i386 and apt wants to remove ubuntu-desktop. What’s up with THAT? [23:11] SoItBegins: there is something in ubuntu-desktop that isn't compatible - im guessing it wants to remove a few things [23:11] Yeah, but isn’t ubuntu-desktop, y’know… my file manager? [23:12] no... [23:12] no - removing ubuntu-desktop alone won't do anything - it is a "meta package" that just has dependencies on all the things, like file manager [23:13] it's a meta package that draws in every package that's part of that "group" of packages. [23:13] Oh. So if I go ahead with this (it also wants to remove ubuntu-desktop-minimal and xorg) it won’t harm my computer? [23:13] that sounds invasive... [23:13] You noticed? [23:13] I think what’s going on is that Wine depends on the 32-bit version of itself, so to install it you have to switch 32-bit arches on. [23:14] And it’s installing a small crapton of 32-bit libraries along with wine... [23:14] xorg might be disruptive [23:15] interesting, did you see the wine wiki ? [23:16] That’s where I got the install instructions from. [23:19] sudo dpkg --add-architecture i386 # and run apt dist-upgrade [23:21] oer: What’s that supposed to do for me? [23:21] I mean, WineHQ had me do the first half to add 32 bit architectures but [23:22] [sigh] I’m just gonna do it and... [23:23] well, if my computer breaks after, we have a nice cautionary tale to tell the wineHQ people. [23:23] https://wiki.winehq.org/Ubuntu [23:23] Yeah, that [23:23] ’s the page I was following. [23:24] They didn’t say anything about the install removing xorg tho :O [23:24] maybe I’ll reinstall it after this is over. [23:25] Reinstalled it. Juuuust in case. === DetectiveTaco is now known as i73770K