/srv/irclogs.ubuntu.com/2020/02/08/#ubuntu.txt

Darkchaossarnold: Well, I'm a maintainer of a java game engine and our openGL Backend depends on lwjgl2 (as lwjgl3 still has it's quirks for us). And as I am usually the guy who has to fix things when others give up, that's my joy for this week :D00:00
DarkchaosNow lwjgl2 depends on AWT (the window toolkit) with a "versioned reference" and this causes glibc to assert when trying to load lwjgl200:01
sarnoldDarkchaos: so, this is WILD SPECULATION. the https://launchpad.net/ubuntu/+source/lwjgl package shows it's unchanged since xenial -- when it was build with g++ 5.x00:05
sarnoldDarkchaos: I wonder if your much newer builds may not be compatible with something so old. I can't recall any c++ abi differences between xenial and bionic but I'm also pretty far removed from those events00:06
Darkchaossarnold: That shouldn't be a problem, as AdoptOpenJDK and other Distributions work, only the one from Ubuntu doesn't. Even Debian seems to be working (and it works on the same code, so I could only speculate that gcc 8 fixes it and gcc 7 breaks it)00:07
DarkchaosMaybe also one of the ubuntu patches of gcc break it00:07
sarnoldheh, good point, debian hasn't rebuilt since 2016 either https://launchpad.net/debian/+source/lwjgl00:09
Darkchaoswell lwjgl only seems to trigger the bug by depending on "libjawt.so" with a versioned reference00:10
Darkchaoshttps://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1838740 is the issue00:10
ubottuLaunchpad bug 1838740 in openjdk-lts (Ubuntu Focal) "libjawt.so inconsistency lets JVM crash" [Undecided,Confirmed]00:10
DarkchaosThey have a different way of triggering the bug, but still00:10
HiddenDjinni'm trying to configure and run samba ad and i'm running into an issue00:13
HiddenDjinnit seems to be failing on the mit kdc daemon00:14
sarnoldDarkchaos: it'd be worth tacking on a note with your findings; the one guy is suggesting too-new gcc is a problem, heh00:17
Darkchaossarnold: Well, I am the last one commenting there, I just did have this name registered already with NickServ00:17
sarnoldaha!00:18
dowdleGreetings, on a freshly installed Xubuntu 18.04.3 system... and installed realmd, sssd-ad, and oddjob-mkhomedir... and joined the system to a Microsoft Active Directory domain... and I can authenticate... but it fails to create a directory for me when I login.  Are there some other packages that need to be installed for that to work?00:32
sarnolddowdle: do you get any errors logged to the journal or log files?00:34
sarnolddowdle: how about the other hosts on the network?00:34
dowdlesarnold: This is the first ubuntu-based system I've tried to do this on... so I'm not sure about other hosts.  I'm more familiar with CentOS and Fedora... and so what works on those, is working well on Xubuntu except for the home directory creation part.00:37
dowdlesarnold: Thanks for answering... I did a "journalctl -f" while logging in... and I didn't see anything that looked relevant... no errors about home directory creation failure.00:45
sarnolddang :(00:46
dowdleUnfortunately I have to run... but I'll do some web searches later and get it figured out.00:46
reas0nevery minute, the lock screen clock bleeds through to my desktop when the number changes. Stays there until something draws over it00:52
reas0nvery distracting .. any ideas?00:53
dowdlesarnold: I figured it out... I had to run pam-auth-update and enable "Create home directory on login".00:59
sarnolddowdle: awesome!01:00
sarnolddowdle: thanks for reporting back :)01:00
dowdlesarnold: Sure thing.  Most of the instructions I found from web search had a lot of file editing for not good reason.  All one needs to do is: "reamld join -U $user-who-can-join $DOMAIN.NAME"01:03
dowdleThen edit /etc/sssh/sssd.conf and to turn off full domain name requirement... and then that pam-auth-update part... and it is actually pretty easy.  Yeah, one file to edit but that just lets one not have to do fulldomain\username and instead username01:04
dowdleAnyhoo...01:04
dowdleLater01:04
entourage18.04.4 was supposed to be released a couple of days ago but I can't find it01:26
baymanshould i install docker.io or docker-ce on Ubuntu 19.10?01:26
sarnoldentourage: https://lists.ubuntu.com/archives/ubuntu-release/2020-February/004897.html01:26
entouragesarnold, thanks01:28
Notguest96Spotify is not working for me01:33
Notguest96The browser version keeps telling me to enable DMR01:33
Notguest96and the desktop version is slower than a turtle01:33
Notguest96not sure what to do01:34
=== PowerTower_121 is now known as PowerTower_120
vionI installed ubuntu and checked the ZFS option now after an update my bios does not detect a bootable device so I assume GRUB is damaged. The entire drive is apparently zfs and I have no idea how to fix it.01:51
vionSome say use mount others say fuse, bsd and solaris each have their separate version of ZFS. And neither nautilus nor gparted or any other tool seems to interact with zfs.01:54
sarnoldare you booting UEFI or BIOS? did you install UEFI or BIOS?01:56
vionsarnold: I installed and boot UEFI, but I tried both methods since it has happened in the past.01:57
vionI even tried disabling the hypervisor and several other bios options.01:57
vion(is zfs even supported without UEFI?)01:58
celphiwhat is correct way to run webserver on ubuntu01:58
celphido i just add /var/www/html to nginx group?01:58
celphithen add my user to nginx group01:58
celphi?01:58
sarnoldgood question; my one BIOS system that uses ZFS doesn't have root on ZFS, just a storage pool.. and my ZFS-on-root systemis UEFI01:58
sarnoldvion: before zfs was added to the installer, community members put together a guide on how to do it by hand01:59
silg@celphi doesnt nginx has a sites-enabled file in /etc/ ?01:59
sarnoldvion: at the end of the guide is a very quick troubleshooting piece https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS#troubleshooting02:00
npx_So is GPU offloading supposed to work with intel/nvidia setups (using the proprietary nvidia drivers) in Ubuntu 20.04?02:00
sarnoldvion: probably skip the cryptsetup step, but the zpool export / import / zfs mount commands ought to be useful02:00
celphisilg: that file exists but im trying to add html files to my www dir and im getting permissions error-- so im wondring right way to do this02:01
vionsarnold: I think I will just get my files and call it quits on saving the system, but it would be nice if grub worked02:01
celphido i just add my user to nginx group and add /var/www/html to nginx group and make it 774?02:01
sarnoldcelphi: I think it's a bad idea for the webserver to have write access to its files, but that's the debian way -- run the daemon as www-data and have the files owned by www-data02:01
silgyeah just check your file permissions02:02
celphisarnold: then how would you save files sarnold ?02:02
npx_sarnold: I want to redo my zfs root installation with cryptsetup at some point... require a USB key inserted to mount the root fs02:02
sarnoldvion: it's probably still worth trying these ~dozen commands, they might let you just run update-grub02:03
vionsarnold: hey so I noticed my bios had the drive set to raid and not ahci is that usual? I tried switching it up and it did nothing different02:03
sarnoldcelphi: it depends upon how you want to manage the files; maybe you create a new group for them, maybe you create a new user for them, maybe you just use your user account already.. it depends upon what you're trying to do to, how many people need to be able to change them, etc02:03
sarnoldvion: I think ahci ought to be the usual choice02:04
celphiim just trying to run a webserver out of /var/www/html.. i usually do it as root but im new to ubuntu02:04
celphii usually just make my files but i get a bunch of permission issues02:04
vionsarnold: I checked the machine over hoping i didn't some how install grub to an sdcard or flash stick by accident lol02:04
celphii can easily do chown newuserhere html/02:05
celphibut is that irght way?02:05
vioncelphi: avoid using cp and use mv instead to avoid all that permission hassle02:06
sarnoldcelphi: chown -R probably, but yes, that's certainly a fine way to do it if you just want to keep it simple02:06
imialso there's cp -a02:06
celphivion i cant even make a file-02:06
celphihave to sudo everytime02:06
celphity sarnold02:06
vioncelphi: touch nameoffile02:07
celphisame thing error02:07
celphiim just going to do usermod -a -G nginx02:07
vioncelphi: hold up is your user not in the sudo group?02:08
celphiand add my user to nginx group02:08
celphiit is02:08
sarnoldcelphi: I like that nginx user idea even better :)02:08
vioncelphi: what about that wheel group02:08
celphinot wheel but sudo is there02:08
vionif you are doing it graphically then needs wheel group I think02:09
celphiyeah im not sure i want to give my user the wheel group access02:09
celphinginx group seems like a better option02:09
celphiis there a reason why a webserver directory would need X02:11
celphipermissions02:11
celphifor everyone02:11
celphican i just do 774?02:12
celphinvrmind02:12
celphionly works for 77502:12
vionnginx is some kind of proxy server that has all manner of porthole for plugging02:12
oerheksone would add the user to www-data ..02:13
celphioerheks: i went with nginx instead02:13
vioncelphi: you using the load balancing or cache features?02:13
celphipossibly02:13
sarnoldcelphi: because nginx is running as user www-data, it needs to access the docroot via the 'other' permissions02:13
celphimostly for reverse proxy02:13
celphii run it as user nginx02:14
celphioh snap lol.02:14
celphiubuntu has it different02:14
celphihow come ubuntu is not adding my user to group?02:23
celphiim doing `sudo usermod -a -G "www-data" usernamehere`02:23
sarnoldyou need to log in in order to get new supplemtnary group memberships02:23
celphido what?02:24
robertparkerxI saw some guide that suggested to setup a crontab for when I reboot my server to restart irssi but I've setup irssi under a user 'irssi'. How do I do that?02:24
celphii have to logout and log back in ?02:24
sarnoldcelphi: the easy thing to do is log out and log back in again02:24
robertparkerx@reboot su irssi screen -S irssi02:24
sarnoldrobertparkerx: sudo -u irssi crontab -e  ... screen -S irssi something02:24
robertparkerxah lol02:25
robertparkerxTy02:25
robertparkerx@reboot screen -S irssi02:27
robertparkerxis that valid02:27
celphisarnold: didnt work02:27
celphistill same groups02:27
celphii typed `groups` and it's not listed`02:27
sarnoldcelphi: hrm, try adduser, it's less typing: adduser celphi www-data02:28
celphithats weird02:29
celphiit says im already a member02:29
celphibut it doesnt show it listed02:29
tomreynyou may need to logout, switch to a tty, login there, run "loginctl terminate-user $USER", log out there if needed (but you  should get logged out automatically), switch back to the graphical login, login.02:30
tomreynso, very convenient ;)02:30
celphicheck this out02:30
sarnoldtomreyn: what's the loginctl bit for?02:30
tomreynsarnold: destroying lingering systemd user sessions, i think02:30
celphihttps://usercontent.irccloud-cdn.com/file/Ti6Qx7qb/image.png02:30
tomreynhttps://askubuntu.com/questions/1045993/after-adding-a-group-logoutlogin-is-not-enough-in-18-0402:31
celphiDoes that image make any sense to you?02:31
celphiif i `su kerafyrm` i see the group i added.02:32
celphibut if i exit back to kerafyrm it shows a different set of groups02:32
tomreynthat's unrelated, but makes sense to me, yes02:33
celphihttps://usercontent.irccloud-cdn.com/file/v8rHqMv9/image.png02:33
celphibetter image02:33
celphihow is this possible?02:33
tomreynyou seem to have incorrect expectations about what "su kerafyrm" does.02:33
celphidoesnt it switch user?02:34
tomreynmaybe you wanted to run "sudo -u kerafyrm -i"02:34
celphi`su` doesnt mean switch user?02:34
celphisudo only executes one sudo command02:35
tomreyn"su" is short for "switch user", yes. but this is not a precise definition of what it does.02:35
tomreynyou'd still see differences about group membership when using sudo as suggested.02:35
nelginIt means "substitute user02:35
nelginNowhere in the man page for su does it mention the word "switch".02:36
tomreynwhoops, i think nelgin is right there02:36
sarnoldcelphi: hmm, what does 'getent initgroups kerafyrm' report?02:36
celphihow is it that with my `whoami` i see kerafyrm and only two groups but then when i exit and do `whoami` again how do i get more groups?02:36
celphi33 sarnold02:36
tomreynnelgin: ... nor the word "substitute" ;)02:37
sarnoldcelphi: oh shit.02:37
sarnoldcelphi: do you still have a root shell somewhere?02:37
thenorihi everyone!02:37
sarnoldcelphi: do you still have a shell with sudo in the groups output?02:37
thenoriI have something peculiar to show y'all02:38
nelginIt does in the CentOS man page ;)02:38
celphiroot shell somewhere?02:38
sarnoldcelphi: ASAP run sudo adduser kerafyrm sudo02:39
thenorihttps://imgur.com/a/llpQWtK02:39
thenoriI get this same error every time I try to boot ubuntu02:39
thenoriI boot into emergency mode with no option to use recovery mode or a shell. Attempting to recover from a live disks has so far proved ineffective.02:40
tomreynthenori: which error exactly, the one in red on the bottom line?02:41
thenori"+ shellcheck 'src/*.sh' - src/*.sh does not exist"02:41
thenoriFrankly I'm baffled. I've never encountered shellcheck as a part of the boot process before and I'm unsure why it's looking for "src/*.sh".02:42
sarnoldit feels like there's a shellcheck src/*.sh command stuffed in your /etc/*profile* or something02:42
thenoriThat seems rational02:42
sarnoldcelphi: have you added yourself back to the sudo group yet?02:43
thenoriAs I've gotten a live disk running at last, testing such a hypothesis should be trivial02:43
thenoriAha!02:49
thenoriA grep has got me to grok it02:49
sarnoldthenori: whoohoo, where was it? :)02:49
thenori> /etc/bash.bashrc:shellcheck src/*.sh02:50
sarnoldthat'll do it ;) heh02:50
thenoriit's nearby some other commands02:51
thenori> set -euo pipefail02:51
thenori>set -o xtrace02:51
sarnoldand that's why it dies, heh02:51
thenoriwhat do those do?02:52
thenoriI don't know how it got there, frankly. I don't touch /etc/bash.bashrc02:52
sarnoldset -euo pipefail is a common way to try to make shell scripts more useful02:52
sarnoldset -e will die on errors02:52
sarnoldbut commands in the middle of a pipeline that die don't trip the set -e02:53
sarnoldso pipefail tries to catch those failing too02:53
sarnoldset -u makes unset variables painfully loud02:53
sarnoldset -o xtrace writes tracing information to the output, which is how you spotted the error at all. without that this probably would have been a thousand times more confusing02:54
thenoriso, nothing out of the ordinary02:54
sarnoldbut combined they mean that the shell is not going to work well at boot02:55
sarnoldwhich reminds me02:55
sarnoldcelphi: have you added yourself back to the sudo group yet? ASAP run sudo adduser kerafyrm sudo02:55
sarnoldbecause if celphi logs out or reboots or something, he or she's going to be stuck doing the same thing you';re doing, trying to use the rescue environment to get the computer back02:55
=== zbenjamin_ is now known as zbenjamin
thenorirescue environment didn't work at all02:57
thenoriI've never encountered 'emergency mode' before02:57
sarnoldthenori: cripes02:58
cgiI am using sublime text which borrows the system font for its left panel. How do i change the system font on ubuntu 18.04?02:58
thenorijust a recursive loop02:58
sarnoldthenori: you've made me wonder if bash will read those if you use init=/bin/bash even :)02:58
tomreynthere are probably other shells02:58
thenorii mean i just did02:58
sarnoldthenori: ah I thought you went to rescue disk02:59
sarnoldthenori: how much csh do you remember? :)02:59
thenorinone02:59
sarnolderf, tomreyn, how much csh do you remember? :)02:59
thenorii hear fish is popular02:59
tomreynabout as much as thenori02:59
thenorii know people use zsh too03:00
tomreynwith trolls, yes03:00
sarnoldthe "make nothing work right" shells, heh03:00
oerheksgnome-tweak-tool can handle font settings03:02
kyle__Is anyone here familiar with na_record from speech-tools?  I can't get it to capture anything.  Just exits immediately.03:02
oerheksnot sure if sublime text in confined snap behaves differently03:03
cgiAnyone using ubuntu on 4k? I could use some help configuring font sizes03:03
kyle__2560x1440+0+0?03:03
cgikyle__, ?03:05
oerheks!info gnome-tweak-tool03:05
ubottugnome-tweak-tool (source: gnome-tweaks): adjust advanced settings for GNOME - transitional package. In component universe, is optional. Version 3.34.0-2 (eoan), package size 1 kB, installed size 12 kB03:05
cgioerheks, that did not help03:06
kyle__cgi: Is that close enough to 4k?  I haven't looked at monitor marketing terms in ages.03:06
cgioerheks, I set all my fonts large - and sublime text still renders small fonts. The "X" button on windows is still very tiny. The spacing between the words on a window top is still messed up03:06
kyle__With that monitor, I use st built with a monospace font at 12 point, antialiased.03:07
oerheksfor 19.10 there are some tweaks, http://ubuntuhandbook.org/index.php/2019/10/how-to-enable-fractional-scaling-in-ubuntu-19-10-eoan/03:07
kyle__Works great.03:07
cgikyle__, its 3840x2160 or something like that03:07
kyle__Ahh ok.03:07
cgiI am on 18.04LTS - no fractional scaling here03:07
kyle__cgi: Theoretically, on a properly designed graphics system, it knows the resolution of your monitor, and the physical dimensions, and a 12 point font will be the same size regardless of what monitor you're on.03:08
thenorii've never encountered any issues with text scaling in vim03:08
kyle__But after 30 years I think Apple is still the only company that actually does that :/03:08
kyle__company, OR organization.03:08
cgikyle__, maybe time to ping canonical/gnome with a suggestion?03:09
oerhekshow about a wayland session? your issue is linux wide, i believe03:10
thenorianyways, tyvm sarnold :)03:10
thenorigonna go reboot and get this bb running03:10
thenoribtw: if anybody ever shittalks ubuntu to you, let it be known that that is the only live disk that worked03:11
thenorinot kali, not nothing03:11
cgioerheks, have you used wayland ?03:11
sarnoldwait was thenori running a blackbird??03:12
oerhekscgi, sure, but not with newer hardware and 4k03:13
sarnoldcelphi: have you added yourself back to the sudo group yet? ASAP run sudo adduser kerafyrm sudo03:19
thenoriokay sarnold03:27
sarnoldthenori: "bb" .. is that a blackbird? :)03:27
tomreynor just "bionic beaver"?03:28
sarnold"bad boy" also wouldn't surprise me.. but I want to believe :)03:28
thenorihttps://imgur.com/a/Ljbm34h03:30
thenorii am not sure hat you're referring to but i am oe to notice that my uu key is still disabled on this box03:31
sarnoldhmm; did you remove the set -euo pipefail   and set -o xtrace   lines?03:32
sarnoldwhat else was in that file?03:32
thenorinope, all i removed uuas shellcheck03:32
sarnoldremove those two lines as well03:33
sarnoldhttps://paste.ubuntu.com/p/zBdng7sFgR/03:33
sarnoldthere's my /etc/bash.bashrc -- I can't recall what I changed vs what was there already, but it ought to be close to what you've got...03:33
sarnoldmaybe this will help you spot other strange lines that ought not be in that file03:33
thenorialright, I uuill do so03:34
thenoribefore i begin another episode of voyager, though, i uuill reset this box so that i may regain control over my uu key03:35
sarnoldhehehe03:35
thenorifareuuell03:35
sarnoldsee ya03:35
thenoriwhee03:38
sarnolduuelcome back03:38
thenorii can type two `u` at once03:38
thenorigdit i can't turn around for a minute without something falling apart around here03:40
thenorino sound03:40
thenoribother03:40
lunorianHi I'm trying to setup a systemd service to fix the screen size automatically and it's not working. I tried the following at https://askubuntu.com/q/1208933/83502103:50
lunorianI did some further digging and found that by default xrandr doesn't have access to the DISPLAY environment run as root. If I explicitly set it up in the systemd service as :0.0 it's still unable to set the display size.03:51
sarnoldlunorian: there's got to be something way better than that. I don't know what.03:51
sarnoldlunorian: it'll also need an .Xauthority for the running server03:51
lunorianFor the time being on every login I have to run /usr/bin/xrandr --output eDP-1 --scale 0.66x0.66 manually03:51
lunorianI assumed that since systemd is running as root it wouldn't matter03:52
lunorianI'd also like the login screen to have a pretty resolution03:53
lunoriansetting the display size with xrandr is perfect aside from the context issues making the systemd service not work03:54
sarnoldthe manpage for the xauth(1) command describes how the whole authentication thing works; it's best to NOT USE xauth to try to solve the problem though03:54
sarnoldbut I seriously hope there's a way to get the same change to your X server via xorg configuration changes instead03:54
lunorianWon't ubuntu overwrite those on system updates?03:55
lunorianThat's why I figured it'd be best to just setup a startup service03:55
sarnoldthere's no configs by default, so nothing to overwrite03:55
lunorianso meanwhile03:57
lunorianwhat's another way I can solve this03:58
sarnoldadd another environment variable XAUTHORITY to your service that points to the Xauthority file created when launching the X server03:58
lunorianCould you show me an example?03:59
sarnoldlunorian: it'd be something like: Environment="DISPLAY=:0.0 XAUTHORITY=whatever"04:01
sarnoldlunorian: and the 'whatever'is wherever the X11 server's Xauthority file has been stored04:01
thenorialright sarnold we're back in action04:08
sarnoldthenori: sweet!04:09
thenorihowever the action is not 'booting up' it is 'grepping'04:09
sarnoldthenori: not sweet!04:09
thenorii grepped a few of the lines that were in the screenshot04:10
thenoriskel/.bashrc:[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"04:11
sarnoldthat should be fine04:11
sarnold/etc/skel/ isn't executed during boot04:11
thenorihm. I was inclined to start commenting stuff out.04:12
sarnoldit's used to populate homedirectories when you create new users04:12
thenoriidk where should I start with this then? https://i.imgur.com/nveiBE6.png04:13
thenoriI removed the two lines at the end of my /etc/bash.bashrc04:13
thenoriaside from those, they're standard04:14
sarnoldthenori: did you remove the set -u   ?04:15
sarnoldnear the pipefail and xtrace ..04:15
thenoriyeah, it was like set oup pipefail04:15
thenoriremoved both lines04:16
sarnoldhmm. I wonder why this stuff is still showing up04:16
thenorihm? it's not, i just haven't rebooted04:16
sarnoldOH04:16
sarnoldthen you're probably good to go :)04:16
thenoriif you say so04:16
sarnoldyeah, it's worth checking to see if these bits are fixed04:17
sarnoldI'm not sure why youi're getting into emergency mode in the first place, maybe this is it, maybe it isn't04:17
thenoriif you say so o704:18
thenoriheyyyy we have recovery mode04:26
sarnoldyay! now we get to solve the original problem ;)04:27
thenorivery limited keyboard control for some reason, arrow keys aren't working proper04:27
thenorithe screen is quickly flooding with input04:29
thenorioops looks like i'm in emergency mode04:29
thenoriwelp04:30
sarnoldcan you snag another photo of it as early as possible?04:30
thenorisure, you won't like it though04:30
sarnoldheh04:30
=== Taco is now known as DetectiveTaco
thenorihttps://imgur.com/a/2hDNoyq04:33
thenoribet that isn't what you thought i meant when i said the screen is flooding with input lol04:34
sarnoldI saw something vaguely similar the other day04:35
sarnoldwhat was that.. something like an errant directory in a zfs mountpoint kept 90% of my zfs datasets from mounting..04:35
sarnold"input overrun" sounds a bit like a key is stuck on the keyboard04:36
=== Napsterbater_ is now known as Napsterbater
sarnoldthenori: time for me to bail, good luck04:54
InteloIs it possible to have ubuntu/kubuntu desktop but run it in command line and do NOT load any UI?06:05
oerhekssure, sudo systemctl set-default multi-user.target # and you will boot in tty06:06
oerhekssudo systemctl set-default graphical.target  # would move back06:06
m5wI have a program (EAGLE specifically) that seems to black-screen after some time of being installed.  This is the 2nd time it's happened.  When I start it, the window is completely black, but it responds to mouse clicks as if the window elements are there.  In fact, it can open new windows just fine, and those aren't black.06:11
m5wthe 1st time was on another computer, also running Ubuntu06:11
m5wthe way I "fixed" that was by downloading a newer version of EAGLE06:11
tomreynIntelo: to switch from multi-user.target (or most other targets) to graphical.target use: sudo systemctl isolate graphical.target06:12
m5wthat version is the same version that I'm currently experiencing the issue with06:12
m5wso the version isn't the problem06:12
m5walso, installation consists of uncompressing a .tar.gz06:12
Intelooerheks, thanks. How much rough difference in a)memory load b) hard disk space c) cpu  is there in terminal based ubuntu and UI based?06:12
m5wso it's not installing anything into system directories06:12
m5wso is there anywhere that an application could be caching data that would make it not render?06:14
m5wagain, the program works.  It's just completely black06:14
m5wI haven't been able to find anyone else experiencing the same issue06:15
m5wbut it's happened to me twice on different computers06:15
m5wI recently ran dist-upgrade, so maybe a graphics driver was updated?06:16
m5wbut I have integrated graphics and none of my other programs have this issue06:16
tomreynm5w: we can't really support suoftware which is not in ubuntu here, especially if it wasn't installed using a supported software packaging format - you'll best seek support from its developers. generally, the following storage locations could be used (amongst other): there is ~/.cache /run/user/$UID /tmp/ /var/tmp/ ~/.config/ ~/.local/06:17
Intelotomreyn, ^06:19
tomreynIntelo: if you install any ubuntu desktop flavour then all of the graphical desktop is installed, so the same amount of disk space will be allocated whether or not you start the graphical desktop. about memory allocation, this can differ by the graphical desktop you choose (not) to install/run, check minimum system requirements for each.06:20
Intelotomreyn,  How can I get a rough idea on numbers?06:21
tomreynIntelo: for a CLI-only installation (i.e. ubuntu server / ubuntu-minimal) you'd see less than 10 GB disk space allocation (probably less than 4 GB really), and less than 1 GB RAM allocation. see ubuntu-server minimum requirements.06:22
m5wah, so my problem was that DuckDuckGo doesn't always return the best search results06:22
m5wsearched with google and found a bunch of people posting about this06:22
m5wapparently you need to run it with LIBGL_ALWAYS_SOFTWARE=106:22
tomreynm5w: this would enforce software rendering, disable (hardware backed) graphics acceleration.06:23
tomreynIntelo: cpu resource allocation should be very minimal while idle on CLI, may be higher on a desktop if you have integrated graphics.06:24
tomreynIntelo: are you asking for a concrete use case or just for fun?06:25
Intelotomreyn, concrete06:25
Intelotomreyn,  idle apache server with one dummy page. i)ubuntu desktop ii) ubuntu server06:25
tomreynwell if you'Re running a server, run headless.06:26
Intelohow do I scroll up in a console based terminal?06:27
tomreynshift pgup/pgdown06:27
Intelotomreyn, thanks06:27
Intelotomreyn,  I was planning to upload the virtual image to a vps and then run it. There are some applications that I dont what to do heavy configurations every time06:28
Intelotomreyn,  is that a good idea?06:28
tomreynit's a good idea to separate server and desktop use.06:29
tomreyni do not know what "the virtual image" is06:29
dsofeirHello, I am having difficulty getting ubuntu cloud image 18.04 to run on CentOS 8 using KVM and cloud-init06:32
dsofeirI can download the images, resize it, setup my cloud-init ISO, however when the machine boots there is no console access and it does not get an IP address via DHCP06:33
dsofeirPlease can anyone offer any suggestions?06:41
tomreyndsofeir: try #ubuntu-server06:45
=== abirkill- is now known as abirkill
Intelotomreyn,  virtualbox*07:01
tomreynIntelo: computer07:19
wahdizzitHow to troubleshoot a hanging boot? I decrypt disk, then just get a blinking cursor.07:26
Intelotomreyn,  I meant to upload vdi to vps07:34
ElectroStrongdoes anyone know offhand if there is a ppa that has more current versions of qemu and virtualization software for ubuntu?07:49
ElectroStrong(i.e. virt-manager, et cetera)?07:49
ducassenot that are up-to-date, afaict07:54
ducasseat least not on launchpad07:54
ElectroStrongthx ducasse...looks like I'd need to move to 19.10 if I want at least qemu 4.008:01
tomreynElectroStrong: or wait two more months and install 20.04 (or wait some more months and upgrade to it)08:06
Ben64or brave the beta and install 20.04 now08:06
Ben64oh wait, it's before alpha still08:07
ElectroStrongmight have to build it from source - I have vfio enabled for my setup but I'm running into wonderful USB centric issues with high bandwidth devices (and extreme DPC latency even after a lot of configuring) - it's workable, but not ideal - if I can experiment on another disk I may do so :)08:10
bsldhello how to split a file with minimum sized chunks that are evenly sized otherwise08:11
ducassebsld: 'man split'08:11
bsldI tried every command08:12
bsldevery option I mean08:12
bsldI need them to have a minimum base size and then be evenly sized08:12
bsldI'm trying to mimic how jslinux file system is split08:13
bsldso I can create my own file system08:13
ducasse'-b, --bytes=SIZE' 'put SIZE bytes per output file'08:13
bsldyeah but it leaves as the last chunk below the minimum08:14
bsldI want to be evenly sized starting at a base size08:14
Ben64so pad it up to the minimum08:14
Ben64that's how filesystems do it08:15
bsldwhat could be a possible command I'm looking for08:15
bsldto pad the last file08:15
ducassehttps://unix.stackexchange.com/questions/196715/how-to-pad-a-file-to-a-desired-size08:16
ducassefirst hit on a web search08:16
bsldthanks08:17
SakaraI installed vpnc to connect to my corperate VPN. When I connect I expect my DNS to be sent to my company DNS server so I can resolve names of hosts on the office but on this fresh installation of Ubuntu 20.04 it doesn't do that. Have a missed a setting?08:31
Sakaras/20.04/19.1008:33
bsldso how do I compile a linux ext2 file system to file for use by jslinux08:42
bsldI want to have java and gcc08:42
bsldI used buildroot but it doesn't have build tools08:43
elphiasi am having a very strange error caused by upowerd in syslog pertaining to a usb device it is happning even if no usb device is plugged in, and is affecting the ability of my weather station to operate, here is the log output https://paste.ubuntu.com/p/WSTPyYXg2z/08:47
elphiasi am wondering if there is a fix to stop the spammage08:48
ramsub07Hello, i'm trying to start meshlab, it crashes with the following error : http://dpaste.com/38RS8B1. I'm on Ubuntu 18.04. I tried soln mentioned here, doesn't work : https://unix.stackexchange.com/questions/192642/wkhtmltopdf-qxcbconnection-could-not-connect-to-display08:57
elphiasi think everyone's spending the next several hours stareing at the insides of there eyelids08:59
HiddenDjinnhow would i clear out a ldap setup to start over?10:28
HiddenDjinni screwed something up10:28
KiwisI hate this kernel panic after VM crash... too much ways to be able to fix it, none works :S10:33
tomreynHiddenDjinn: apt purge the packages you installed, double check all of their configurations are gone from /etc, undo configurations to other packages you may have made.10:37
=== dingir_ is now known as dingir
C0nundrumWould kernal logs store to reason behind a lockup ?10:47
Kiwisdmesg shjould10:48
C0nundrumWhat do the decimals represent ?10:49
tomreynwell if the kernel (not "kernal") locked up then dmesg wouldn't be useful.10:49
C0nundrumex  [ 4663.887296]10:50
ducasseC0nundrum: you can try checking the journal for the previous boot after reboot10:50
tomreynC0nundrum: seconds since boot, use -T for human readable timestamps10:52
tomreynjournalctl -b -1     for log from previous boot, but there, too, if the kernel locked up anything after the even and the event itself was probably not logged.10:52
tomreynit's not clear what exactly locked up so far, though10:53
C0nundrumReally, thats odd that it jumped from 58.3 to 1376.910:53
C0nundrumIs that a lockup period or can logs really be that quiet for that long ?10:54
tomreynif you're referring to dmesg, the latter.10:54
ducassethey can be that quiet, yes10:55
Kiwistomreyn that depends on what happened upfront10:55
tomreynC0nundrum: dmesg is just the kernel. if there are no special events, nothing is logged.10:55
tomreynKiwis: earlier events would likely still be logged, yes.10:56
Kiwistomreyn which can be very useful10:57
C0nundrumOK so what should i be looking for to determine what might have casued the lockup in the journalctl logs ?10:57
C0nundrumbefore they stop just looks like normal service stuff happening10:58
tomreynC0nundrum: how long had it been running (journalctl --list-boots)? does     journalctl -b -1 -p3    list anything you wouldn't expect?11:00
tomreyndo you suspend + resume?11:00
C0nundrumrecently, no. Only on a seperate computer that is used for cifs11:01
C0nundrumkernal logs stop after  Feb  7 14:22:58 amd-server kernel: [ 4663.887296] CIFS VFS: Free previous auth_key.response11:02
C0nundrumjournalctl logs end  14:29:2611:03
C0nundrumso guess around the time it crahed mostl jhust cloudstack logs11:04
tomreynwhich hardware is it, how do you use it?11:04
tomreynah apache cloudstack, so it's a virtualization host?11:05
C0nundrumIt was going to be but not just that at all right now. Just ubuntu 18.04 install with docker run couple services ( repository, some dbs) with some cifs mounts on the host11:06
C0nundrumWondering if its a bad memeory slot or a badly seated gpu11:06
tomreyndid you test the hardware before setting it up?11:07
C0nundrumI ran a 24 hour meme test on the sticks with over 10 passes and had no errors so i know the sticks are good11:07
C0nundrumJust wondering if any of those issues would manifest themselfs in a log somewhere11:07
tomreynis this an epyc server then?11:07
C0nundrumna just a  AMD FX(tm)-8150 Eight-Core Processor repurposed as a small server11:08
tomreynoh. you'd see "mce" or "edac" records in case you have eec ram and error correction configured.11:08
tomreyn... and the relevant modules loaded11:09
C0nundrumwhich i'm guessing isn't on by default ?11:09
tomreyn* ECC RAM11:09
C0nundrumo is that a mb feature ?11:10
tomreynDIMM, mainboard, firmware, OS11:10
tomreynwhich is why i was asking about your hardware ;)11:11
tomreynAMD FX is a desktop CPU, though, so probably no ECC RAM11:11
ducassetomreyn: amd cpus from am2 onwards support ecc11:14
C0nundrumyea Dual Channel Non-ECC Unbuffered DDR3, 2 DIMMs11:15
ryuoducasse: even so, you still need a board that supports it as well. that's also somewhat rare.11:15
tomreynducasse: all of them, incl. desktop? i was thinking this was newly introduced wiuth zen.11:15
ryuotomreyn: i have a server with ECC RAM that's an AMD turion.11:15
ryuoso yea they exist11:15
ryuoslow but it has ECC11:16
C0nundrumwill ubuntu boot with a video card ( i do have a gui installed )?11:16
C0nundrumwithout a video card or unboard graphics / apu11:16
ryuoC0nundrum: yes, but usually you have serial console for these systems.11:17
C0nundrumI ask because i couldn't connect to ssh once i took out my video card11:17
tomreynryuo: i see, good to know.11:17
ryuotomreyn: pretty much the only systems like this that i know of are the HP/HPE microservers11:18
ryuothis is a microserver G7, ancient11:18
tomreynoh those had OOB as well11:19
tomreyniLO11:19
ryuonot the microservers11:19
ryuono iLO here11:19
tomreynok11:19
C0nundrumBut ssh should still work right ?11:21
ryuoif it doesn't come up then it means the system didn't boot completely11:21
C0nundrumSo why would not having a video card cause that ?11:22
ryuoassuming of course that its network configuration is any good11:22
ryuomaybe the board doesn't POST without one.11:22
plundraryuo: The Gen8 had full on iLO4. Excellent machines, cheap and can be managed like a real server. Sad they went away with it in the updated Gen10, so back to Like G7 etc.11:23
ryuoplundra: i see. i've only had a gen8 ml10 v211:23
ryuoit has iLO4.11:23
plundraDownside with Microserver Gen8 is the artificial limit of ram to 16GB, afaik :-/11:23
C0nundrumIs there a standard feature name for booting without graphics ?11:23
C0nundrumis that a rare feature11:24
plundraThey were sold for like $200 in Sweden. Extremely good price for what it was.11:24
ryuoC0nundrum: headless?11:24
C0nundrumit is rare in consumer motherboards ?11:24
C0nundrumis it*11:24
ryuono idea. they may not boot if there's no video card but you don't necessarily need one connected.11:24
plundraTo be able to boot without what? A graphics card?11:24
C0nundrumyea to be able to booth without one11:25
plundraPretty sure some sort of graphics is required for a regular PC, as in. But you are of course free to not use it.11:25
ryuomost x86 servers have at least a basic GPU.11:25
ryuoan onboard 2D one used for KVM11:25
plundraYeah I don't think BIOS can function without graphics. Maybe possible with UEFI but most things tend to be able to boot in legacy mode.11:25
plundraAs in, some sort of chip looking like or behaving like graphics. No matter if you use it or not.11:26
C0nundrumhm that sucks. so a bad pci slot just burns the whole system.11:26
plundraBut are you talking Consumer motherboard, with no graphics card or ports + cpu with graphics, no, won't work.11:27
C0nundrumconsumer board , board has no graphics, cpu has no graphics, and no gpu11:27
PeGaSuSI have/had a laptop where the Nvidia graphics card blew up. I've managed to boot into Xubuntu using nomodset11:27
PeGaSuSnow, it just blew up the CPU due to a energy power peak -_-11:28
PeGaSuSalthough my laptop was a Acer Aspire and *probably* had some sort of built-in graphics card? no idea, tbh11:29
plundraMost certanly if it was sold the last, what, 10+ years?11:30
PeGaSuS+/-11:30
PeGaSuSit was a good laptop nonetheless. at least I could save the HDD and put it into another laptop ^^11:31
CraigSuddohi, any idea why my hash key on my keyboard won't work please?11:32
CraigSuddoim on uk11:32
PeGaSuSCraigSuddo: probably the keyboard layout isn't set properly?11:38
PeGaSuSdid you tried to do: sudo dpkg-reconfigure keyboard-configuration?11:38
CraigSuddojust tried it PeGaSuS11:40
PeGaSuSdid you logged out and logged in again? usually you have to do so in order to your shell to use the new configuration, CraigSuddo11:41
CraigSuddoah ok11:41
CraigSuddoi'll try now11:41
CraigSuddothanks11:41
C0nundrumAlso another random question11:48
ryuoRandom answer!11:48
* PeGaSuS grins11:48
C0nundrumTried running windows host in kvm but the mouse isn't ligned up correctly and mouse acceleration is crazy screwwy. Couldn't even get though the install promts11:48
C0nundrumwhat causes that  ? ( i did make this attempt though vnc )11:49
ryuothe client side mouse isn't synchronized with the server side mouse.11:50
ryuoit's normal.11:50
C0nundrumIs there a solution ?11:50
ryuoa good vnc client would probably hide the mouse cursor on your end11:51
C0nundrumit's more like the server side mouse isn't synchronized with the host mouse11:51
C0nundrumsorry11:51
C0nundrumservice side mouse isn't synchronized with the vm instance mouse11:51
C0nundrumnot sure if that's due to the mouse input on the host going though vnc ?11:52
C0nundrumrunning xfce as a frontend11:54
C0nundrumugh12:08
C0nundrumvirt manager doesn't seem to be fully compatible with ubuntu 18.0412:09
C0nundrumstill tries to use ifup12:09
C0nundrumo i can just add the package12:11
tomreynvirt-manager is Section: universe/admin12:11
C0nundrumneat broke network.  Guess i have to fetch a real monitor now x.x12:13
DarkchaosCan I somehow override the gcc package pbuilder uses, so that it uses the gcc from debian and not from ubuntu?12:18
lotuspsychje!frankenubuntu | Darkchaos12:19
ubottuDarkchaos: it is usually a very bad idea to mix packages from different releases (or Linux distributions), and it is completely unsupported12:19
DarkchaosWell not to my living distribution, but into the virtual build environment from pbuilder. I want to find out if the patches ubuntu makes to gcc are the source of the problem12:19
DarkchaosI tracked it so far that both were using the same gcc version, but ubuntu had -ubuntu112:20
__MilenchoElectroStrong, thanks for the help yesterday, i've reinstalled the ubuntu (deleted OS windows) and that's it ;]12:20
lotuspsychjeDarkchaos: the source of the problem, as you want to help contribute to ubuntu?12:21
Darkchaoslotuspsychje: Exactly, I am seeing that the package is "broken" only on ubuntu and I now finally tracked it down to even using the "same" gcc version. Something has to be different in the environments12:22
C0nundrumsigh12:23
lotuspsychje!contribute | Darkchaos12:23
ubottuDarkchaos: To contribute and help out with Ubuntu, see http://community.ubuntu.com and https://wiki.ubuntu.com/ContributeToUbuntu12:23
C0nundrum...so tried to create a network interface with virt manager and it broke local interface. logging into xfce worked fine with vnc but since the network is down, i';m trying to login from the pc itself12:23
C0nundrumAt the login screen when i enter my password the screen just flashes and then the password field is cleared12:24
C0nundrumI know the password it correct because if i enter the wrong one, i get a password incorrect promt12:24
C0nundrumWhat do you think could be the issue ?12:24
BluesKajHowdy all12:25
tomreynC0nundrum: sounds like some kind of a bug, or bad configuration. is the system full yupdated? is this xubuntu desktop?12:27
tomreyncan you inspect the logs?12:28
vionWhere is the power option to have the system power off when not in use?13:20
ioriavion, you mean 'sleep mode' ?13:21
vionsure sleep or power off which ever13:22
ioriavion, you need to press 'alt'13:22
vionno I mean unassisted13:22
vionpower off when idle13:22
lotuspsychjehibernate?13:23
ducassevion: you can use xidle13:24
vionthat would work too13:24
vionI'm running gnome right now is not there an option already?13:24
tomreynIdleAction / IdleActionSec, see logind.conf(5)13:25
ioriavion, it's not clear to me what you really need exactly13:26
tomreyn"Note that this requires that user sessions correctly report the idle status to the system."  i do not know whether this is the case, but assume it can be.13:26
vionoh nice and that would work with command line too?13:27
tomreyni have no first hand experience. any shell would run within a user session, though.13:28
vionidleaction=poweroff idleactiohnsec=90min13:29
vionidleaction=poweroff idleactionsec=90min13:29
vionthat should work I hope13:29
ioriavion, consider that 'idle' is very ambiguous; input devices might be idle, but the system might not13:30
vionare you trying to say this is waiting for logins?13:32
iorianvm13:32
littlekimmyhi13:32
littlekimmymy mouse keys mouse is moving too slowly13:32
vioniroria: I should configure this through the UI you are right13:32
lotuspsychjelittlekimmy: mouse keys mouse?13:33
littlekimmymouse keys13:33
littlekimmythe mmouse pointer is moving too slowly using keys13:33
littlekimmyubuntu 19.1013:34
lotuspsychjelittlekimmy: there are a few tweaks on mousekeys in dconf-editor if you like13:35
vionlittlekimmy: oh you got one of those little nubs attached to the keyboard. Are there any key combos to change the sensitivity?13:39
littlekimmyvion: in settings- that's what I am looking for13:40
littlekimmydconf what?13:44
lotuspsychjelittlekimmy: sudo apt install dconf-tools13:45
lotuspsychjelittlekimmy: then you can run dconf-editor13:45
littlekimmywhere is the mouse keys settings sensitivity adjust13:47
lotuspsychjelittlekimmy: dconf-editor has a nice search function13:48
littlekimmyi did13:48
cgiwhat is the best java to use on 18.04? do most people use openjdk?13:48
lotuspsychje!discuss | cgi13:50
ubottucgi: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!13:50
littlekimmycan i run  a script as root without using sudo on startup13:55
littlekimmy~/.bashrc is non-root and user, i need systemwide13:55
vionlittlekimmy: you can use cron or drop a script into the autorun directory which I forget where is at13:57
vionlittlekimmy: the .bash_profile and .bash_logout can run scripts on logon/logout too13:58
littlekimmy.bash_profile is fine, but it's not root14:01
littlekimmyI don't use cron. more a general method. say /etc/profile14:02
littlekimmybut i need it to be root14:02
littlekimmybut how do i get root without writing the password14:02
littlekimmyas it can't be in plaintext14:02
vionlittlekimmy: add commands to /etc/rc.d/rc.local14:09
littlekimmyubuntu has rc?14:09
vionnvm old info14:09
vionlittlekimmy: try this https://smallbusiness.chron.com/run-command-startup-linux-27796.html14:10
littlekimmyit seems ubuntu still has /etc/init.d and /etc/rc0.d14:12
littlekimmywhat is /etc/init/whoopsie.conf doesn't seem systemd14:18
vionlittlekimmy: error reporting service notifies you about crashes14:25
vionWith the ubuntu livecd environment how can I mount a systems drive that is entirely ZFS14:41
vionsaid system is another ubuntu install14:41
pragmaticenigmavion, I'm not sure you can14:44
vionwhat is it the default to use encryption?14:45
kyle__vion you just need the zfs tools IIRC.  modprobe the driver, make sure you have the tools.  You can apt-get install from the live cd.14:46
kyle__As far as encryption goes, for most filesystems it's luks.  No idea if linux based zfs uses that or not.14:47
vionkyle: zfsutils-linux ah okay so we use openzfs, the installer should really include that information since there are so many versions of it14:49
kyle__vion: livecd environment doesn't include everything.  They have constraints.  Hell, it doesn't even include firmware for some (fairly common) 10G network adapters.14:50
vionkyle__: No I mean like when you click the option to use zfs it doesn't say its openzfs so I've been punching in bsd, solaris, and older commands14:51
kyle__vion: Oh.  I wasn't aware there were any production ready-ish versions of zfs OTHER Than openzfs for linux14:54
vionkyle__: isn't zfs the usual way to setup raid? I thought it had been in full use for many years14:56
kyle__No.  Not for linux.  For software based raid, it's been mdadm for over a decade.14:56
kyle__If you use zfs or btrfs, you (generally) use their internal systems instead of mdadm, but in general, for software raid on linux, you use mdadm.14:57
ducasseor lvm14:58
kyle__ducasse: the only raid-like feature built into lvm is lvm-mirroring.  Which is kindof a PITA.14:59
ducassei know, but people still use it14:59
* kyle__ shudders14:59
kyle__I've used it, but I really didn't like it.14:59
vionkyle__: this is a green sauce kind of thing isn't it15:00
kyle__LVM mirroring that is.  LVM itself is pretty great.15:00
willdorreport from #ubuntu-packaging15:01
willdorHI all i found something that should be fix gespeaker package. it  need to have installed python-dbus to work but python-dbus is not a dependency of  gespeaker.15:01
willdorwhere would be best to report this?15:01
ducasse!bug | willdor15:02
ducasse!bugs | willdor15:02
ubottuwilldor: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.15:02
ubottuwilldor: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.15:02
willdorthx15:02
vionwilldor: Way to go dodging installing that package for so long, regular Neo up in here.15:03
willdordodging installing?15:04
vionwilldor: its a rather common dependency, an easily missed oversight15:04
willdora little off topic i am look for placement  do you know if canonical or anyone that work in open source commity has any opening that would work for that?15:08
ducassewilldor: try finding an appropriate channel with !alis or ask in #ubuntu-offtopic15:11
willdorthx15:12
togois there a gui tool to look at system info?15:33
jeremy31togo hardinfo15:35
togojeremy31, thanks, ill give i a wirl...15:36
togoanybody around doing any AI deep learning experimentation?15:39
littlekimmyhttps://en.wikipedia.org/wiki/Mouse_keys what is that equation action_delta*.. = what?16:06
togohttps://www.devprojournal.com/technology-trends/ai/need-a-linux-distro-for-deep-learning-applications-try-ubuntu/16:07
littlekimmytogo: hi16:07
littlekimmydid you make vinegar ?16:07
pragmaticenigmalittlekimmy, Please stay on topic. If you have a specific Ubuntu support question, please ask it. For chat and general discussion, please visit us in the #ubuntu-offtopic channel16:08
pragmaticenigmatogo, you as well. Please use #ubuntu-offtopic for non-ubuntu support related topics16:09
InteloHi16:20
InteloHow to install mkcert on ubuntu16:20
pragmaticenigmaIntelo, I'm not aware of any packages called mkcert16:22
littlekimmyaction_delta is in ubuntu mouse keys16:32
VegetarianFalconHi16:36
VegetarianFalconI installed Zawgyi font accidentally16:36
VegetarianFalconThen the keyboard is disagreeing with Unicode font16:36
VegetarianFalconHow can I uninstall the Zawgyi keyboard?16:36
pragmaticenigmaHow did you install Zawgyi font? VegetarianFalcon16:37
VegetarianFalconpragmaticenigma: http://naingyeminn.com/posts/burmese-keyboard-for-ubuntu-1404/16:39
VegetarianFalcon$ wget https://github.com/naingyeminn/mm-kb/archive/master.zip -O mm-kb.zip $ unzip mm-kb.zip $ cd mm-kb-master/ $ sudo make install $ ibus-daemon -rdx $ im-config -n ibus $ gsettings set org.freedesktop.ibus.panel show 016:40
VegetarianFalconOoh. Sorry16:40
CDiggerHi all! After upgrading kernel to 5.3.0-28 my old notebook Aspire 6930 doesn't hybernate normally.I don't  any idea how to resolve it. Where i should start?16:40
pragmaticenigmaVegetarianFalcon, Are you running ubuntu 14.04?16:44
FingerlessGlovesCDigger, I used to have that laptop16:44
pragmaticenigmaCDigger, the most frequently offered solution is to not use Suspend-to-Disk or Suspend-to-RAM16:45
VegetarianFalconpragmaticenigma:  Ubuntu 18.04.3 LTS16:46
ioriaVegetarianFalcon, if you installed with 'mae install' you should remove with 'make uninstall' ;  cd mm-kb-master  and   sudo make uninstall16:47
ioria*make16:47
pragmaticenigmaVegetarianFalcon, So why are you following instructions for a much older version of Ubuntu? (Unfortunately, i don't understand the language used on the page in the link provided.) If you installed the font using apt, then it should be as simple as using the same command with "remove" instead of "install"16:47
VegetarianFalconioria: Idk where to find the package of installation16:49
CDiggerpragmaticenigma but why? On 5.0.0-37 Suspend-to-disk worked good for me.16:49
=== cyp3d_ is now known as cyp3d
ioriaVegetarianFalcon, sudo updatedb && locate mm-kb-master16:50
CDiggerand now, when i boot in 5.0.0-37 kernel still working16:51
VegetarianFalconioria: what should I do next?16:52
ioriaVegetarianFalcon,  cd mm-kb-master  and   sudo make uninstall16:53
pragmaticenigmaCDigger, For starters, if you are using a solid state drive, you are significantly shortening the life of the drive with Suspend-to-Disk16:53
VegetarianFalconioria: it says "no such file or directory"16:53
VegetarianFalconI deleted the local files16:54
HelenahHi16:54
VegetarianFalconFrom home16:54
pragmaticenigmaCDigger, beyond that, the features have always been hit or miss in Linux. There are lots of different hacks to make it work, but there is no reliability. Which is why many suggest not using it16:54
ioriaVegetarianFalcon, you're are in the wrong directory16:54
HelenahI have put Ubuntu Server on my Raspberry Pi, I did touch /boot/ssh so that the Ubuntu Server on the Pi sets up SSH. I also set the IP address in netplan.16:54
HelenahHowever when I try to log into the pi via SSH, I get connection closed16:55
HelenahI don't even know the default credentials for Ubuntu Server for the pi.16:55
vionHelenah: you following some sort of guide? I recently got a Pi myself was thinking about setting up16:55
Helenahvion: No16:56
HelenahBut I Googled around16:56
ioriaVegetarianFalcon, if you deleted the local file, just curl it again16:56
VegetarianFalconioria: you mean to install it again?16:57
ioriaVegetarianFalcon, nope16:57
vionHelenah: I have never heard of anyone doing touch /boot/ssh why not apt install openssh16:57
VegetarianFalconioria: what does "curl" mean?16:57
pragmaticenigmaHelenah, did you remember check to make sure the firewall settings?16:57
littlekimmychown root:u file ; works16:57
littlekimmywhy16:57
Helenahvion: How can I do that when I an not configuring Ubuntu Server via the Pi but via the file system by mounting?16:58
pragmaticenigmaVegetarianFalcon, curl is a different tool similar to wget16:58
littlekimmyclearly root is user and u is group16:58
HelenahI intended to use the Pi as a server so I didn't buy the small HDMI adaptor that the Pi 4 needs.16:58
littlekimmybut u:root too works16:58
vionHelenah: load it up in virtualbox and create a new image maybe16:58
littlekimmyso root cannot be a group that has u16:58
ioriaVegetarianFalcon, curl, wget, whatever you used to download the zip pkg16:58
vionHelenah: probably an easier way, I'm not sure of the method. I would just plug right into the Pi to dump the files on16:58
pragmaticenigmalittlekimmy, without any context, it's really hard to know what you are asking and what you need help with16:59
HelenahI just want to know what the issue is, I'll go into the file system and sort it myself. Do I need to set a password for the user?16:59
pragmaticenigmaHelenah, We only know what you have told us. Far as I know, no one here is telepathic and can see what you see, or even talk to your machine directly17:00
vionHelenah: is it an already setup image? Who provided you with it17:00
HelenahI downloaded from the Ubuntu website.17:00
Helenahpreinstall17:00
pragmaticenigmaHelenah, It helps to know several things, What version, where did you obtain it from, how did you flash it, what you have actually done so far to setup SSH17:00
vionHelenah: okay for Pi specifically? Or is it just ARM image of ubuntu server?17:00
CDiggerpragmaticenigma so i thnk i need some hacks...17:00
pragmaticenigmavion, https://ubuntu.com/download/raspberry-pi17:00
vionthanks I will test this out right now17:01
Helenahpragmaticenigma: I followed this https://ubuntu.com/download/raspberry-pi17:01
CDigger@prag17:01
Helenahflashed to the SD card the way recommended17:01
HelenahI used Ubuntu 19.10 64 bit17:01
HelenahI did touch /boot/ssh to initialise SSH17:01
HelenahBecause someone else here the other day told me to do that17:02
pragmaticenigmawhere did you find instructions?17:02
pragmaticenigmaoh... that explains it... Helenah the "touch /boot/ssh" is for raspian, not Ubuntu17:02
HelenahOkay17:02
pragmaticenigmaHelenah, I'm not familiar with the RPi image, but if it is similar to any other Ubuntu image... you need to install the openssh package17:03
pragmaticenigmathat will then get your ssh server up and running17:03
VegetarianFalconioria: some of it has gone. But some are still running17:03
HelenahOpenSSH is installed, I thought the error I got made that clear?17:03
HelenahIt closes the connection17:03
HelenahI'm going to mount the file system and investigate further.17:03
HelenahThank you for your time17:04
vionHelenah: nah if you had banner grabbed you would see that it is running17:04
HelenahI was dreading having to emulate the Raspberry Pi17:04
HelenahDoes anyone have a guide on how to do this in qemu?17:04
pragmaticenigmaHelenah, if openssh was installed... you wouldn't get an immediate closed connection17:05
vionHelenah: do you have experience with qemu? Why not just plug into the Pi17:05
Helenahvion: Just not qemu-system-art17:05
Helenaher... arm17:05
VegetarianFalconI also did this.17:05
VegetarianFalconhttps://ask.ubuntu-mm.net/59/how-to-install-myanmar-font-unicode-in-ubuntu17:05
VegetarianFalconBefore I installed the font switcher17:06
VegetarianFalconI want to uninstall it too17:06
Helenahvion, pragmaticenigma, Does Ubuntu spawn a getty over UART?17:06
HelenahI can access that way17:07
vionHelenah: ok so I'm guessing you stuck the Pi in some huge contraption and don't have physical access it. Have you considered an extension cable for one of its ports so you can interface with it?17:09
ioriaVegetarianFalcon, if you used a ppa, first remove those packages, then remove the ppa17:09
Helenahvion: The things I got access to are Ethernet and UART, I have a USB to UART cable.17:10
HelenahBut I need to know if a getty is spawned by default on the serial port17:11
VegetarianFalconioria: how can I find ppa?17:11
ioriaVegetarianFalcon, ls /etc/apt/spources.list.d17:11
ioriaVegetarianFalcon, ls /etc/apt/sources.list.d17:11
ioriaVegetarianFalcon, or grep -r -i ppa /etc/apt/17:12
vionHelenah: the Pi comes with a fart port... ok. I doubt its spawneed by default because that would be a security liability and I think Ubuntu lost a challenge in the past for a similar physical access compromise17:12
pragmaticenigmaIt's also why I don't think Ubuntu enables or installs an SSH server by default17:13
Helenahvion: The compromise is good, can't people not secure their own systems up or something?17:13
ioriaVegetarianFalcon, but first you need to remove the pacages installe from it17:13
pragmaticenigmaHelenah, Ubuntu philosophy is to start with a locked down system, and let users who know what they're doing open it up17:14
vionHelenah: I am aware you are running a different version of ubuntu, but it also says its the server edition17:14
HelenahI'm going to open it up then. Thanks guys.17:14
Helenahvion: That is what I want17:14
VegetarianFalconvion: I installed it from terminal. And Idk where to find the package17:15
pragmaticenigmaHelenah, I don't believe the server edition enables SSH by default... again, I suspect most of this would have been resolved by installing the openssh package17:15
ioriaVegetarianFalcon, here maybe ? https://launchpad.net/~ubuntu-mm/+archive/ubuntu/ppa17:15
vionVegetarianFalcon: I am the font guy yes. I make you loot gorgeous, yes?17:16
VegetarianFalconvion: sorry. What do you mean?17:17
ioriaVegetarianFalcon, or better install ppa-purge and directly remove all of them17:17
VegetarianFalconioria: can you tell me the command?17:18
ioria!ppa-purge | VegetarianFalcon17:18
ubottuVegetarianFalcon: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html17:18
vionVegetarianFalcon: What language is that? It looks like pokemon.17:19
HelenahI've only ever done this in sysvinit, but how do I enable a getty on the UART interface?17:21
pragmaticenigmaHelenah, perhaps someone in the #ubuntu-server channel can help you with that17:22
VegetarianFalconubottu:  it doesn't work for me17:25
ubottuVegetarianFalcon: I am only a bot, please don't think I'm intelligent :)17:25
VegetarianFalconOh17:26
ioriaVegetarianFalcon, what it does not work ?18:00
VegetarianFalconioria: it worked now18:01
VegetarianFalconIt needed to install ppa purger first18:01
ioriaok18:01
VegetarianFalconThanks18:01
ioriayes18:01
littlekimmyubuntu 19.10 is not LTS , I don't like that18:29
lotuspsychjelittlekimmy: only support questions in here please18:29
littlekimmyif I ran grep / file , how do I see that file in the logs18:37
littlekimmythat cmd18:37
pragmaticenigmalittlekimmy, what logs are you referring to18:38
littlekimmythe cmd logs18:39
littlekimmythe random terminal cmd18:39
littlekimmythose logs18:39
pragmaticenigmayou mean bash history found in .bash_history ... which keeps track of the last few hundred commands you've executed?18:39
littlekimmysay I do echo 'something' | festival --tts18:39
littlekimmyyes that too18:39
littlekimmybut those terminal cmds are getting loggged elsewehre too ?18:40
littlekimmysuch as when I grep is it logged elsewhere too apart from bash history18:40
pragmaticenigmalittlekimmy, nope, the programs you execute are not logged anywhere. A program may create it's own logs, but that would be dependent on the program you're executing18:41
littlekimmyso does grep , qemu log?18:42
littlekimmyand how do I know if my program stores logs18:42
littlekimmythey are still logged by bash in history18:43
littlekimmyisn't history too a type of log18:43
pragmaticenigmano... a log provides information about what is happening... bash_history is just a list18:43
littlekimmyI use some cmds, like qemu, I want to be sure no one upon forensics can know what I do18:44
pragmaticenigmato find out if a program does any logging you read the documentation about that program18:44
littlekimmyI read man bash, it says it doesn't log18:45
littlekimmybut it does record what is happening18:45
VegetarianFalconI am resetting  Ubuntu into factory version with Resetter18:45
VegetarianFalconThe laptop seems frozen18:46
VegetarianFalconIn the middle of process18:46
=== seopaert is now known as littlekimmy2
pragmaticenigmaVegetarianFalcon, There is no such there as a factory reset... I have never heard of resetter and will assume that is not a package provided through official Ubuntu software repos18:46
VegetarianFalcon:(18:46
littlekimmy2in what way does apt record my activity where is that ? and how can I disable it18:48
littlekimmy2not just logs but any information that is recorded18:48
pragmaticenigmalittlekimmy2, there isn't a way that you can do that with Ubuntu. Apt relies on it's logs to know what it has done and how to undo the things it has done18:50
tomreynuse full disk encryption, don't share your credentials, don't enable others to access your system locally or remotely. that's the only way you reliably prevent others from reviewing what you did.18:50
Darkchaossarnold: btw I narrowed down the environment differences to 755 LOC of diff :D18:51
tomreynand maybe reconsider your approach to it. if you're supposed to comply with some company policies then your choice is basically (a) comply, (b) challenge them, and if this fails, find another employer.18:51
tomreynlittlekimmy2: ^18:52
paddyezhi there19:00
paddyezwhere do I find memsest_s memmove_s in eoan? I included string.h #define __STDC_WANT_LIB_EXT1__ 1 before but it does not seem to be in the lib?!19:01
pragmaticenigmapaddyez, You might want to ask that question in the #ubuntu-app-devel channel ... this channel is more suited for desktop support19:08
paddyezpragmaticenigma: thanx19:09
TheSonOfPeterhello, does anyone have experience with using multimon-ng? I am trying to use it to read DTMF radio signals and decode them. I've installed the program successfully and it will run in my terminal, but when i use my phone and provide it with some DTMF tones (dial pad) it seems as though multimon-ng does not hear it via the internal mic of my laptop. I've verified my mic is working and I know the19:13
TheSonOfPeterprogram works because I've used Audacity to create a DTMF tone recording saved file and sent it to multimon-ng where it successfuly worked but I'm having trouble using the mic for real time decoding. Any help would be greatly appreciated. Here is the git hub link to multimon-ng https://github.com/EliasOenal/multimon-ng/19:13
pragmaticenigmaTheSonOfPeter, that seems like a really specific problem that I would be reaching out to forums or channels that are focused on that program19:15
Darkchaossarnold: Looks like the problem stems from using a newer binutils (2.32-7ubuntu4 over 2.31.1-16), but it starts to become increasingly difficult19:15
TheSonOfPeterexit19:40
AurorAWOLI have been fighting and searching for days on this. I recently installed Windows 10 and have another computer on my network running Ubuntu Server 18.04. Under the windows machine my server is not visible on my network tab. I have set the workgroup name on bothe machines19:42
pragmaticenigmaAurorAWOL, it's easier and more reliable to access the Ubuntu system with its IP address19:42
pragmaticenigmaAurorAWOL, If you want a friendlier name ... add an entry to your windows hosts file19:43
AurorAWOLThanks for the input pragmaticenigma19:44
rfmAurorAWOL, alco W10 recognized mDNS, so running avahi (you may already be) will allow you to use "host.local"19:44
AurorAWOLAh... Thanks rfm19:45
nCoV_frenHi frens20:06
UndefinedIsNotAFHi20:45
UndefinedIsNotAFI have a problem with an Ubuntu 14.0420:47
UndefinedIsNotAFApt say i cannot install new package because 404 Error, why?20:47
ioriayou know is eol20:48
ducasse!14.0420:48
ubottuUbuntu 14.04 LTS (Trusty Tahr) was the 20th release of Ubuntu. !End-of-life was April 25th, 2019. Paid support (ESM) is available. See also !esm, !eol, !eolupgrade20:48
UndefinedIsNotAFioria: what is eol?20:48
ioriaread above20:48
jeremy31end of life, now unsupported20:49
nvzI wondered if someone using a recent ubuntu 18 or 19 could tell me if the wl driver is included by default without using the broadcom-sta-dkms20:55
nvzi.e. if you can run "sudo modinfo wl" on your system20:55
ducasseit's not, on either of them20:56
nvzdidn't think so, thanks for checking20:56
kyle__There are lots of drivers in the form of wl[0-9]+.ko20:56
kyle__SO maybe you need a more specific name?  Dunno20:56
nvzBroadcom BCM4360 (PCI IDs 14e4:43a0, 14e4:4360)20:57
nvzis the device I was seeking to see if it was supported by default.. in debian its profivided by the wl driver via broadcom-sta-dkms20:58
kyle__broadcom-sta-common broadcom-sta-dkms broadcom-sta-source20:59
kyle__Those _all_ show up on my 18.04 box when I apt-cache search broadcom-sta20:59
kyle__:)20:59
nvzyeah well, those would show up on any debian type system.. doesn't mean they're installed and the driver is built :P21:00
nvzthat just means they're available for install :P21:00
kyle__Well yeah.  You wouldn't want all that crap installed unless you needed it.21:00
nvzwell according to this user, their wifi is working in ubuntu without additional steps so idk21:01
nvzits a damn macbook air.. has no ethernet, so it relies solely on that broadcom wifi21:01
rublindwhich channel should I go to ask questions about replacing a failing harddrive?21:02
nvzrublind: what do you need to know exactly?21:03
convergeIs wmii still maintained? Some other best alternative nowadays?21:03
rublindnvz: I set up a raid years ago, and one of the drives failed. the raid is now inactive, but whenever I try to boot, it drops me into an emergency shell. I'm pretty positive that the drive is failed, but I don't know how to replace it such that it actually boots...21:04
nvzconverge: https://github.com/0intro/wmii  seems its been updated within the last 6mo there.. but it has been removed from testing in Debian https://tracker.debian.org/pkg/wmii21:06
nvzconverge: there is i3 for example, is a tabbed wm21:06
convergeI3 sounds like a better option, thanks21:06
nvzrublind: you can't just disable a raid and use drives individually..21:07
rublindnvz: sure, but I should be able to mark a drive as failed and then replace it. but when I try doing this with mdadm, it fails (don't have the error on me)21:07
nvzidk, but sounds to me that if you're using ubuntu that this is the place to ask because the issues you're having seem to be OS related, not hardware related21:08
ducasseconverge: i3 is sort of the successor to wmii21:08
rublindnvz: but it's more that the system will not start normally because it's waiting for some drive to be available. so even if I put in a _new_ drive, I don't know how to tell it to forget about that old one21:08
nvzrublind: idk you're being rather vague in your descriptions.. if you are using a real raid, the OS doesn't see individual disks, if youre NOT using a raid, then it is seeing them.. in either case the system likely references VOLUMES regardless if they're raid or not by UUID and any change to the fs, or creation of a new fs changes the UUID and the fstab and such must be updated accordingly as well as the21:11
nvzbootloader21:11
nvzrublind: in any case, you'd need to boot a rescue media and chroot in to begin to troubleshoot and fix this21:12
rublindI'm only being vague because I'm not in front of that computer right now, so  Idon't have exact details.21:12
rublindwhen I checked in dmesg, it was complaining about /dev/sdd - and when I checked the raid with `mdadm --detail --query /dev/md0` it showed as inactive with 2 spares (which is incorrect...). I do see the UUID referenced at times too.21:13
rublindmdadm doesn't show /dev/sdd but it does show /dev/sdc and /dev/sde21:13
rublindin any case, I've ordered a new drive. so this is all premature anyway. I'll pop back on once it arrives.21:17
KiwisHi Guys, how can I most easy fix a "kernel panic not syncing vfs unable to mount root fs on unknown-block(0 0)" with a liveCD ? I cannot boot into rescue mode21:31
Kiwischrooting doesn't work that easy as well21:32
tomreynKiwis: (1) got any idea what the cause for the kernel panic may be? (2) what changed between when it booted fine and stopped doing so, if you can tell? (3) what do you mean by "chrooting doesn't work that easy as well" (4) which ubuntu version is installed? (5) which live system are you trying to recover from? (6) which hardware is it, if you know?21:38
Kiwistomreyn my host crashed while the VM was running (and doing something)21:39
Kiwisnothing special it did actually21:39
Kiwis18.04 is installed21:39
KiwisVbox21:39
tomreynso this is an ubuntu 18.04 LTS VM running under an unknown version of VirtualBox under an unknown host OS?21:40
tomreyn^ (7)21:41
tomreyn(8) did you make changes to possibly relevant configurations between when it worked fine and stopped working?21:41
Kiwisoh vbox version doesn't matter much, why would it, last 6.x version... host does not matter atl all but you like to know too much... W1021:41
Kiwistomreyn nope, no specific config changes... I had it before a while ago, was able to fix that one tho21:42
crimson_kingsshd.service fails to start after changing port from default 22: fatal: Missing privilege separation directory /run/sshd21:43
tomreynKiwis: ok. please also answer questions (3) and (5).21:44
crimson_kingWhen trying to connect from a client I get: kex_exchange_identification: read: Connection reset by peer21:44
Kiwistomreyn when I chroot it cannot find some udev lib which is there when I want to run any usable command like apt-get or install-grub221:44
tomreynKiwis: that leaves us with (5)21:45
Kiwistomreyn oops sorry, Ubuntu WS21:45
Kiwisjust 18.0421:45
tomreynKiwis: please also describe which steps you took for chroot'ing21:45
tomreynand the output you receive there21:46
Kiwistomreyn https://askubuntu.com/a/48516/68122521:47
tomreynKiwis: and the error message when chrooting is?21:51
KiwisI need ot look it up but something like libudev.so.0 not found21:51
tomreynKiwis: okay, i suggest you chroot again to reproduce this error message. also, have you done a forced fsck on the root file system (while it is not mounted)? have you tried booting a different kernel version from the grub menu? if not, do it, if you did, what happened then?21:53
Kiwistomreyn yes I did a fsck, all fine... same happens for other kernel, also in rescue :(21:54
tomreynKiwis: so you *can* boot into rescue mode?21:55
Kiwistomreyn nope, where did I say that21:56
tomreynyou said "same happens also [in rescue]" but it's not clear what "same" is.21:56
KiwisI mean, can't boot into it :)21:59
tomreynKiwis: okay, feel free to ping me when you got the chroot error message after vhrooting as described at https://askubuntu.com/a/48516/68122522:00
Kiwistomreyn if /boot is in a seperate sdaX and the whole install is on LV so a mapper... what do to with /boot ? mount it after chroot to .boot ?22:02
Kiwis /boot22:02
tomreynKiwis: you don'T chroot to /boot, you chroot to where you mounted the root file system (and any other relevnt file systems below that).22:07
Kiwistomreyn but /boot is on a seperate sdaX, sure it's there when you chroot, I didn't see it earlier22:07
tomreynKiwis: if relevant file systems are wrapped in LVM you'll need to enable the LVM from the live system before chrooting, then mount file systems as needed, then chroot22:08
Kiwistomreyn but /boot is empty after I chroot22:09
Kiwisas it's ona seperate sdaX22:09
tomreynKiwis: well you need to mount it22:09
Kiwisafter I chrooted ?22:10
Kiwisor before22:10
tomreyni'd do it before but it should not matter for /boot22:10
Kiwisyes OK, fine again :)22:10
KiwisOK< chrooted, what would you do ? reinstall grub ?22:11
tomreynKiwis: i'd want to double-check all relevant file systems are mounted (fdisk -l, lvs), i'd compare blkid against /etc/fstab. i'd do a cursory review of /etc/lvm/lvm.conf, i'd run apt update && apt full-upgrade. given no warnings or errors are encountered, i'd  update-grub. once all of this seems to be fine, i' run update-grub and, given no warnings or errors are encountered, grub-install /dev/XXX22:15
tomreynKiwis: ...where XXX would be the disk you want / need grub on. or you can omit it if you're uefi booting.22:16
Kiwistomreyn I get: /usr/sbin/grub-probe: error while loading shared libraries: /lib/x86_64-linux-gnu/libudev.so.1: invalid ELF header22:16
tomreyni listed update-gub twice above, please ignore one of them.22:17
tomreynKiwis: is the recovery system the same OS architecture as the installed system? amd64 vs i386?22:17
Kiwistomreyn as far as I know yes... checking out again.. sec22:18
Kiwisyap, both 64 bits 18.04.322:18
tomreynfile /lib/x86_64-linux-gnu/libudev.so.122:18
tomreynsays what?22:19
Kiwissymbolic link to libudev.so.1.6.922:21
tomreynKiwis: disable windows defender, try again22:21
tomreynand yes, host OS matters22:21
Kiwissec22:21
tomreynwell this can be a problem on WSL, but then you'Re saying you're using virtualbox, not WSL22:23
tomreynso maybe it's a different problem22:23
lunorianYesterday  I talked about an issue where I was unable to setup a systemd service to automatic do screen resizing due to it not having access to adjust the current Xserver despite being root (root is supposed to not have any permission restrictions so this bothers me: I am administrator, program: lol I don't give a f*ck you don't have permission). Anyways I created a startup script with Ubuntu's built in startup 22:23
lunorian mostly solves the problem aside from a weird scaling before I login. I was curious if I'd be able to launch the display adjustment script on the login screen's session instead. It's a simple xrandr command. I'm using Ubuntu 18.04 LTS on the Thinkpad X1 Carbon 3rd Gen22:23
Kiwistomreyn doesn't change a thing22:24
tomreynKiwis: okay, re-enable defender and review its logs to see whether anything was quarantined recently. then head back to the VM, and report the output of      file /lib/x86_64-linux-gnu/libudev.so.1.6.922:26
Kiwisnothing in Q also, symlink is still there22:27
ksydHi! Can someone help me understand why my swap is still being used after setting vm.swappiness=5? https://termbin.com/w0zg22:27
tomreynKiwis: you ran a different command than i suggested, though22:28
Kiwis?22:28
tomreyni suspect you ran     file /lib/x86_64-linux-gnu/libudev.so.1      whereas i suggested running      file /lib/x86_64-linux-gnu/libudev.so.1.6.922:29
Kiwisoih sorry22:29
KiwisASCII tyext, with very long lines22:29
tomreynKiwis: apt list --installed libudev1 2>/dev/null22:30
Kiwisno output22:30
tomreynKiwis: dpkg -S /lib/x86_64-linux-gnu/libudev.so.1.6.922:31
Kiwisdpkg-query: error22:32
KiwisI think this install is just broken22:32
tomreynKiwis: "error" is the only output?22:32
Kiwisno some status near line 0, etc22:32
tomreynif you're still willing to try and fix this i'll need full output. but it's unusual that this package is not installe dbut the file is present and is in an unexpected format.22:33
Kiwistomreyn I start over, much easier, thanks tho!22:34
tomreynKiwis: do you have any idea what may have contributed to this situation, though? such as use of third party software, foreign packages or package versions, unpackaged software installations, manual changes to root owned files?22:35
lunorianIs there a way to run a script after the login screen has loaded?22:36
Kiwistomreyn wait!22:37
KiwisI think there was some fsck issue tho22:37
tomreynKiwis: you said you ran a forced fsck while the file system was not mounted earlier. did this not detect and report any errors then?22:38
Kiwistomreyn no but it did now (again) still kernel issue tho... checking further22:39
tomreynKiwis: if you ran e2fsck -f on the unmounted root file system earlier and it reported no corruption then but it did so now, while runnign it again in the same scenario, then something is wrong with the underlying block / storage devices, i.e. in or below windows.22:41
KiwisI'm not sure what is going on22:42
tomreynlunorian: try using ~/.xinitrc instead22:54
lunoriantomreyn: I specifically need to run code on the lockscreen. Before login. Where my home folder wouldn't be available.22:55
lunorianso right when ubuntu boots and starts up Xorg or whatever22:55
lunorianthe splash screen is very breif and UEFI overwrites part of it with the Lenovo logo anyways22:56
tomreynlunorian: this sounds like you want to modify gdm's options22:57
lunorianhow would I go about that?22:57
tomreynsee /etc/gdm3/custom.conf22:57
lunorianwhat would I add to it?22:58
tomreynor maybe it should be in /etc/gdm3/PreSession/Default22:59
tomreynor maybe you just want a custom /etc/X11/xorg.conf22:59
tomreynlunorian: what does your script do exactly?23:00
lunorianIt runs /usr/bin/xrandr --output eDP-1 --scale 0.66x0.66 to set the scaling factor to about 150%23:01
lunorianthis looks perfect on my thinkpad display23:01
tomreynlunorian: hmm gdm runs via wayland by default, though.23:02
lunorianyeah so, what are my options to set scaling in GDM23:03
tomreynlunorian: try experimenting with gsettings' "org.gnome.desktop.interface scaling-factor" setting23:08
lunoriandoes that take effect before the login screen loads?23:08
lunorianalso ubuntu's settings only offer 100% and 200%23:08
lunorianno in between23:09
lunorianat least not in 18.04 LTS23:09
oerheks19.10 gives fractional scaling per 25% .. but you know this from yesterday session.23:09
oerheks* with a tweak23:09
tomreyni think wayland does support fractional scaling as an experimental setting in 18.04.23:10
lunorianThe new Ubuntu distros always seem to have annoying bugs for the first year or two so I prefer to stay on LTs23:10
lunorianI won't be adopting 20.04 LTS until at least 202223:10
lunorianand I'll probably have a new laptop by then23:10
tomreynhttps://www.foell.org/justin/simple-hidpi-monitor-scaling-with-wayland-in-ubuntu-18-04/23:11
tomreyni assume this would also apply to gdm, but have not tested it.23:11
tomreynalternatively you ocould choose to edit /etc/gdm3/custom.conf setting WaylandEnable=0 anduse xorgs' scaling multiplies.23:12
tomreynlunorian: the proper answer would be that 18.04 LTS does not support fractional scaling, though.23:13
lunorianhope something gets backported to support it23:14
oerheksthat is what i find too23:14
lunorianit's not too big of a deal as long as the session itself is easily readable23:14
=== monkeystance__ is now known as monkeystance
oerhekshow about !HWE, does the newer kernel and drivers give you the 25% scaling feature?23:23
oerheks!hwe23:23
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack23:23
tomreynit wont upgrade gnome or glib so i guess not23:24
tomreynnor gdm23:25
lunorianJust checked23:28
lunorianfound out there were already installed23:28
lunorianI guess I'm just gonna have to deal with a broken lockscren23:28
lunorianmaybe 20.04 will be different23:28
lunorianguess I'll find out in a few years23:28
tomreynlogin screen != lock screen23:28

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