/srv/irclogs.ubuntu.com/2024/02/29/#ubuntu.txt

=== codingkoopa7 is now known as codingkoopa
LinuxNoobhello all00:44
vorteckzhey00:45
LinuxNoobFailed to connect: org.bluez.Error.Failed br-connection-profile-unavailable00:46
LinuxNoobI am getting this whilst I try to connect to my Bluetooth headset to my Ubuntu00:46
LinuxNoobany help would be appreciated00:46
LinuxNoobtried reinstalling Pulseaudio and Bluez etc00:47
sarnoldLinuxNoob: this is a wild guess .. https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/204593100:49
-ubottu:#ubuntu- Launchpad bug 2045931 in bluez (Ubuntu) "ps3 sixasis controller request pin to connect to bt" [Critical, Won't Fix]00:49
LinuxNoobsarnold: still getting the same error I am afraid00:54
LinuxNoob:/00:54
sarnold:(00:54
=== chris14_ is now known as chris14
=== Dat_ is now known as Dat
=== pushkarnk1 is now known as pushkarnk
=== neo|desktop is now known as neo
=== EriC^ is now known as EriC^^
brancherHi! The mysql docs still show useradd over adduser... should I change ? useradd -M -N -g mysql -o -r -d datadir -s /bin/false -c "MySQL Server" -u 27 mysql08:27
ravagethe ubuntu package installs that user for you08:33
brancherravage there are people that do things manually for a reaon.08:45
brancherreason.08:45
=== floown_ is now known as floown
=== Batzy_ is now known as Batzy
=== JanC is now known as Guest1154
=== JanC_ is now known as JanC
=== Mardroemmar_ is now known as Mardroemmar
realivanjxwhat is the issue called if suddenly my screen is freezing and a few seconds later it goes black and then a few seconds later it goes back on again (still freezing) and so on. this happens rarely but i have to force shutdown my laptop when it happens. my laptop's processor is ryzen 3 2200g. ubuntu 23.1011:32
oerheksvideodriver, videomemory,..11:40
eqwWhen install ubuntu it allows to see so called "Full installer output". Is it available as a textfile?11:49
oerheksthere is /var/log/dpkg log, and journalctrl11:54
ravageThe installer log is in /var/log/installer on the installed system11:55
ravageDuring the live session it's /var/log11:56
eqwwell that's not exactly what i see in "Full installer output" window11:58
oerheksyou mean the gui ?12:01
eqwtui12:02
ravagecurtin-install.log looks kind of exactly what the installer shows12:03
eqwnot on my system12:08
eqwubuntu server jammy12:08
=== abcX is now known as Guest3176
=== Guest3176 is now known as abcX
Your_DogAnyone know a clean way to remove logs on ubuntu? I just wanna do the barbaric way and rm -rf everything on var/logs12:40
oerheksno need, to, logrotate does that for you,, but if you want to fancy them12:41
oerhekshttps://betterstack.com/community/guides/logging/how-to-manage-log-files-with-logrotate-on-ubuntu-20-04/12:41
oerheksedit /etc/logrotate.conf and find  # keep 4 weeks worth of backlogs12:42
oerheksset to 1, is safe12:43
Your_Dogoh12:43
Your_Dogsweet, imma rotate it for 1 week then12:43
Your_Dogto*12:44
oerheksalso /etc/logrotate.d/ gives some logging12:44
oerheksconfigs&12:44
ogra_or just remove rsyslog altogether and stick with journald ... also removes redundancy12:48
ogra_(we're logging everything twice since the switch to systemd)12:48
oerheksis there a guide for that?12:48
ogra_apt purge rsyslog  ?12:49
oerheksif that stops and removes the service too, great12:52
ogra_it does ... it wont remove logs lying around in /var/log though ...12:54
ogra_and you want to keep logrotate around still ... since there might be apps diretly writing their own logs (i.e. apache) that you still want rotated12:54
ogra_but things like syslog, kern.log, boot.log, auth.log etc are really just duplicating whats in the journal anyway ...12:57
oerheksinteresting, some parts i do no find in https://www.fosslinux.com/134983/customizing-or-disabling-system-logging-in-ubuntu.htm12:59
BluesKajHi all13:10
=== Guest6918 is now known as sotaoverride
=== xrandr_ is now known as xrandr
Guest5119hello15:24
Guest5119i'm new here15:24
Guest5119anyone up for a chat?15:47
tomreynGuest5119: hi there. this channel's purpose is ubuntu support (see /topic). there are other channels, some of which are for chat.15:48
Guest5119tomreyn, oh ok, is there a place on this server to ask about irc specifically?15:57
tomreynGuest5119: there's #libera on this irc network (consisting of multiples servers), which is primarily about the irc network, but you can often get help with using irc there, too.16:00
tomreyn!alis | Guest511916:00
ubottuGuest5119: Alis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http»16:00
Guest5119alis?16:00
Guest5119what?16:00
Guest5119ubottu, what is alis? how is it a "service"? is it a website? a bot? a program?16:02
tomreynGuest5119: i suggest you start in #libera for now.16:04
=== pushkarnk1 is now known as pushkarnk
Ravisankarhi16:10
RavisankarI created virtual machine using oracle vm box, and installed ubunut on it... but there is no user with sudo permision16:11
Ravisankarcould any help me here?16:11
tomreynRavisankar: how did you install ubuntu there?16:13
Ravisankar@tomreyn: using oracle virtual box16:13
tomreynRavisankar: that's a virtualization software, not an ubuntu installation method16:14
Ravisankarusing ubuntu iso16:14
plastikmanIf you used the wizard, then it would be vboxuser16:14
tomreyndid you download and install an ubuntu iso? which one?16:15
plastikmanand AFAIK the default installed user will have sudo, but it will ask you the password when you enter it16:15
Ravisankarubuntu 22 lts16:15
tomreyn!yy.mm16:16
ubottuUbuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle16:16
tomreynthere are ubuntu desktop, server, cloud images, and ubuntu core.16:16
Ravisankar@plastikman: the user name is ravivm and password is also the same.. but this user does not have sudo privilege16:18
Ravisankar@tomreyn: 22.0416:18
plastikmanIf this is a fresh install, just reinstall but dont use the vbox wizard16:19
plastikmanyou can break in with a live cd and add your user to the sudoers group but not sure its really worth doing so16:19
tomreynrecovery should also work for that16:20
Ravisankari want to install it on virtual desktop16:20
Ravisankar@tomreyn: how to recover?16:21
tomreyn!recovery | Ravisankar16:21
ubottuRavisankar: If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode16:21
tomreynboot to recovery menu, then use the "root shell" (i think that's what it's called) option (should be the last in the list). then press enter to login to the root shell and run    adduser ravivm sudo && exit16:23
Ravisankari can't boot to recovery menu... it is not showing...16:25
Ravisankari did holding shift key , esc key16:25
plastikmanRavisankar: this is a fresh install right?  Just reinstal inside virtualbox and dont use the unattended flag from the vbox wizard16:25
Ravisankarit quickly goes to user login16:26
Ravisankarif i try to install anything using software centre, it is asking for authentication as 'Administrator', but I have not set any password for the 'Administrator'16:28
tomreynit should be asking for your users' password16:29
tomreynyou may have misread the message16:29
Ravisankari will reintsall it, thank you all for your support16:34
andros_I can connect to ipv6 on my 22.04 server. everything seems to work, ipv6 is enabled and I have an ipv6 address, but no ping6 works. when I do traceroute6 www.google.com I get: Cannot send data: Operation not permitted16:42
nubuntuI need to customize a version of ubuntu to use at school. But in this new version there are 3 squashfs files (minimal, minimal.standard and minimal.standard.live) before I only modified the filesystem.squashfs. I'm not sure which one to modify the system now since it's so "divided". Would anyone have any documentation about this?16:49
tomreynandros_: it appears that your user or system is not allowed to send icmp packets (try sudo?)16:56
tomreyn* icmpv616:56
andros_tomreyn: I have already tried it as root. the problem is also that connections do not work, for example with add-apt-repository.17:00
andros_tomreyn: There is only one thing that is strange, there are two ipv6 addresses assigned, one is the one given by the hoster, the other one I don't know: fe80::aaa1:59ff:fe48:fcaa17:16
rfmandros_, that's not surprising since unlike v5 icmp is required to set up connections (for the mtu discovery.) The question is why icmp is blocked.  Is this a real machine you installed yourserlf, or a image on some vps/cloud service?17:17
rfmandros_, the fe80 addr is the link-local.  it's very very common to have multiple ipv6 addresses17:18
andros_rfm: it is a dedicated server the inital setup was done by the hoster, it worked for years only with ipv4. I have upgraded it a fews months agot to 22.04 from 20.04.17:24
rfmandros_,  I would suspect the hosting company has disabled ipv6, though I don't know if that results in the "operation not permitted"17:30
rfmandros_, you could look in /etc/sysctl.conf and /etc/sysctl.d/* for anything affecting ipv617:31
andros_rfm: Normally ipv6 is part of the product17:32
rfmandros_, yes, and normally it works, so we don't have  a normal situation here17:33
rfmandros_,17:33
rfmandros_, this will check for the most usual way of disabling it: "grep '' /proc/sys/net/ipv6/conf/*/disable_ipv6", if any values are 1 instead of 0 it's been disabled17:36
andros_rfm: I have found a file in /etc/sysctl.d/ that comes from the hoster with a configuration for "ipv6 settings (no autoconfiguration)" with net.ipv6.conf.default.autoconf=0 and net.ipv6.conf.all.autoconf=0. But the ip addresses were apparently set up via networkd.17:37
manwhowouldbekinGreetings all! Could someone help me out with this? Anything I do with GPG on Ubuntu 23.10 results in something like this https://pastebin.com/fkQzCmfu Any idea how I can fix this and actully update the keys?17:42
plastikmanandros_: do you have ufw or firewalld running?17:47
rfmandros_, I've never tried running without autoconf but if the link-local address is there it's pretty clear the interface has been configured. But this is a sign your hosting outfit has done something special with ipv6, and maybe you should be checking with them.17:47
plastikmans/firewalld/iptables/17:47
rfmplastikman, a firewall wouldn't result in the "operation not permitted" on the icmp send, it would just keep the packet from going anywhere...17:48
plastikmanYou say you can connect on ipv6, i assume that means you can ssh to the host on ipv6?  maybe you have egress rules the block it17:48
plastikmanrfm yes it will  :)17:48
plastikmaniptables and nftables will return those errors, all of my RHEL machines return that with firewalld enabled.17:49
plastikmanhttps://ubuntuforums.org/showthread.php?t=246691617:53
plastikmanYou can see from that forum, UFW will produce those messages.  I will bet that there is a UFW setting that is not allowing v6 connectivity17:54
andros_I have no firewall. I can't test to connect with ipv6 because I have no ipv6 at home.17:54
plastikmansudo iptables -nL17:55
plastikmanand systemctl status ufw17:55
plastikmanif that system has CIS benchmarks applied (any server AT MINIMUM should) it will have UFW enabled17:57
andros_iptable rules are empty and UFW is not installed.18:01
fwehtis it recommended to start with the ubuntu server install for a minimal desktop install?  or is server extremly different from desktop?18:05
plastikmando you have a default route? ip -6 route show18:08
plastikmanthen can you try to ping6 the default route?18:09
plastikmanfweht: sorry no idea.  I wouls assume its related to the installer, the packages shuold not be diff.  but i am not an expert18:19
fwehtthanks plastikman !18:20
fwehtill just try18:20
rfmfweht, one big difference is starting with a server install will end up with net controlled by systemd-networkd instead of NetworkManager and administered by netplan instead of the gui settings...18:21
plastikmannice, i did not know that.18:22
fwehtaah interesting thanks18:22
fwehti dont need gui18:22
fwehtjust nmcli18:22
rfmfweht, nmcli is NetworkManager too18:23
plastikmanwell nmcli is not sysremd-networkd18:23
fwehtyes true18:23
andros_plastikman: Yes there is a default route for ipv6. But I can not ping6 it.Timeout.18:34
fwehtrfm but i guess there is some cli tool for systemd-network as well?18:43
iorianetworkctl18:44
plastikmanandros_: that means that your gateway is wrong or not reachable18:46
andros_plastikman: But the gateway is fe80::1 as suggested in the Hetzner docs.18:48
oerhekscan you pastbin your network setup?18:48
andros_oerheks: https://pastebin.com/jbVv6avg18:53
plastikmanip a s; ip -6 route show; ip -6 rule show all18:58
plastikmansince ipconfig is depricated should use the "new" tools :)18:58
andros_plastikman: https://pastebin.com/n6yLtacj19:00
=== MadLamb_ is now known as MadLamb
plastikmanwhere is the documentation from your hosing provider?19:22
=== honkey is now known as bebop
plastikmanare you doing the setup in netplan?19:26
plastikmanhttps://docs.hetzner.com/cloud/servers/primary-ips/primary-ip-configuration/19:26
andros_plastikman: this is my netplan config https://pastebin.com/rVNVSsx719:28
plastikmanthat does not match the documenttion that is provided tho19:29
plastikmanhttps://docs.hetzner.com/robot/dedicated-server/network/net-config-debian-ubuntu/#main-ip-address19:33
andros_plastikman: But it looks generally correct to me. It should also work, right? After all, it is also from the hoster.19:35
plastikmannot sure about the gateway6 part19:35
plastikmanactually19:36
plastikmanthe gateway6 is the problem19:36
andros_plastikman: I change it now to the netplan config suggested19:38
plastikmanrestart netplan and lets see19:39
plastikmani think its netplan apply19:42
oerheks+119:42
andros_"netplan apply" But I still can't ping6 fe80::119:43
andros_plastikman: now the server has problems to resolve addresses "Temporary failure resolving19:46
rfmandros_, when you changed away from gateway6, did you lose the nameservers: entries?19:52
andros_rfm: I had it confogured without nameserver entries as in the docs. But now I have added the nameserver entries from the old config but still no name resolution.19:54
plastikmanandros_: dig google.com @1.1.1.119:55
andros_plastikman: this works19:56
plastikmanwhat is in /etc/resolv.conf19:57
andros_nameserver 127.0.0.5319:58
andros_options edns0 trust-ad19:58
andros_search .19:58
plastikmandig google.com @127.0.0.5319:58
plastikmandoes that work?19:58
andros_plastikman: There was a warning when I netplan apply WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.19:59
andros_plastikman: yes this works too.19:59
andros_plastikman: wait a second there is no answer section so it doen't work20:00
andros_plastikman: It doen't give the ip address.20:00
plastikmanhttps://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/204172720:00
-ubottu:#ubuntu- Launchpad bug 2041727 in netplan.io (Ubuntu) "'netplan apply' produces ovsdb-server.service WARNING even when openvswitch-switch not installed" [Low, Triaged]20:00
plastikmanseems that is a "normal" bug the ovs issue20:01
rfm"resolvectl status" will say what the stub resolver is forwarding to (the stub resolver is what's listening on 127.0.0.53)20:02
plastikmansystemctl restart systemd-resolved20:02
andros_plastikman: no change after restarting systemd-resolved.20:05
andros_rfm: "resolvectl status" https://pastebin.com/4s0vXmqz20:06
plastikmanTry removing the ipv6 DNS entries from the netplan then netplan apply again20:07
plastikmansince it seems to be a routing issue20:08
rfmandros_, ok, the nameservers in netplan are not getting applied, not even the ipv4 ones . I suspect an indentation problem in the netplan config file.  maybe pastebin it so we can eyeball it?20:09
andros_plastikman: Done. No change, same problem, no change in resolv.conf20:10
andros_rfm: netplan: https://pastebin.com/KNNw8FEa20:11
rfmandros_, well that at least looks ok (unless there's a tab instead of spaces, but netplan's yaml parser usually catches that)20:14
andros_oh no, I forgot to change the networkcard name! Now it works!20:14
rfmandros_, oh yeah, should have spotted it.  how much now works, just dns or does ipv6 now work?20:15
andros_Name resolution works. But still the problem with ping6 fe80::120:15
rfmthat's sort of good, if fixing the nameservers solved the ping problem it would have been incredibly mysterious20:18
maszloGreetings. I am looking to see if anyone has any pointers for how to directly output to the screen on ubuntu. I have a kiosk system that has ways to change the page shown. I just want to have it display what it has from a settings file.  something simple that can be displayed for 3 seconds would be ideal20:38
maszloI am trying to read the man pages for xdotool, but have not found what I need just yet20:39
=== guiverc2 is now known as guiverc
rfmmaszlo, ages ago I used "zenity" for something like that.  I see it's still in the repos.  Would probably look bad if the settings are more than a couple of lines.  You could always launch "cat" in a terminal  (don't use more or less, they have shell escapes)20:55
maszloI will take a look at that. since i dont have a full desktop stack i would be happy with even something that looks like HDMI1 overlay20:58
topcat001If you already have a browser then you can copy the file.ext to file.ext.txt and then the browser can show it using a file:///path/file.txt url.21:03
maszloThe challenge I made is added an IR receiver to the device to have the kiosk only be interacted with the D pad from a TV remote.  Essentially Left, Right and Down all change a settings file, then UP reloads the page with the settings.21:06
maszloi was hoping that I could just have the simple details of the config file "Left Blue" or "Right Yellow" display on the screen and then disappear after 3-5 seconds21:07
=== Guest9975 is now known as Sam0rai
secomandante21:25
oerheks!yay21:32
ubottuGlad you made it! :-)21:32
=== Guest45 is now known as linuxfan
=== linuxfan is now known as theseb
thesebCan someone help me debug why I can ssh to server with public key?  I put public key in server's .ssh/authorized_hosts... I'm doing ssh -i <private key> server_name -vvv ;  Here is the verbose ssh -vvv output https://pastebin.com/b1NZsexA21:57
thesebs/can/cannot21:57
CosmicDJtheseb: it's authorized_keys, not authorized_hosts22:00
=== mwhudson_ is now known as mwhudson
thesebCosmicDJ: yes...thank you...i had it right on server with authorized_keys22:02
oerheksand if you do, make sure permissions are set right, and the folder in your path22:02
oerhekshttps://help.ubuntu.com/community/SSH/OpenSSH/Keys22:02
oscar_hello22:42
chico_hello oscar_22:44
oscar_chico_, are you spanish?22:45
chico_No, I'm native american, people assume I am which is how I got the nickname22:46
oscar_hehehe, ok ok22:46
oscar_this is the ubuntu official support, but in what this channel can help me?22:48
chico_what issue are you having?22:48
oerheks:-)22:48
oscar_now nothing, only is a question, you help in everythink?22:50
chico_oscar_ what is the question?22:51
oerhekswe are limited to support our own repos, basicly22:51
oscar_ok oerheks, sorry, is my first time in this chat/server22:52
oscar_sorry for my poor english too22:52
oerheksno problem, just ask.22:52
oscar_oerheks, oh, thanks, its only curiositu22:53
oscar_curiosity22:54
oscar_well, i a few explaining the theme... only one question. I have ubuntu LTS, I have a Bluray drive, i can put de VLC with no menus option activate and the movies can play. But if the movie have a java menú?22:56
oscar_or is not supported java-blurays movies?22:58
oerheksinstall libbluray-bdj libbluray-bin and openjdk, it could work, not sure on what BR version, maybe 1.0 only?22:59
oerheksold answer https://askubuntu.com/questions/1225255/java-runtime-kubuntu-18-04-lts-to-get-blu-ray-menu-in-vlc22:59
oerheksor this answer MakeKMKV https://www.omgubuntu.co.uk/2022/08/watch-bluray-discs-in-vlc-on-ubuntu-with-makemkv23:00
oerheksthat points to https://launchpad.net/~heyarje/+archive/ubuntu/makemkv-beta/+index23:00
oerheks!ppa23:01
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge23:01
oerheksuse at your own risk, though it does not smell like a fake bitcoinwallet23:01
oscar_but makemkv is a open software?23:02
oerheksyes23:02
oscar_perfect23:02
oerheksbut the license does not allow us to include in the iso, if we wanted to23:02
oscar_makemkv is a program for copy the disc, ¿no?, i only need to play it with the bluray drive.23:04
oerheksobviously it can play too?23:05
oerheksit should handle java menu ..23:05
oscar_ah ok  ok23:05
oscar_thankyou to every one for the help23:07
jeremy31makemkv is a pain23:08
oerheksjeremy31, i know, but this ppa build seems to work23:11
oerheks*if* one needs that, the 1st solution would work for blueray 1.0 AFAIK23:12
=== honkey is now known as bebop

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