=== xqb` is now known as xqb [07:17] Hello. Is it known problem in Xubuntu 18.04 latest daily build, when system loads up, it can take a lot of time to actually see the desktop? Transition between Plymouth -> Xfce desktop takes up to 30 seconds and at that time screen is filled with black, only empty panel is visible. [07:19] No problems were found in 17.10. Only 18.04 has it and since very first releases. [07:23] Senpos: Yes, it's already been noticed, LP bug 1740378. [07:23] Launchpad bug 1740378 in ubiquity (Ubuntu) "Bionic ISO slow to boot" [Undecided,New] https://launchpad.net/bugs/1740378 === Maxis_ is now known as Maxis === chmurifree is now known as chmuri [13:40] Hello [13:50] I'm finding xubuntu's irc french channels. Let me know please. [13:51] i don't think there are any french channels for xubuntu [13:51] !fr | alpha_Aquilae [13:51] alpha_Aquilae: Nous sommes desoles mais ce canal est en anglais uniquement. Si vous avez besoin d'aide ou voulez discuter en français, veuillez taper /join #ubuntu-fr ou /join #ubuntu-qc. Merci. [13:52] k thanks knome... === xqb` is now known as xqb [18:34] Hi! I'm new here but an experienced *buntu user of many years. I hope someone can help. I'm trying to set up a new PC (Lenovo Think Server TS150) with XUbuntu. I've created a 16.04 live-DVD to boot from. I can install this fine onto the machine. I'll be happy running 16.04 LTS until the next LTS release comes out, BUT, I wanted to test out the upgrade procedure before committing to this setup (it will be a home server)... [18:35] Upgrading using the standard graphical update software, the process works, but then after reboot, I'm left with a machine with a frozen mouse and keyboard.... [18:36] If I switch to another terminal Ctrl-alt-f1 or ssh in, I can sudo apt-get install xorg-input-all (or something like that) which makes the mouse and keyboard work again, but.... [18:37] that allows me to type in my password at the greeter screen. Once I press enter, the screen goes black, and then takes me back to the greeter screen. I can't login via the graphical greeter [18:37] I CAN login in ctrl-alt-f1 and via SSH so it's not a password issue, it's like the greeter is not launching the window manager. [18:38] if under CTRL-ALT-F1, I type Startx, the GUI starts there (in terminal 1), but I can't get it to start in terminal 7 (Ctrl-alt-f7) where the greeter is [18:39] This is making me very worried that when it comes to updating from 16.04LTS to 18.04LTS I will be left with a machine that I can't use in the normal way. [18:40] Has anyone any ideas what I can do to fix this, or can they reassure me that when it comes to updating from 16.04 to 18.04 that this process will work? [18:43] xubuntu72w, i've had that symptom: login to graphical interface but it returns to the login screen when my $HOME directory was no longer available [18:43] I'm not saying that is your exact problem [18:43] but I had the same symptoms [18:44] the problem being: i had restored my $HOME from backup which had a different userID [18:45] after doing a chown operation on $HOME I was able to get in [18:45] xubuntu72w, try this: in terminal mode... [18:45] move your $HOME to the side: cd /; sudo mv $HOME /home/oldhome [18:46] make a new empty $HOME [18:46] try to login via the graphical greeter [18:46] if that works, manually copy the files you want to keep from /home/oldhome to $HOME [18:47] OK, I will try that. I will also try creating a new user. This machine is unused at the moment apart from testing the install, so I can do almost anything easily. [18:47] I seem to recall having the problem you describe in another case: my xfce config files were bad and that workaround above solved it. [18:48] all that said, I never do a dist upgrade. I always bakcup all data and then reinstall without reformatting. So far all the files in my $HOME survive intact. [18:48] Am away from that machine at the moment, will try and get back to you all. [18:49] Thanks. [19:56] Hi, me again with the xubuntu lts 16.04 -> 17.04. Unfortunately, creating a new home/user directory, chowning all the files in the user's directory and creating a new user all have exactly the same effect. Press Log in... thinks... screen goes blank then back to the greeter. [19:57] It's like the greeter isn't launching the window manager or gdm. Any ideas if I can check this or configure it? [19:57] xubuntu72w, the new $HOME... it was empty? [19:57] or you copied stuff to it before you tried to login? [19:58] New $home was empty. [19:59] new user $home was populated by default files [19:59] neither worked [19:59] how does one upgrade to the new xubuntu release without having to download the iso? [19:59] hrm... was there an error file in $HOME after the attempt? maybe a hidden one? [19:59] @galacticaboy - from the menu, "software updater" [20:00] @drleviathan. Ah, .xsession-errors. Didn't spot that... looking [20:02] @drleviathan Aha! /etc/X11/Xsession.d/99x11-common_start: line 5: /sbin/upstart: [20:02] No such file or directory [20:03] my /etc/X11/Xsession.d/99x11-common_start has just one uncommented out line: exec $STARTUP [20:04] I'm on 17.10 [20:04] In the many pages I've read before asking to help, I seem to remember something about reinstalling xsession [20:04] ? xsession isn't a package [20:05] OK, my faulty memory then [20:05] I read a lot! [20:07] my 99x11-common_start has also just exec $STARTUP [20:12] ... googling gave this link which I'm trying https://askubuntu.com/questions/999180/16-04-to-17-10-login-loop-because-of-xsession-and-upstart === drleviathan is now known as leviathanAFK [20:16] @drleviathan @leviathanAFK WOOT!! Result. Thanks. :-) The steps listed in that link seem to have fixed it. === leviathanAFK is now known as drleviathan [21:51] Ok so I upgraded to the newest xubuntu release. I get to the login screen and enter my password, it goes to a black screen and back to the login screen. I dropped to a terminal and sudo starts and that does not work either [21:51] What do I do [21:52] https://i.imgur.com/zg3pjSj.jpg [21:53] look in your $HOME for a hidden error file: ls -l ~/ | grep -i error [21:54] galacticaboy, from what version? Maybe you're having the exact same problem as xubuntu72w? [21:55] From the Lts to the newest [21:55] Exactly what I did. so.... [21:56] I got no hidden error file [21:56] 1) are your mouse and keyboard working OK? [21:56] https://i.imgur.com/eBWu5gw.jpg [21:57] Keyboard seems to be working, touchpad is not but the nipple pointer on my laptop works [21:59] try... [21:59] cd [21:59] ls -al [21:59] (Moves to your home directory, list all files) [21:59] you may have a file called .xsession.errors (or similar) [22:00] if you have one of those, try to cat it. cat .xsession...(whatever its exact name) [22:00] mine contained the text "/etc/X11/Xsession.d/99x11-common_start: line 5: /sbin/upstart: No such file or directory" [22:01] if yours has that, then the fix is contained in this page https://askubuntu.com/questions/999180/16-04-to-17-10-login-loop-because-of-xsession-and-upstart [22:01] https://i.imgur.com/07IfuY1.jpg [22:01] Sorry for the bad camera quality it’s irc on my phone [22:02] ok, so type [22:02] cat .xsession-errors [22:03] oh right... i forgot the -a argument to ls when I gave him that advice above. That is why he didn't see any file with 'error' in it. [22:03] :-) [22:03] https://i.imgur.com/eQeECmN.jpg [22:04] OK, you have exactly the same problem as me. Solution is simple [22:05] Thank god a solution! :) [22:06] hang on, lost the link.... [22:06] Don’t worry I’m not going anywhere lol [22:07] this is the link: https://askubuntu.com/questions/999180/16-04-to-17-10-login-loop-because-of-xsession-and-upstart [22:08] Yep, ta [22:08] type [22:09] cd /etc/X11/Xsession.d/ [22:09] Okay did that [22:09] mkdir ../BAK [22:09] {makes a backup directory} [22:10] Okay [22:10] sudo mv 00upstart ../BAK [22:10] Ok [22:10] sudo mv 99upstart ../BAK [22:11] Ok [22:11] sudo mv 99x11-common_start ../BAK [22:11] Ok [22:12] so that's the typing done hopefully. CTRL-ALT-F7 to go back to the greeter screen [22:12] then try to login [22:14] https://i.imgur.com/0xDIBPv.jpg [22:14] Oh I’m about to throw this laptop [22:15] Now I’m stuck here [22:16] That looks like what I got when I rebooted. Did you reboot, or was that what you got when you did ctrl-alt-f7? [22:16] After ctrl-alt-f7 [22:17] I also rebooted and got that [22:18] OK, when you rebooted, presumably you see a graphical greeter, i.e. a box that has a username and box for password, and a button that says login? [22:18] No... I see the xubuntu logo with the spinny circle then this screen [22:19] I can drop to a terminal and login that way but no GUI [22:19] so now maybe look in /var/log... do: ls -lart /var/log [22:20] what files are near the bottom (most recently changed) [22:20] https://i.imgur.com/Gm3CDEw.jpg [22:21] Can I just but in for a second? My system when doing that update was missing an element of Xorg. To fix it I had to do... [22:21] sudo apt-get install xserver-xorg-input-all [22:21] Please butt in, I’m so frustrated I need all the helps [22:21] That made my mouse and keyboard work on the login screen (but you're not seeing the login screen). [22:22] Well I installed that for when I get it back [22:22] might be worth trying that, then looking at the log files. Perhaps also worth doing sudo apt-get install --reinstall xubuntu-desktop [22:23] Alright doing that too [22:23] that sounds like good advice. I don't see a likely recently changed log file in that list, unless there are clues in kern.log. [22:24] Ive reinstalled xubuntu desktop should I reboot [22:25] Gosh yes [22:25] galacticaboy, you backed up important data before trying to upgrade your release version, right? [22:26] No all my data stays in the cloud so I don’t have any “important” data on here [22:27] But on a positive note I see my login screen again [22:27] Just a sec [22:27] I interpret that as "yes, I did" [22:27] YAY! [22:27] And I’m still stuck in a loop [22:27] Boo! [22:28] I enter the password, see that black screen I showed the back to the login screen, my mouse works now so we’re getting somewhere [22:28] OK, so it seems like you are where I was a while ago. [22:28] Lets check. === sorinello_ is now known as sorinello [22:29] https://i.imgur.com/rf51JRR.jpg [22:29] Login screen [22:29] Do you get a Text box with a username showing at the top, a space for password at the bottom and a button saying login. [22:29] yes. Good [22:29] OK, so type in a bad password. [22:29] it should say invalid password. [22:30] Invalid password, please try again [22:30] OK, try correct password. [22:30] Black screen, then login screen [22:30] OK, same as what I had. [22:31] OK, switch to terminal 1, CTRL-ALT-F1 [22:31] Login [22:31] Ok [22:31] (same user you used at the greeter screen) [22:31] Yep I logged in [22:31] ls -al [22:32] is there an .xsession-error [22:32] https://i.imgur.com/T8xoVeX.jpg [22:32] Yes .xsession-errors and .xsession-errors.old [22:33] there may be a clue therein [22:33] yep, but... [22:33] type date [22:33] need to comapre your computer's time with the date of the .xsession-errors file [22:34] “Thu Feb 1 17:33:31 EST 2018 [22:34] so the .xsession-errors file is an hour old [22:34] Xsession-errors is feb 1 16:34 right around the upgrade time [22:34] check. DO.. [22:34] touch testfile [22:35] ls -al [22:35] look for testfile [22:35] especially its time [22:35] Yes it’s there and the time is 17:35 which is right [22:36] OK, so .xsession-errors is an old file. It won't contain error information pertinant to why it's not working now. [22:36] I don't know what to do now. Sorry. DrLeviathan? [22:37] the only idea I have would be to look in /var/log again to see if there is a likely recently changed log file that might have some clues [22:37] How do I do that [22:38] ls -lart /var/log [22:38] list contents, long format, all, reverse by time [22:38] the most recently changed files will show up at the bottom [22:39] https://i.imgur.com/zxmva1I.jpg [22:40] so there are three files changed right around when you tried to login: auth, kern, and syslog [22:40] worth a look at Xorg.0.log too? [22:40] to look at them, one at a time [22:41] sudo cat syslog [22:41] xubuntu72w, is right, look at that one first [22:41] sudo cat auth [22:41] you can look at the last 10 lines of a file like so: tail filename [22:41] yep, sudo cat Xorg.0.log [22:41] shows less data than cat, for quick check [22:41] yep, tail better than cat [22:42] looking at Xorg log doesn't require sudo priv [22:42] but the last three files there do require it, as per the permission bits [22:42] No such file or directory :( [22:42] ? [22:42] what command did you type? [22:43] we're not in /var/log [22:43] so we need to do [22:43] tail /var/log/Xorg.0.log [22:43] not just tail Xorg.0.log [22:44] https://i.imgur.com/2FQ7LrM.jpg [22:45] hrm... Xorg log files usually have "EE" in lines that have errors [22:45] so you need to search a little harder, the clue might not be at the end of the file [22:46] try this: grep EE /var/log/Xorg.0.log [22:46] (show all lines that have the pattern "EE") [22:47] https://i.imgur.com/7uJcpjJ.jpg [22:47] Nothing is listed [22:47] yeah, that is just the key line telling you what EE means [22:48] well tail the other recently changed log files to see if you can find a clue [22:48] alternatively you can try my trick of trying to login with an empty $HOME directory [22:49] Whichever one has a better chance of getting me logged back into my lappy lol [22:50] OK, quick test [22:50] adduser test [22:50] set password as something simple like test [22:51] then try switching back to the greeter (ctrl-alt-F7) and see if you can login as test. [22:51] NB didn't work for me, but then, the fix that worked for me didn't work for you [22:51] he can login to the terminal with his password [22:52] I typed in the password at the login screen, it just resets the text box, it does not even tell me it’s incorrect or anything [22:52] yes, but create a new user, that creates default files for the user, that user's files will have the correct permissions, so if he can login as test, it's a permissions issue, if he can't, it isn't. That's my reasoning anyway [22:53] Did the screen go blank for a moment @galacticaboy? [22:54] Hey wait... sorry I entered the wrong password [22:54] I’m in! [22:54] Cool! [22:54] https://i.imgur.com/gh95suZ.jpg [22:54] You're logged in as test, is that correct? [22:54] How do I get into my account though [22:54] Well I called the user “a” but yes [22:55] OK. We're not out of the woods yet. [22:55] BUT [22:55] Ok [22:55] This seems like @drleviathan was telling me way back. [22:55] It could be something to do with the permissions of your files in your home directory. [22:56] @drleviathan, what do you suggest, mv out of home directory, or chown all files? [22:56] (in the home directory, obviously) [22:56] since all of galacticaboy's important data is stored on the cloud... [22:57] I'd say: copy $HOME to the side, create a new empty $HOME, and try to login [22:57] so galacticaboy it would go something like this from the terminal... [22:58] cd /; sudo mv /home/david /home/oldDavid; sudo mkdir /home/david [22:58] that's ^^^ multiple commands separated by semicolons. You can run that as one line. [22:58] Need to do ctrl-alt-f1 again first though to get back to a terminal [22:59] galacticaboy, what is your linux command-line expertise level? [22:59] Sudo apt-get install/remove is about it [23:00] And I did those commands [23:00] now try to login at the graphical login screen [23:01] Nope same issue [23:01] Black screen back to logon [23:01] :x [23:01] which is different from the "wrong password" behavior, right? [23:01] Yes [23:02] so back to the terminal. Are there any files in the new (formerly empty) directory? [23:02] ls -lart ~/ [23:02] Wrong password gives me no black screen just the incorrect password error [23:03] https://i.imgur.com/QUzK6XG.jpg [23:03] i just installed xubuntu 16.04 and the screen turned black, going to 'sleep' ? [23:04] @galacticaboy. You missed a space after lart [23:04] galacticaboy, so no clues left in the home dir [23:04] not on his second try xubuntu72w [23:05] dur, missed that! [23:05] https://i.imgur.com/SyPFCYY.jpg [23:06] brb [23:06] ah - [23:07] thinking [23:07] So could I just create a new user... make that one the main user and get rid of my old david? [23:07] Would that work since I can log in with my test user [23:08] yes. Probably. But hang on.... [23:08] Ok [23:08] on my system, my . directory is owned by my user, on yours it's owned by root. That means probably that it can't be written to by your user. [23:09] Lets try changing that, and try again. [23:09] Okay [23:09] your user is david? [23:09] if so [23:09] Yes [23:09] sudo chown -r david:david /home/david [23:10] which changes ownership to user david group david of the directory home/david and all it's contained files [23:10] Invalid option —r [23:11] try -R [23:11] in the same command [23:11] instead of -r [23:11] Ok that worked [23:11] no video input , enter sleep mode!! [23:11] in a freshly installed system after 5-10 minutes pc powers down! [23:12] @galacticaboy, ctrl-alt-f7 back to the login screen. Pick David from the combo box, type your password then "login"button [23:12] ... [23:13] then do the ls -lart ~/ thing again in ctrl-alt-f1 terminal [23:13] https://i.imgur.com/luDbLpR.jpg [23:13] Well I’m in [23:14] @chomwitt. There's a power symbol on the top bar usually if you can see that. That can change the power saving options, [23:14] https://i.imgur.com/lsbOsm0.jpg [23:14] Hang on, when you say you're in, does that mean that you could log in on the greeter OK? [23:15] As David [23:15] ? [23:15] Yes it does! I mean my desktop and stuff it all reset back to the way it looks during a fresh install but all my stuff is there as David [23:15] OK. [23:15] SO [23:16] How do I confirm that everything is good? [23:16] That looks like there is a permissions issue the files in your original home directory [23:16] This is what @drleviathan was suggesting to me way back when! [23:17] Lol so am I good or do we have more steps? [23:17] I am doing this on a small screen via a web interface. I can only see one screen's worth and can't scroll back [23:17] (more steps) [23:17] xubuntu72w: ok , i opened it [23:17] Okay then I’m ready [23:18] @chomwit i think it's quite simple usually, increase the times on the sliders to an hour or so, or untick go to sleep or something like that? [23:18] @galacticaboy, can you scroll back through the conversation? [23:19] Yes I can [23:19] xubuntu72w: ok i move all sliders to 60 minutes.. i'll wait .. [23:19] @chomwitt. Good luck :-) [23:20] @galacticaboy, find where we backed up your directory. Please paste it back here so I can see. It was the line with semicolons on it ; cd /home or something like that [23:20] xubuntu72w: thanks [23:22] https://i.imgur.com/dh3lstH.jpg [23:22] This one? [23:23] yep [23:23] ok [23:24] first, go back to ctrl-alt-f7. click on menu button top left. press the button at the bottom right of that box and choose logout [23:25] that should take you back to the greeter screen [23:26] Yep [23:26] OK ctrl-alt-f1 back to terminal [23:26] Ok [23:27] get this 100% right! [23:27] Yes sir [23:27] sudo rm -r /home/david [23:27] removes the new david home directory [23:28] Sudo rm -r /home/David [23:28] ok, so lets do [23:28] Did it [23:28] sudo ls -al /home [23:29] should have an oldDavid directory [23:29] Yes it does [23:29] ok [23:30] sudo mkdir /home/david [23:30] oh right, we forgot to chown the new dir [23:30] yes, but we'll copy the old files in first, then chown them all [23:31] so if you [23:31] but the reason it was failing after we created it was that the perms were wrong [23:31] * drleviathan is xpurt [23:31] @drleviathan, yes, sorry I thought you were galacitaboy, you are an expert? [23:32] @drleviathan, can I leave this with you now? [23:32] Did it [23:32] I was joking. Making fun of my own mistakes. [23:33] need to copy the files from /home/oldDavid to /home/david, then chown -R all of them, then test it. [23:33] How do I do that? [23:33] Sorry terminal illiterate [23:34] sorry @galacticaboy, that was @drleviathan. [23:34] we shall... [23:34] sudo cp -a /home/oldDavid/* /home/david/* [23:34] xubuntu72w: .. sth else is happening.. still powered down [23:35] @chomwitt, look for screensaver in the menus, could be xscreensaver, or LightLocker. Try turning it off. [23:35] Co [23:35] ?co?? [23:36] Cp: target ‘/home/david* is not a directory [23:36] Sorry didn’t mean to hit send on co [23:36] did you miss off the / before the final *? [23:36] xubuntu72w: its a new case with an old mobo , mini-itx .. i wonder if there is heat buildup cause i removed a case fan [23:38] @chomwitt, sorry I assumed that what you were seeing was power saving. Can you wake up the machine by pressing a key or moving the mouse? Is so, then it's power saving, if it's switching off, it could be Overheat-shutdown. [23:38] xubuntu72w: no i cant wake the machine up [23:39] @chomwitt then if it's easy, try putting the fan back and see if it still happens! [23:39] @galactocaboy, still there? [23:40] Yes it says /home/david/* is not a directory [23:40] ok, try [23:41] sudo cp -a /home/oldDavid/* /home/david [23:41] which is the same thing without the final /* [23:43] It seems to be taking its sweet time [23:43] Ok it’s done [23:43] Could do. Could be lots of files [23:43] OK, what we have now is /home/oldDavid with all your original files with their original permissions [23:44] and we have a copy of them in /home/david. We will now try changing the file permissions so that they are all owned by user david [23:44] so [23:44] Okay [23:44] sudo chown -R david:david /home/david [23:45] Ok [23:45] could you do a ls -al /home/david for me please & picture it? [23:46] https://i.imgur.com/RgRYRJE.jpg [23:47] Great. ctrl-alt-f7. Try and login as david [23:49] https://i.imgur.com/xbGnLkS.jpg [23:49] Omg Yass! Im in and back! [23:49] YAY! WOOT WOOT WOOT! [23:49] Thank you so much guys!! [23:49] OK, before you go. [23:50] Okay [23:50] you have the new test user that we created, you can delete that and the home directory for it, if you want, but it won't take up much space [23:50] Okay I’ll probably just delete it [23:50] yay! [23:51] BUT, more significantly, you have /home/oldDavid which is a complete copy of every file that was in your home directory, which may contain music files, browsing history, documents etc etc etc. [23:51] Can that be deleted [23:51] the fact that it took an age to copy suggest that there are lots of files there [23:52] What I was going to suggest is that you leave it there, until you are sure that EVERTHING works. [23:52] Once you're happy, delete it. [23:52] Okay will do that then [23:52] If you're not happy, or something doesn't work, you still have the original. [23:52] Thanks for spending an hour and a half, almost 2 working on this! I really appreciate the help :) [23:53] That said, the ONLY difference between the files in /home/oldDavid and /home/david at the moment, is that some of the oldDavid files are not owned by user david in group david. [23:53] Will that be much of a problem? [23:54] No, it's not a problem, I'm just saying that there's hardly any difference. So it is very likely that everything will work. But if it doesn't, you can refer to the oldDavid directory. [23:54] Are you short of disk space on this machine? [23:55] If not, leave it a while, delete when you're happy. [23:55] No it’s 500gb and I have 520 free so I’m good lol [23:55] OK. [23:55] @galacticaboy glad I could help. [23:55] Again thanks I appreciate it, jebus I need a drink after all that [23:56] Paying forward in return for the help from @drleviathan - thanks for helping me :-) [23:56] galacticaboy stiell her [23:56] just on the lappwy no === david_ is now known as galacticaboy [23:56] there we go [23:56] yes both of you were huge helps [23:56] maybe we should recommend that users NOT try to "dist upgrade" from LTS to 17.10 [23:56] YAY. [23:57] @drleviathan, GOSH YES!!!!!!!!!!! [23:57] @drleviathan, thank you so much for your help. @galacticaboy, glad you're sorted. [23:57] drleviathan, it's already kind of recommended... [23:58] yes @drleviathan i would say that... lets not do that again [23:58] we all learned something today [23:59] I went into Software source, changed it from LTS to all updates. Then I went into Software updater. It said "There's a new version available" and offered to take me straight from 16.04 to 17.10. It might be better to make that a bit smarter so that it doesn't skip intermediate versions.