/srv/irclogs.ubuntu.com/2023/05/16/#xubuntu.txt

=== militantorc is now known as WilhelmII
=== WilhelmII is now known as militantorc
=== guiverc2 is now known as guiverc
xsisec_Hi Guys what is the difference from install cuda from https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local or  sudo apt install nvidia-cuda-toolkit nvidia-cuda-toolkit-gcc?14:57
xubuntu2dDid anyone noticed that slack system tray no longer works in xubuntu 23.04?17:02
xubuntu2dIs there a place i can start debugging this?17:02
sharkyhi folks, hoping someone can help. I upgraded from 22.10 to 23.04 and clicking "login" prompted a loop which blanks the screen briefly then pops the login screen back. sing recovery mode I've removed all autologin stuff from lightdm and commented out nopasswdlogin from /etc/group, which at least gives me a full password prompt, but when I enter my18:31
sharkycorrect password, it says it's incorrect. I've changed/confirmed it's correct using recovery mode, but it still doesn't work. Baffled, stumped, frustrated. Full thread here [https://askubuntu.com/questions/1467818/upgrade-to-xubuntu-23-04-cant-login-popup-loop-tty-login-info-doesnt-work]; any ideas really gratefully received. Thanks all.18:31
sharky*Using recovery mode.18:31
sharkyI've not yet tried the "drastic measures" approach answer here [https://askubuntu.com/a/84697/68396] but I'm not 100% convinced it would do much anyway. Maybe it would...18:34
diogenes_Vx15sharky, try to create a new user and login as a new user.18:34
sharkyooh ok, good idea18:34
sharkypresumably in recovery mode also?18:34
diogenes_Vx15try normal mode.18:35
sharkycan you do that in the normal login prompt?18:35
sharkyoptions at login are my username or "Other...". If I enter a new user "user2" and a password, it says "password incorrect" still18:36
diogenes_Vx15just hit Ctrl+Alt+f1/2/3... and there you do sudo adduser or sudo useradd18:36
diogenes_Vx15then you login there as a new user and run: startxfce418:37
sharkyat tty1/2/3 the first prompt is "Computername login: _"18:38
sharkyper the GUI issue, if I enter my existing user & pw, it says incorrect18:39
sharkyalso doesn't work for user=root18:39
sharkybut feasibly I can do this in recovery:18:40
sharkyuseradd username -m -s /bin/bash18:40
sharkypasswd username18:40
sharkyadduser username sudo18:40
sharky??18:40
sharky(thanks for the ideas btw)18:40
diogenes_Vx15the man page says thay it's recommended to use adduser.18:41
diogenes_Vx15that^18:41
sharkyhttps://askubuntu.com/questions/161074/i-accidentally-deleted-administrator-account-and-the-other-accounts-are-asking-r#161075 per this I'm getting "the user 'user2' does not exist", so I'll try useradd now18:44
sharkyok done, rebooting18:45
sharkypassword incorrect.18:45
sharkysomething's seriously screwy with the password manager it seems... looks like it works normally in recovery mode, "mount -o rw,remount /" seems to work fine, everything confirms it's working, user2 was added to home and then to sudo.18:46
sharkyis there any difference between tty1, 2, 3? I've never really known what the point of multiple tty's is. Anyway, original user & user2 passwords both don't work in tty nor login GUI18:47
diogenes_Vx15sharky, no difference but i think it woild be a good idea for you to backup your data.18:48
diogenes_Vx15eventually you might want to reinstall.18:49
diogenes_Vx15thay being said, i'm out, good luck.18:49
sharky65to remove my root password in recovery mode (set errantly), do I just follow this [https://askubuntu.com/a/84697/68396] i.e. nano -B /etc/shadow and delete the encrypted password between the first & second colons?18:57
sharky65I'm about to do this for my main and recently-created (likely not needed) second user, but just wondering if there will be any bad outcomes for doing it to the root account?18:58
sharky65Just removed passwords in shadow for main accounts, GUI login says "Failed to authenticate", password box greyed out, so that is having some effect.19:03
sharky65went back into recovery, set passwords for both users, save, exit, resume boot, login GUI, password incorrect. GAH.19:03
sharky65Anyone know if I can use an xubuntu 23.04 live USB to repair an install, is that a thing?19:06
sharky65possible progress, writing as much for myself as anything else: ages ago I tried to have my yubikey usable as a 1 touch login which never worked but evidently left deadly cruft in the system. Guide here [https://support.yubico.com/hc/en-us/articles/360016649099-Ubuntu-Linux-Login-Guide-U2F]. Have removed "auth       required   pam_u2f.so"19:17
sharky65from /etc/pam.d/sudo and it no longer says password incorrect, I've plugged in the yubikey, enter the password, tap the yubikey, and it does the screen blank loop. So. Progress, somewhat.19:17
sharky65ok, amazing, I can now login to tty but not to GUI still, it does the blank loop. So conceptually this is/was yubikey interfering with password PLUS possibly a display issue.19:30
sharky65following this [https://askubuntu.com/questions/1465176/login-screen-does-not-appear-after-upgrade-to-23-04] I already have nvidia and xserver-xorg-video-nouveau AND video-nvidia-470 installed so ostensibly no need to remove the nvidia drivers just yet, maybe just need to select the noubveau drivers while in tty...19:37
sharky65which is proving hard to do. lspci -vnnn says kernel driver in use: nvidia. I feel like I shouldn't need to purse nvidia drivers, just select the nouveau one...19:54
lessiyanaI want to lead a lesbian in KDE #kde-lgbtq20:00
lessiyanaI want to lead a lesbian in KDE #kde-lgbtq20:06
=== waflipper8827 is now known as waflipper2788
sharkyI presume I didn't miss anything while I was offline again but please re-paste it if I did21:23
Unit193sharky: I'd be interested in what happened, fwiw.  Also, what pam modules do you have installed?23:00
sharkypam was indeed the login issue, related to yubikey23:01
sharkyhttps://support.yubico.com/hc/en-us/articles/360016649099-Ubuntu-Linux-Login-Guide-U2F I commented out everything to do with pam_u2f23:01
Unit193Gotcha, seemed like the direction you were going.23:02
sharkybut this just fixed my password issue, I'm now back at the login loop, can access & login to tty, purged nvidia driver, nouveau driver installed but not in use, seemingly no way to enable it.23:02
sharkyhttps://askubuntu.com/questions/1467818/upgrade-to-xubuntu-23-04-cant-login-popup-loop-tty-login-info-doesnt-work full issue here, but asking a new one since it is/was 2 separate things.23:03
Unit193Nothing in /var/log/lightdm/ or .xsession-errors?  Did you try the ol' rm ~/.Xauthority ~/.ICEauthority trick?23:04
sharkynew question here https://askubuntu.com/questions/1468208/xubuntu-22-10-to-23-04-gui-upgrade-login-loop-nvidia-drivers-purged-no-driver23:04
sharkyI will now, one sec23:05
Unit193Ah, looks like the loop is before lightdm, meh.23:05
Unit193And just for kicks:  apt list ?config-files  list anything?23:06
sharkyvar log lightdm: session pid=1107: exited with return value 127. seat seat0: session stopped. stopping display server, no sessions require it.23:08
sharky(possibly cos Im23:08
sharkyI'm in tty though?)23:08
sharkytough to tell where this loop occurs relative to the gui/tty experience.23:09
Unit193Right, but if it shows lightdm then it's not the drivers at least, even if you can't login to your user.23:10
sharky"m ~/.Xauthority ~/.ICEauthority trick?" - any further intel on this, it's new to me23:10
Unit193!xhangs23:10
ubottuIf the GUI hangs after logging in, use <ctrl><alt><f1> to switch to text mode. Log in and do: rm .{X,ICE}authority23:10
sharkywell I can login in tty...23:10
Unit193Dang, no link... :/23:10
sharkyok 1 sec23:10
Unit193Nah if lightdm isn't even showing up, then it's not that.23:10
Unit193Any feedback on the apt list command?23:10
sharkyI should do the rm trick at root level?23:11
sharkyhaven't gotten around to apt list yet, sorry - no ability to copy & paste commands across machines ;)23:11
sharkyapt list: anything I'm looking for in particular? scrolling now23:12
Unit193Hopefully not much output, but look for nvidia stuff.  Also, you could use termbin if you have internet.23:12
Unit193apt list ?config-files  are removed packages with files remaining.23:12
sharkylibnvidia-compute-460/lunar 470.182.03-0ubuntu1 amd 6423:13
sharkylibnvidia-compute-465/lunar 470.182.03-0ubuntu1 amd 6423:13
sharkylots more nvidia at the end also,23:14
sharkynvidia-compute-utils23:14
sharkynvidia-dkms23:14
sharkynvidia-kernel-common23:14
sharkynvidia-prime23:14
sharkynvidia-settings23:14
Unit193So yeah, there's leftover files.  My thinking here is that it's possible that the config that says to use nvidia is still present, but logs should say.23:15
Unit193If you're *sure* you can get rid of those,  apt purge ?config-files also works.23:16
sharkyany concern that'll also purge all the other config-files?23:16
Unit193It'll absolutely purge all packages that have been removed but have files leftover, yes.23:17
Unit193(For packages still installed, it won't touch them.)23:17
sharkyat this stage nvidia's not doing anything for me, so i'm not averse to chucking out all it's cruft. Notwithstanding it might have been nice to keep the settings in case I can reinstall it later.23:17
Unit193Last nvidia driver I used was 304. :/23:18
sharkypurging now. eeks.23:19
sharkynow wondering whether I should have tried to boot into an older linux kernel...23:20
sharkywill reboot now & if it fails: "rm .{X,ICE}authority" do I just run this at root in tty?23:20
Unit193That'd be as your user, they're in your own home dir.23:21
sharkygotcha23:21
Unit193But that only helps if lightdm pops up, but your user throws you back to the login screen.23:21
sharkyah. backed up & deleted now, config file purge didn't change anything, will reboot and check to see if authorities did23:24
sharkythen try oldest linux kernel23:24
sharkyit just feels like there should be a way to request the gpu uses a specific installed module23:25
sharkyno improvement, rebooting for older kernel23:26
sharkyno change there either23:27
sharkyalas23:27
sharkyvar log lightdm: "session pid=1107: exited with return value 127. seat seat0: session stopped. stopping display server, no sessions require it. Process exiting with return value 0. XServer 0: X server stopped. Releasing VT 7. Removing X server authority /var/run/lightdm/root/:0. Seat seat0: display server stopped."23:34
Unit193Nothing specifically is jumping out at me.  You could cat /var/log/lightdm/x-0.log | nc termbin.io 9999  and I could take a look, or you could ask in #ubuntu and hope the more exposure has better luck.23:34
sharkyThis feels like the doom loop. Session ending, giving up x server, the getting dumped back to login greeter.23:34
Unit193Sounds like there should be a log before that, of what went wrong.  Either in that, or x-0-greeter.log :P23:35
sharkypermission denied, port 9999 name or service not known. possibly have to open port on my router?23:35
Unit193Urgh, .com not .io.  I always do that and not sure why, sorry.23:37
Unit193That'll pastebin your log and the link should be short enough to hand copy.23:38
sharkyhaha no worries, already googled it and found it was .com, same error, will look at my eero app. after downloading the eero app...23:38
Unit193Permission denied pasting, or trying to read the file as non-root?23:39
sharkyugh, silly sausage, didn't add sudo23:39
sharkyhttps://termbin.com/hnir23:39
sharkywhat a wonderful service23:39
sharky"vesa: Refusing to run on UEFI" aligns with someone someone else said on a previous thread with no answer23:41
sharkyhttps://www.linuxquestions.org/questions/slackware-14/vesa-refusing-to-run-on-uefi-again-4175687045/ this suggests nomodeset could be the cause, potentially I can edit my grub. now to remind myself where grub lives...23:42
Unit193You'll want to poke at /etc/default/grub and then update-grub (as root)23:43
Unit193Also cat /proc/cmdline  to see what you booted with.23:44
sharkyyup, there now. nomodeset present. IDK what that relates to, presumably changed it based on a bug years ago and left it.23:44
Unit193...Been there, done that.  "Do I still need this?  *Why* do I even have it?!"23:45
sharkybooted with 5.11 kernel just to try it but removing nomodeset should apply to all kernels I select I believe. Let's find the F out!23:46
sharkytrying 6.2 again now. splash screen is NOTABLY higher res.... so is login screen. Palpable excitement.23:47
sharkypassword entered. blank screen. login popup again. arsebiscuits.23:47
sharkytty is much higher res as well. weird that nomodeset has improved the res but it still won't login/work23:48
sharkytty login fine still23:48
sharkyok, lspci -vnnn|less shows gpu kernel driver in use: nouveau. Hooray! But somehow I guess this wasn't the issue then...?23:50
Unit193Check ~/.xsession-errors?23:50
sharkyhttps://termbin.com/fgg323:53
sharky"xfce4-session: symbol lookup error: xfce4-session: undefined symbol: xfce_screensaver_new" seems innocuous but is the last thing...23:54
Unit193xfce4-session: symbol lookup error: xfce4-session: undefined symbol: xfce_screensaver_new  Uhh...is something not updated?23:54
Unit193No, that's xfce4-session crashing.23:54
Unit193That sounds like a new xfce4-session without an updated libxfce4util, that symbol is new.23:55
sharkybefore the update, it gives the user a warning about lock screens. I wonder?23:55
Unit193LANG=C apt list | grep ed,loc23:55
sharkypotenially I could update libxfce4util?23:55
sharkyhttps://termbin.com/nxpcx23:57
Unit193...Not what I was expecting, OK..  Uh, exo/now 2021.11.16  that's not a version string that ever had..23:58
Unit193apt-cache policy libxfce4ui-2-0 xfce4-session  ?23:59

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