[00:36] <sem> Just now I booted up and my ethernet connection was down. I rebooted and it worked, and it got me thinking; is there a way to power cycle the ethernet adapter without rebooting?
[00:37] <rbox> sem: you can't power cycle a pci card
[00:38] <sem> could I do something like ifconfig eth0 down; ifconfig eth0 up; but with the modern tools?
[00:38] <rbox> well that's not goign to reset anything, but sure, you can try that
[00:39] <sem> i tried ip enp4s0 up but it didn't work
[00:39] <rbox> yeah, randomly guessing at what a commands syntax is tends not to go well
[00:39] <sem> yeah :( and I didn't have internet
[00:39] <sem> so I couldn't really search
[00:39] <sem> i read the man of ip but gave up
[00:40] <sem> i can search now but I still can't really figure it out
[00:40] <ERROR_418> sem: I'd make sure that the cable isn't loose in the port, make sure the retention clip is actually holding on both ends
[00:40] <sem> ERROR_418, yeah that was the first thing I checked; tight at both ends, all the lights working, etc., and it worked after rebooting
[00:41] <shadow255> sem: I just peeked at that manpage and an example stands out pretty quickly for ip link x set up (where x is the device name)
[00:41] <sem> looking..
[00:41] <shadow255> sem: at the end of the page with examples
[00:41] <sem> ah ok; i didn't make it past the synopsis
[00:42] <sem> thanks for the help!
[00:42] <shadow255> and I meant to say x is the interface name
[00:42] <shadow255> cheers!
[01:41] <acikkaynak> hi
[01:41] <acikkaynak> whatsup girls
[01:48] <HurstvilleGuy> sup ladies
[01:50] <dutly> welded
[01:51] <Maik> if you're bored and just want to poke chitchat fun then please use #ubuntu-offtopic for that. That way you can keep the support channel clean from unwanted nonsense
[01:51] <Maik> :)
[02:27] <dgutov> Hi all! If someone is curious about my complains about the crashing GNOME session from a few days ago, here's where I have tracked the problem so far: https://gitlab.com/dikasetyaprayogi/light-shell/-/issues/4
[02:27] -ubottu:#ubuntu- Issue 4 in dikasetyaprayogi/light-shell "The extension (from EGO) makes GNOME 45.1 crash a lot" [Opened]
[02:48] <aarush> are there any fun things to do with armbian?
[02:49] <rbox> huh?
[03:17] <Zed`> I hope this is not too newbie a question but any shell script can be made to run at startup/reboot by adding a service unit file that points to it to /etc/systemd/system/somescript.service and enabling it? Or is there a better way to do it? My old brain could not find an /etc/rc.local :)
[03:18] <rbox> yes, create service file
[03:23] <Zed`> cool thanks
[06:30] <Guest39k> https://text.is/0W10
[09:23] <lesshaste> how can I stop software updater from popping up to tell me about ubuntu pro updates?
[09:30] <lubuntu_> Die Corax Transe nervt schon ziemlich hart
[10:22] <mjg> hello. i'm trying to find out why the ubuntu kernel ships with CONFIG_UBSAN=y. so far i have no luck finding a git repo or an equivalent which would give me the commit which added it
[10:22] <mjg> any clues?
[10:26] <ikonia> mjg: what does that setting do ?
[10:26] <ikonia> (and is important to you?)
[10:26] <mjg> https://docs.kernel.org/dev-tools/ubsan.html
[10:27] <mjg> it is a major single-threaded slowdown, so i'm curious how it landed in production kernels
[10:27] <mjg> for all i know it's an accident
[10:27] <ikonia> I'm just reading, I'm not aware of the setting, one moment
[10:28] <ikonia> Hmmm. I wonder (I have no knowedge of this) if it's there by default to enable ubuntu as a developer platform
[10:28] <ikonia> rather than for actual debugging
[10:28] <mjg> that would be only of consequence for kernel developers
[10:28] <ikonia> I don't know how bad it impacts a single thread performance, but I can see it would have an impact
[10:29] <mjg> which would build their own kernels anyuway
[10:29] <ikonia> mjg: yes, which would make more sense to ship as a -developer kernel package
[10:29] <mjg> so how can i find out how this ended up being enabled
[10:30] <ikonia> I'd look at the launchpad details of the package but you may need to contact/log a bug type request
[10:30] <mjg> i tried that, got noghing
[10:31] <mjg> for example in debian there is a publicly available repo https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/config/config
[10:31] <mjg> i would hope ubuntu has an equivalent
[10:37] <mkukri> mjg: the ubuntu kernel sources live here: https://code.launchpad.net/~ubuntu-kernel/+git
[10:38] <mjg> mkukri: i had seen that repo, i did not find configs in there
[10:40] <mjg> now that i'm poking again i take that back
[10:41] <mkukri> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble/tree/debian.master/config/annotations
[10:41] <mjg> for example https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/debian.master/config/amd64/config.common.amd64?id=44120274bdc294fd1808aa2a1e8386d8e09ee307
[10:41] -ubottu:#ubuntu- Commit 4412027 in ~ubuntu-kernel/ubuntu/+source/linux/+git/focal "UBUNTU: [Config] updateconfigs for REFCOUNT_FULL"
[10:41] <mjg> ye, thanks man
[10:41] <mkukri> focal is 20.04, you'll likely want to look at something more recent
[10:55] <oem> passord
[11:12] <ikonia> mjg: apologies, I had to take a phone call, do you know if that feature is enabled in the debian kernel ?
[11:13] <ikonia> mjg: also some of the people in #ubuntu-kernel atively work on the kernel package and maybe able to do a little bit of research behind the curtain
[11:17] <mjg> found the origin https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1914685
[11:17] -ubottu:#ubuntu- Launchpad bug 1914685 in linux (Ubuntu Hirsute) "Please enable CONFIG_UBSAN_BOUNDS" [Undecided, Confirmed]
[11:17] <mjg> with CONFIG_UBSAN_ONLY_BOUNDS=y (which *is* enabled) it is not tragic
[11:51] <ikonia> lets have a read
[13:03] <BluesKaj> Hi all
[13:08] <fdan52> I get this The following packages have unmet dependencies:
[13:08] <fdan52>  linux-tools-5.4.0-139 : Depends: linux-tools-common but it is not going to be installed
[13:08] <fdan52> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
[13:08] <fdan52> how can i fix this
[13:09] <pavlos> fdan52: it tells you, sudo apt install -f
[13:10] <fdan52> pavlos i did apt --fix-broken install
[13:10] <fdan52> but still i get an error
[13:10] <fdan52> dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
[13:10] <fdan52> Errors were encountered while processing:
[13:10] <fdan52>  /var/cache/apt/archives/linux-tools-common_5.4.0-169.187_all.deb
[13:10] <fdan52> E: Sub-process /usr/bin/dpkg returned an error code (1)
[13:13] <fdan> pavlos do you know the solution
[13:29] <pavlos> lsb_release -r
[14:29] <strk> is /dev/mapper/cryptswap -> ../dm-0 a partition or RAM segment or what ?
[14:31] <strk> sudo dmsetup ls # cryptswap       (253:0)
[14:36] <leftyfb> strk: it's a partition, or more appropriately, an LVM volume
[14:39] <CosmicDJ> sounds more like a luks-encrypted device (source doesn't have to be LVM AFAIK)
[14:40] <leftyfb> dm-0 is LVM
[15:07] <Guest77> Hello, I have recently upgraded to 22.04 (from ubuntu 16 LTS, via 18 and 20). When I run "Pulseaudio volume control" it says "establishing connection to pulseaudio. please wait" and nothing happens. And youtube videos in firefox don't produce any sound. How can I figure out what's wrong?
[15:09] <pavlos> inxi -A should show 3 sound servers running
[15:11] <Guest77> $ inxi -A
[15:11] <Guest77> Audio:
[15:11] <Guest77>   Device-1: Intel 6 Series/C200 Series Family High Definition Audio
[15:11] <Guest77>     driver: snd_hda_intel
[15:11] <Guest77>   Sound Server-1: ALSA v: k5.15.0-91-generic running: yes
[15:11] <Guest77>   Sound Server-2: PulseAudio v: 15.99.1 running: yes
[15:11] <Maik> Guest77: please use pastebin for large outputs
[15:11] <Maik> don't post them here
[15:12] <Guest77> sorry. see three sound servers: alsa, pulseaudio and pipewire, all running
[15:13] <BluesKaj> Guest77, oprn alsamixer in the terminal and make sure automiye is disabled, use up/down arrow keys to disable
[15:13] <BluesKaj> automute rather
[15:13] <Guest77> however, pulseaudio --check; echo $? returns 1
[15:16] <Guest77> I ran alsamixer and turned off all the MM's. Still no audio output from firefox/youtube
[15:16] <oerheks> remove the ~/.config/pulse/  folder and restart sound?
[15:16] <oerheks> and restart browser
[15:16] <Guest77> it should work in chromium I guess? I am running this irc session in firefox :-)
[15:17] <Guest77> dumb question, how do I restart sound?
[15:17] <oerheks> pulseaudio --kill # and it should respawn again
[15:18] <Guest77> it gives an error: failed to kill daemon, no such file or directory
[15:21] <Guest77> I moved ~/.pulse* and ~/.config/pulse* to /var/tmp for safe keeping, ran pulseaudio --kill (gives the error) and then pulseaudio --start
[15:21] <Guest77> there's no output, and the mixer still doesn't work
[15:22] <Guest77> also in my syslog it says starting sound service... started sound service every 20 seconds
[15:22] <Guest77> so I think something is still broken :-(
[15:22] <Guest77> is "sound service" the same as pulseaudio?
[15:23] <pavlos> ps -ef | grep pulseaudio ... one line with pid
[15:23] <Guest77> I have 5 matching processes, excluding grep
[15:23] <Guest77> 3 processes are "pulseaudio --start"
[15:24] <pavlos> user         826     816  0 Jan10 ?        00:00:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
[15:24] <Guest77> one is "/u/b/pulseaudio --daemonize-no --log-target=journal"
[15:24] <Guest77> yes!
[15:25] <Guest77> and one is "/u/b/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /blah/blah/plugins/libpulseaudio-plugin.so"
[15:26] <Guest77> but the --daemonize=no process seems to be the one that is dying and being restarted: the process start time is always the current time, and the pid keeps changing
[15:33] <Guest77> how do I see the pulseaudio log in the systemd journal?
[15:37] <ravage> journalctl --user -u pulseaudio
[15:39] <Guest77> thanks. I didn't see anything useful-looking there unfortunately
[15:40] <Guest77> is pipewire relevant to this?
[15:40] <ioria2> Guest77, systemctl --user status pipewire-session-manager.service
[15:41] <Guest77> it's been running for 42 minutes. There are some log messages: mod.rt: RTKit error: org.freedesktop.DBus.Error.AccessDenied
[15:41] <Guest77> but I don't know if that is going to kill my audio?
[15:42] <ioria2> what ?
[15:42] <Guest77> My issue is that I have no audio output. I am trying to figure out why. But audio output has always been a big mystery to me... all I know right now is that the pulseaudio process is restarting every 20 seconds, but I don't know why.
[15:43] <ioria2> Guest77, did you run this ?   'systemctl --user status pipewire-session-manager.service'
[15:43] <Guest77> Yes I did. I can paste the output somewhere...
[15:44] <ioria2> Guest77, systemctl --user status pipewire-session-manager.service | nc termbin.com 9999
[15:44] <Guest77> https://pastebin.com/raw/dnCBdZCD
[15:47] <ioria2> Guest77, systemctl status --user pipewire.service | nc termbin.com 9999
[15:49] <Guest77> I can't seem to use termbin, maybe port 9999 is firewalled by my network. Here's the pastebin for pipewire.service: https://pastebin.com/raw/mWNQAkz9
[15:51] <Guest77> Those mod.rt lines are yellow, fwiw!
[15:51] <ioria2> something messed up (or missing) in the upgrade ...
[15:53] <Guest77> yes! does it look to you like the problem is with pipewire? or pulseaudio?
[15:53] <Guest77> Can I use pulseaudio without pipewire?
[15:53] <ioria2> Guest77, systemctl --user restart pipewire pipewire-pulse
[15:54] <ioria2> Guest77, and check pavucontrol (or sound settings) again
[15:54] <benni_b> hi. I have a ubuntu laptop with tightvncserver installed. I'm running Xorg desktop on it. I'm a bit unsure how to configure the xstartup file in accordance to Xorg? Or can I have it configured for xfce as per the guides I'm reading even though I'm logged in to it with Xorg?
[15:54] <Guest77> Failed to restart pipewire-pulse.service: Unit pipewire-pulse.service not found.
[15:54] <pragmaticenigma> Guest77: You can, as pulseaudio precedes pipewire. However, pulseaudio is already on track to be removed in a future release. You're better off trying to get pipewire working
[15:55] <BluesKaj> Guest77, install pipewire-pulse.
[15:56] <pragmaticenigma> benni_b: If you're trying to share your active desktop session in Ubuntu, you will have to use the built in tools from the Settings manager. The way the desktop is setup it will not let you initiate a shared screen without an authenticated session already started.
[15:56] <ioria2> yep, that .. and also sudo apt --reinstall install pipewire-media-session
[15:56] <ioria2> Guest77, ^
[15:57] <Guest77> thanks! pavucontrol still says "please wait..." and does nothing
[15:58] <ioria2> Guest77, again  'systemctl --user restart pipewire pipewire-pulse'
[15:58] <Guest77> same behaviour after that.
[15:59] <ioria2> but it started ?
[15:59] <Guest77> well, no error messages anyway!
[15:59] <ioria2> Guest77, systemctl --user restart pipewire-session-manager
[16:00] <Guest77> oh wait, systemctl status --user pipewire-pulse has some errors
[16:00] <Guest77> https://pastebin.com/raw/uwe8GkTe
[16:00] <benni_b> pragmaticenigma, ok understood. But I don't really need to connect to an active session I guess. But the way you describe, I would use the "Remote Desktop Address" field from the "Remote Desktop" settings page?
[16:01] <ioria2> Guest77, i see;   systemctl --user restart pipewire-session-manager
[16:01] <Guest77> done. (pavucontrol not working yet...)
[16:01] <ioria2> no errors?
[16:02] <HD140283> hi running ubuntu server 22.04.3 and ran fdisk -l to check the formatting of one hdd drive and came up with this error: https://pastebin.com/Fj4YN3zu
[16:03] <Guest77> no errors printed to the terminal when I run systemctl --user restart pipewire-session-manager
[16:03] <ioria2> Guest77, ls -ld /usr/share/pipewire/media-session.d
[16:04] <Guest77> no errors in syslog either except the mod.rt warnings
[16:04] <Guest77> drwxr-xr-x 2 root root 4096 Jan 11 15:56 /usr/share/pipewire/media-session.d
[16:04] <pragmaticenigma> benni_b: I don't understand your question
[16:04] <Guest77> (the timestamp is 8 minutes ago)
[16:05] <ioria2> Guest77, can you list the directory ? ls  /usr/share/pipewire/media-session.d/
[16:05] <Guest77> alsa-monitor.conf  bluez-monitor.conf  media-session.conf  v4l2-monitor.conf  with-pulseaudio
[16:06] <Guest77> btw I touched the file with-pulseaudio, trying to follow a fix on stackexchange
[16:06] <ioria2> Guest77, pactl info | grep '^Server Name'
[16:06] <Guest77> pactl info just hangs, no output
[16:07] <ioria2> not good
[16:07] <woo_> hello
[16:07] <woo_> am new here
[16:07] <Guest77> when I strace, it is accessing ~/.config/pulse/cookie, which I removed a while ago. It's back now.
[16:08] <HD140283> hi woo_ state your business
[16:08] <woo_> hmmm...
[16:08] <woo_> ?
[16:09] <HD140283> So the gpt error is on the sdd drive holding the OS /dev/sdd - to fix the gpt error do I need to boot with a live version of Ubuntu or whatever and ..? I've read stuff online but I'm still confused.
[16:09] <HD140283> why are you here woo_
[16:10] <HD140283> *ssd
[16:10] <ioria2> Guest77, fully updated ? sudo apt update && sudo apt full-upgrade
[16:10] <pragmaticenigma> HD140283: That's not appropriate way to speak to others here
[16:11] <Guest77> Yes, looks like it's fully upgraded following that comment. The only caveat is that it says a few packages were kept back:
[16:11] <Guest77>   python3-update-manager transmission-common transmission-gtk update-manager update-manager-core
[16:11] <leftyfb> !support | woo_
[16:11] <ioria2> Guest77, it's ok
[16:12] <woo_> just checking out pc applications
[16:12] <woo_> and why do you ask about it in that manner
[16:13] <pragmaticenigma> woo_: just ignore people that are rude, best advice to follow in a place like that this
[16:13] <ioria2> Guest77, sudo apt-get install --reinstall alsa-base pulseaudio   and reboot
[16:14] <Guest77> ioria2, thanks! reinstalled with no issues, I'll reboot now.
[16:14] <ioria2> Guest77, wait...
[16:14] <Guest77> ok
[16:14] <ioria2> Guest77, sudo alsa force-reload
[16:15] <Guest77> done
[16:15] <Guest77> no change to pavucontrol
[16:15] <ioria2> Guest77, check Sound Settings
[16:15] <ioria2> ok
[16:15] <ioria2> Guest77, reboot
[16:15] <abhijit> Hi All. How to delete old page on wiki.ubuntu.com?
[16:16] <Guest77> I don't have sound settings I think, I'm running xfce
[16:16] <Guest77> rebooting!!
[16:18] <pragmaticenigma> woo_: To answer your previous question/topic on finding pc applications. You may want to try joining #ubuntu-offtopic for chat and discussion on applications and other things. Depending on how you arrive here, you should be able to type in the text entry area /join #ubuntu-offtopic
[16:19] <Guest77> ioria2 it works! thank you so much :-)
[16:19] <ioria2> Guest77, ok
[16:20] <woo_> na that not a question but i let you know when i do
[16:20] <woo_> have a question
[16:45] <Guest77> hello, I am on 22.04. When I run echo -e 'GET / HTTP/1.1\n\n' | nc localhost 80 I get a response from micro_httpd. How do I disable micro_httpd? It seems init is listening to port 80 but I don't know the systemctl magic to disable micro_httpd
[16:45] <Guest77> I don't want anything to respond on port 80, unless I start a daemon.
[16:47] <ioria2> Guest77, is micro-httpd installed ? dpkg -l | grep micro-httpd
[16:50] <Guest77> yes it is: ii micro-httpd 20140814-2.1 amd64 really small HTTP server
[16:50] <Guest77> it's fine to be installed, I just don't want it running automatically
[16:52] <ioria2> Guest77, It runs from inetd  not sure if there's a service for it; let's try :  'systemctl --all | grep -i http'
[16:52] <pragmaticenigma> Guest77: I don't know what service it will name itself, but it should be something like running `sudo systemctl stop micro_httpd.service` sudo systemctrl disable micro_httpd.service`
[16:54] <genii> pragmaticenigma: It runs from inetd
[16:54] <Guest77> thanks! it's micro_httpd.socket. I had found it before and ran the disable line, but didn't think to stop it first
[16:54] <Guest77> it's gone now :)
[16:54] <leftyfb> Guest77: why install that if you don't want it running?
[16:55] <ioria2> Guest77, not just stopping... it will restart next reboot. you need to disable it
[16:56] <Guest77> yes, I stopped and disabled it. Before your advice I had only disabled it and wondered why it hadn't disappeared.
[16:56] <ioria2> Guest77, ok
[16:56] <Guest77> leftyfb: seems useful to have around for ad hoc stuff, I don't know really!
[16:56] <leftyfb> Guest77: https://realpython.com/python-http-server/
[16:57] <leftyfb> Guest77: just running this will spin up a temporary http server: python3 -m http.server
[16:57] <Guest77> well, yes, that's an option...
[17:03] <Guest77> ok, another new-to-22.04 issue. The firefox print dialog only offers print to PDF, and no real printers. Is that because it's a snap now? Can it be fixed?
[17:04] <Guest77> I see the real printers fine in evince
[17:05] <leftyfb> Guest77: sudo snap connect firefox:cups-control
[17:05] <Guest77> leftyfb: magic, thank you!
[17:07] <Guest8> Trying to get the look of the Ubuntu default Desktop via VNC, but this looks like crap, can VNC not setup a good looking gnome session?
[17:08] <leftyfb> Guest8: it sounds like you're not connected to the running gnome session
[17:09] <Guest8> yes exactly, how can I do that?
[17:09] <leftyfb> Guest8: https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/
[17:10] <Guest8> is tightvnc server causing my grief, x11vnc server better or they the same?
[17:10] <tomreyn> note that this will work with X11 only, not wayland.
[17:10] <leftyfb> tomreyn: pretty sure all VNC servers only work with xorg, not wayland
[17:10] <tomreyn> leftyfb: i would think so, too
[17:12] <pragmaticenigma> there is wayvnc in development :)
[17:13] <tomreyn> and gnome's freerdp integration in production
[17:14] <leftyfb> freerdp is based on the RDP protocol, not VNC
[17:15] <leftyfb> ubuntu already comes with the ability to enable an RDP servers
[17:16] <tomreyn> Guest8: they differ, see     apt show tightvncserver x11vnc
[17:16] <Guest8> x11vnc fails with "XOpenDisplay(":0") failed.
[17:17] <Guest8> x11vnc was unable to open the X DISPLAY, I am root right now, and not sure there seems to be talk about already having an x session before this can work, what does that mean exactly? I just installed ubuntu-desktop
[17:18] <leftyfb> export DISPLAY=:0 x11vnc .....
[17:18] <leftyfb> also, don't be root
[17:21] <Guest8> got same error as newly created user
[17:21] <leftyfb> Guest8: you need to start gdm
[17:21] <leftyfb> sudo systemctl start gdm
[17:21] <leftyfb> Guest8: I take it this is a server. Why do you need VNC?
[17:22] <Guest8> its a VM, and user wants to use desktop
[17:22] <Guest8> so no choice but to remote in
[17:22] <pragmaticenigma> Guest8: The instructions that you are following for a shared active session.
[17:23] <pragmaticenigma> where there's an active local session already running
[17:23] <petn-randall> Hi, can someone tell me what makes the 'linux-image-nvidia' different over 'linux-image-generic'? The description is quite vague.
[17:24] <Guest8> ah so this is why gdm start is asking me to authenticate as some other user
[17:25] <leftyfb> Guest8: in order to run commands with sudo, it will ask you to authenticate as your user, not another
[17:25] <Guest8> no I mean "systemctl start gdm" asked me to authenticate as some other user, I take it this means they already had/have a session
[17:25] <leftyfb> Guest8: sudo systemctl start gdm
[17:26] <Guest8> Gnome display manager is showing as active
[17:26] <Guest8> ah ok so gdm says started now
[17:26] <Guest8> will try x11vnc command again
[17:28] <Guest8> same problem x11vnc was unable to open the X DISPLAY: ":0"
[17:29] <leftyfb> export DISPLAY=:1 x11vnc .....
[17:30] <Guest8> same error
[17:31] <Guest8> why use this x11vnc method over VNC, will VNC not connect to the gdm correctly?
[17:31] <tomreyn> petn-randall: try asking this in #ubuntu-kernel with much patience
[17:32] <tomreyn> (or inspect the code on launchpad)
[17:32] <leftyfb> Guest8: other VNC servers try to start their own session
[17:32] <Guest8> I see
[17:33] <Guest8> so when you can get x11vnc working, how does one remote over, same client RealVNC viewer?
[17:33] <leftyfb> any VNC client should do
[17:34] <Guest8> so something is conflicting with the display
[17:35] <leftyfb> no, something isn't configured correctly
[17:35] <leftyfb> sorry, having my own troubleshooting I'm working on at the moment and can't focus on this as I would like
[17:35] <Guest8> I followed the steps, installed x11vnc then set password
[17:36] <Guest8> of course no worries, appreciate the advice
[17:42] <petn-randall> tomreyn: Will do, thanks.
[17:48] <pragmaticenigma> GDM and x11vnc are incompatible, they have been for awhile. Without knowing what instructions you're following it's hard to know what you are setting up. There are two approaches to setting up a VNC service. One is where you intended to share the desktop of a locally authenticated user running an already authenticated session. The other is were you both authenticate and start a user session with a VNC client.
[17:48] <Guest8> I was given
[17:48] <Guest8> https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/
[17:48] <Guest8> from someone here earlier
[17:49] <pragmaticenigma> which you didn't actually read cause you missed the part "and -display :0 tells the server to share your current X11 session."
[17:50] <Guest8> I just want to be able to remotely connect to a GUI, finding the tightvnc setup just an ugly impementation and was hoping for something closer to the Ubuntu Desktop
[17:51] <pragmaticenigma> hopefully your server isn't running an active GUI session full time. as that would leave the system open to malicious use when no one is around to monitor the machine.
[17:51] <Guest8> it shouldnt be
[17:52] <Guest8> if this server is a remote VM, what entails a X11 session already in play?
[17:52] <pragmaticenigma> and that's why the command you're providing keeps failing. because the command "x11vnc -usepw -display :0" expects a user to be authenticated and logged into an active GUI session on the machine
[17:52] <Guest8> I see
[17:55] <Guest8> I just want to give access remotely to a GUI in Ubuntu
[17:55] <Guest8> sounds like I am better off going back to tightvnc, since it creates it on the fly and destroys when done
[17:55] <Guest8> but it looked like crap lol
[17:55] <pragmaticenigma> Yes that's exactly what you should be using. And the "looks like crap" is just some configuration options to improve.
[17:55] <pragmaticenigma> Read the documentation
[17:55] <leftyfb> Guest8: I have to imagine there's better solutions to your overall goal
[17:56] <leftyfb> Guest8: what exactly is the use case? What will these people be doing? How many connected at once?
[17:56] <Guest8> I am not finding any documentation on tightvnc setup with gnome that doesnt look like a kindergarten student didnt color in
[17:57] <Guest8> just a user that doesnt want to sit in the CLI, I hate GUI so I dont have any experience in it
[17:57] <leftyfb> sounds like an opportunity to me
[17:58] <Guest8> indeed
[17:58] <Zed`> Question, please: when creating a service is it wrong to have an After= AND a Wants= in the [Unit] ~ Am I being over zealous / dumb / plain old wrong or all of the above... :)
[17:59] <pragmaticenigma> Zed`: Need more context
[18:00] <Zed`> pragmaticenigma: I have a service that will absolutely fail if stunnal (a vpn) is not started before it
[18:01] <leftyfb> Zed`: After means the service won't start until the other does. Wants is a dependency, though not as strict as Requires. The services in Wants= will try to be started first. With After=, those services are just assumed to be started by some other means
[18:02] <leftyfb> though, even if the services in Wants= don't exit or fail, your main service will still start
[18:02] <Zed`> ah
[18:02] <leftyfb> You want Requires= if you NEED those services to exist and start
[18:03] <Zed`> I see
[18:03] <Zed`> thank you
[18:04] <leftyfb> Zed`: https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
[18:04] <leftyfb> documentation explains all this
[18:04] <Zed`> awesome thank you again
[18:05] <Zed`> the computer I am talking to you from is a DO vm
[18:05] <Zed`> DO is great
[19:21] <ELFrederich> On my WSL Ubuntu 22.04 VMs I'm able to `apt install nala`, but I have some other VM and I get `Unable to locate package nala`
[19:21] <oerheks> !info nala
[19:21] <leftyfb> !universe | ELFrederich
[19:21] <oerheks> enable universe indeed
[19:23] <ELFrederich> just ran `sudo add-apt-repository universe`, then `sudo apt update`, still getting `Unable to locate package nala`
[19:24] <oerheks> on what ubuntu version?
[19:24] <ELFrederich> PRETTY_NAME="Ubuntu 22.04.3 LTS"
[19:24] <ELFrederich> from /etc/os-release
[19:25] <leftyfb> ELFrederich: ( cat /etc/os-release ; grep -v -- "#" /etc/apt/sources.list ) | nc termbin.com 9999
[19:26] <ELFrederich> leftyfb, https://termbin.com/o5pm
[19:27] <leftyfb> ELFrederich: cat /etc/apt/sources.list | nc termbin.com 9999
[19:28] <ELFrederich> single line... # Repos managed by puppet.
[19:28] <leftyfb> there's your problem
[19:29] <ELFrederich> cat /etc/apt/sources.list.d/* | grep ubuntu.com | nc termbin.com 9999
[19:29] <ELFrederich> https://termbin.com/8og8
[19:30] <leftyfb> URL's don't have upper case
[19:30] <leftyfb> though I don't think that should break it
[19:30] <pragmaticenigma> ELFrederich: WSL is not something supported here, and your question would be dependent on the deployment options within windows
[19:30] <ELFrederich> don't think so either... but you're right, that looks weird
[19:30] <ELFrederich> pragmaticenigma, it's working within WSL, it's not working on some VM that got provisioned for me
[19:30] <leftyfb> this isn't a WSL issue. Potentially puppet
[19:31] <leftyfb> I do't have any experience with not having a sources.list and only relying on .d/ lists. In theory it should work
[19:31] <ELFrederich> also, if it's not supported here, is there a sub channel where it is?  I think Ubuntu is publishing WSL rootfs images, got into the Microsoft store, etc
[19:31] <leftyfb> but that is where I would start looking
[19:31] <leftyfb> !wsl | ELFrederich
[19:32] <ELFrederich> leftyfb, yeah... no issues with WSL.  I'm curious why pragmaticenigma is saying WSL isn't supported in #ubuntu
[19:33] <leftyfb> ELFrederich: the non-standard kernel and drivers can cause issues
[19:33] <leftyfb> but this isn't one of them ... .again, I'm pretty sure it's due to your system being managed by puppet
[19:34] <leftyfb> I would test by moving that .d/ file with the main repo's back into the main sources.list
[19:34] <ELFrederich> ah... gotcha.  Yeah, I can see not supporting that stuff.  Also graphical apps
[19:34] <ELFrederich> but CLI stuff, package management, etc should be supported here all day
[19:34] <oerheks> The package nala in Ubuntu 22.04 is in the jammy-backports repository.?? https://launchpad.net/ubuntu/+source/nala/+changelog
[19:34] <oerheks> from https://answers.launchpad.net/ubuntu/+source/nala/+question/706311
[19:34] <ELFrederich> ah... backports
[19:35] <leftyfb> damn, missed that
[19:35] <leftyfb> yep, oerheks is right
[19:35] <leftyfb> it'd be nice if ubottu gave that info with !info
[19:35] <ELFrederich> so it wasn't necessisarily universe
[19:36] <oerheks> ELFrederich, indeed
[19:36] <oerheks> else it could have been stored in ubuntu's universe project, if it was unmaintained, but does not looke like an abandoned project
[19:36] <leftyfb> still though, why does puppet wipe the souces.list just to move it into .d/? Seems pointless to me
[19:45] <pragmaticenigma> ELFrederich: You are correct from the standpoint that core things should be universally supported. However I think you may have encountered the one scenario which makes WSL an outlier. There's a lot of customizations made to those images, by their Author (I assume Microsoft) and in your case, it's possible that WSL enables the backports repo by default, while a general release requires the end user to enable that.
[19:48] <leftyfb> to be fair, I'm pretty sure the OS image that's used for WSL is just a standard Ubuntu cloud image. The problem's usually stem from the kernel being not a real kernel (WSL1) or a non-standard kernel (WSL2)
[20:09] <rfm> it's been a while but the last time I looked at WSL2 it had a custom init, didn't use systemd, which is pretty far from a standard ubuntu...
[21:08] <jake_> hey baby
[21:12] <ELFrederich> trying out 24.04, noticed gimp finally has a working liquid rescale in there once I installed gimp-plugin-registry, but I can't find the "heal selection"
[21:12] <ravage> !next | ELFrederich
[21:14] <pragmaticenigma> ELFrederich: #gimp might also be a good resource to check out