Sorry for dribbling this in but I ran #who# and for the first time found that ubuntuguest has a DISPLAY value of (:0) EHO NO VALUE FOR ME, "Ubuntu". I had just run #export DISPLAY="0.0# logged in as me in the command line. However if I ctr+alt+f7 I am back in the ubuntuguest GUI. On Fri, March 16, 2018 6:48 pm, okeefe@cybermesa.com wrote:
On Fri, March 16, 2018 11:24 am, s@mnoble.net wrote: Thanks Sam! I had ck'e log files previously with no errors but now I have one. Interestingly this last reboot booted straight into the guest and lightdm (where that wm came from is beyond me!). Can't login to any wm as me though. Here's the log file error: #(EE) open /dev/fb0: permission denied# after finding correct syntax for the log file ;)
On Fri, Mar 16, 2018 at 08:32:29AM -0600, okeefe@cybermesa.com wrote:
Probably worth looking for clues here:
(==) Log file: "home/ubuntu/.localshare/xorg/Xorg.1.log" time, (current time) Can we see something like: $grep -2 '(EE)' ~/.localshare/xorg/Xorg.1.log
But my guess is this problem will turn out to be about too many display managers or multiple X sessions or X fighting with wayland or whatever the ubuntu wayland-competitor was called etc. I'd be interested in seeing if any X servers are running. Maybe something like: $ps ax | grep Xorg or even $ps ax | grep X
And if you find a process running X it's probably a display manager that you aren't using, and maybe it can be shut off i.e: $sudo /etc/init.d/somedm stop The only process I could see was Xorg (from "top")
Thanks so much. I know that all the parts are there but getting them ordered seems to be the issue
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
On Fri, Mar 16, 2018 okeefe@cybermesa.com wrote:
Here's the log file error: #(EE) open /dev/fb0: permission denied# after finding correct syntax for the log file ;) Not sure how far from the real issue we are here, as X's use of the framebuffer is I believe optional, but the perms issues should be easily fixable. A DM would run as some user with the correct permissions, but since you're running startx as yourself any permission issues are applying to your user. My framebuffer 0 device is owned by group video: sam@computer$ ls -l /dev/fb0 crw-rw---- 1 root video 29, 0 Mar 16 12:00 /dev/fb0
If yours is similar maybe you need to be added to that group: ubuntu@ubuntu$sudo usermod -a -G video ubuntu
Interestingly this last reboot booted straight into the guest and lightdm (where that wm (sic) came from is beyond me!). Can't login to any wm as me though. Hmm, there's so many possibilities of how the DMs are being shipped. I hope you're getting good advice from Ubuntites on their forum. Seems like whatever they're doing to enable easy guest access is getting in our way here.
$sudo /etc/init.d/somedm stop is useful here. You could try: $sudo /etc/init.d/lightdm stop #Or restart would be interesting.
Also note that Display Managers (gdm, kdm, lightdm, slim, xdm) are not window managers, they're pretty much just there to launch X and give you a login window. And they are not always (or even typically) tied to the window manager/desktop environment that they 'come with' I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken?
Sorry for dribbling this in but I ran #who# and for the first time found that ubuntuguest has a DISPLAY value of (:0) EHO NO VALUE FOR ME, "Ubuntu". I had just run #export DISPLAY="0.0# logged in as me in the command line. However if I ctr+alt+f7 I am back in the ubuntuguest GUI. On
Yeah that sounds normal. It is probably possible for you to run your GUI apps in guest's X session but that won't be a solution excepting some scenario where (against Ted's correct advice) you've given up on fixing the underlying issue and are trying to e.g. run Thunderbird that one last time to do an export. It'd go something like: Open terminal emulator in guest session ubuntuguest@ubuntu$xhost + #Lots of more granular ways to do this with xauth/Xauthority but xhost + should just disable all that. ubuntuguest@ubuntu$su ubuntu #su - ubuntu would spawn a login shell, but this way you'll keep the DISPLAY=:0 from ubuntuguest's env. ubuntu@ubuntu$xclock #xclock or xlogo from x11-apps are my goto for a test like this. Most real stuff will want other environment stuff from the session, dbus and the like. -- sam
On Fri, March 16, 2018 11:10 pm, s@mnoble.net wrote:
On Fri, Mar 16, 2018 okeefe@cybermesa.com wrote:
Here's the log file error: #(EE) open /dev/fb0: permission denied# after finding correct syntax for the log file ;) Not sure how far from the real issue we are here, as X's use of the framebuffer is I believe optional, but the perms issues should be easily fixable. A DM would run as some user with the correct permissions, but since you're running startx as yourself any permission issues are applying to your user. My framebuffer 0 device is owned by group video: sam@computer$ ls -l /dev/fb0 crw-rw---- 1 root video 29, 0 Mar 16 12:00 /dev/fb0
If yours is similar maybe you need to be added to that group: ubuntu@ubuntu$sudo usermod -a -G video ubuntu Thanks Sam. I'm increasingly flumoxed. Are you available for paid work? Seriously because.... I added me to group as above. I must have already been in that group since I always had a GUI. Anyway I added me again. Since somehow I had the guest running graphically in an xfce4-session (never happened before the update that has borked my machine. I always logged in from a gnome login screen) but when I switched to tty1 I would have a fresh login prompt with no user. I added superuser for ubuntuguest so I removed all xfce4 in hopes that I'd get another WM, the prior gdm login screen, but now the machine tries to boot the guest again but w/o XFCE4 I get a fallback prompt but nothing happens.
Interestingly this last reboot booted straight into the guest and lightdm (where that wm (sic) came from is beyond me!). Can't login to any wm as me though. Hmm, there's so many possibilities of how the DMs are being shipped. I hope you're getting good advice from Ubuntites on their forum. Seems like whatever they're doing to enable easy guest access is getting in our way here.
The Ubuntoids have not responded at all.
$sudo /etc/init.d/somedm stop is useful here. You could try: $sudo /etc/init.d/lightdm stop #Or restart would be interesting.
Stopped lightdm (successfully) then rebooting gives me a Kubuntu splash on a black screen-nothing else and then a totally black screen. Switching to tty1 gives me a login prompt. Login as me, ubuntu. Switch to graphical is black screen. back to tty1 and $startx which fails.
Also note that Display Managers (gdm, kdm, lightdm, slim, xdm) are not window managers, they're pretty much just there to launch X and give you a login window. And they are not always (or even typically) tied to the window manager/desktop environment that they 'come with'
Right, knew that but I do not get a login screen at all. Will try reinstalling XFCE4 to see if the same behavior as before reoccurs.
I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken?
Broken DM
Sorry for dribbling this in but I ran #who# and for the first time found that ubuntuguest has a DISPLAY value of (:0) EHO NO VALUE FOR ME, "Ubuntu". I had just run #export DISPLAY="0.0# logged in as me in the command line. However if I ctr+alt+f7 I am back in the ubuntuguest GUI. On
Yeah that sounds normal. It is probably possible for you to run your GUI apps in guest's X session but that won't be a solution excepting some scenario where (against Ted's correct advice) you've given up on fixing the underlying issue and are trying to e.g. run Thunderbird that one last time to do an export.
I want to fix the underlying issue for critical reasons (being on my back for the next 4 months starting next Thursday after surgery. Want my normal environment back for both entertainment and work.
It'd go something like: Open terminal emulator in guest session ubuntuguest@ubuntu$xhost + #Lots of more granular ways to do this with xauth/Xauthority but xhost + should just disable all that. ubuntuguest@ubuntu$su ubuntu #su - ubuntu would spawn a login shell, but this way you'll keep the DISPLAY=:0 from ubuntuguest's env. ubuntu@ubuntu$xclock #xclock or xlogo from x11-apps are my goto for a test like this. Most real stuff will want other environment stuff from the session, dbus and the like. Right, I wasn't able to run anything "complex" except those you mention tho could run Libreoffice (?). So I just installed xubuntu-desktop and here're the results....... Kubuntu throbbing on black screen. It disappears then.....nothing. Go to tty1 and have login prompt. Login as ubuntu (me) then $lightdm. XFCE desktop appears with ubuntuguest as user. Right back to where I was. So tty1 login as ubuntu then starting lightdm opens XFCE for ubuntuguest (should I remove ubuntuguest as a user then try?). So without a login screen and the option to choose the user in a graphical mode and then to boot that session I'm totally stuck. BTW I've googled this until I'm blue in the face. So can you, Sam, or anyone help me professionally? Thanks, Brian
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
On Sat, Mar 17, 2018 at 02:39:50PM -0600, okeefe@cybermesa.com wrote:
Thanks Sam. I'm increasingly flumoxed. Are you available for paid work? Seriously because.... Let's not cross that bridge yet, I think you may be pretty close.
The Ubuntoids have not responded at all. Boo hiss.
I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken? Broken DM OK cool so let's pick a DM and get it working. We can ignore the video group permissions etc. Sounds like lightdm is currently installed and 'working' we'll just poke at it's settings.
So I just installed xubuntu-desktop and here're the results....... Kubuntu throbbing on black screen. It disappears then.....nothing. Go to tty1 and have login prompt. Login as ubuntu (me) then $lightdm. XFCE desktop appears with ubuntuguest as user. Apparently lightdm defaults this way. See links below.
I've googled this until I'm blue in the face. Here's some relevant stuff you may have bumped into: https://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session#625... Which lead me here: https://wiki.ubuntu.com/LightDM
I think we should try this one: https://wiki.ubuntu.com/LightDM#Allow_Manual_Login Edit the lightdm config file probably /etc/lightdm/lightdm.conf but if that's not seeming to take effect note the list of cascading conf files from the top of that page. To include: [SeatDefaults] greeter-show-manual-login=true also note the info at the top of that page about later versions of lightdm changing the syntax from SeatDefaults to Seat:* After each change you try do: $sudo /etc/init.d/lightdm restart If I'm guessing right. That should get you a lightdm login page. And hopefully actually logging in will work from there. If not we're probably back to Ted's idea that there's some setting in your user account. We can probably traack it down with logs or something. Maybe /var/log/lightdm -- sam
NMGLugers, Well I am listening. And did find a few tips on using 'dpkg --re-configure ldm' for instance. BUT as a still Ubuntu-coaching, but writing from a Debian Stretch install, by the way, I was afraid of getting into a mess over this. My current guess is that the original ___dm, maybe kdm, has been put out of order with some desktop switching and updating and such. If not caught right away it is difficult to un-do all the settings that have been "re-set to see if that would help" ... At a point when it gets beyond me I use a live disk/usb to access and copy my files and prepare for a fresh install. You certainly can find your files via a terminal, but a live os makes it easier to sort and copy for us "Buntus." Having a time and health constraint make the decision-making difficult. I really am a hobbyist and cannot do professional IT consults. I do prefer face to face talks and a look at what I am up against. Alas I have the flu and am not in a position to add much more at this time, especially with a time constraint. Thank you, Ted P., Ubuntoid but by the seat of my pants. On Sat, Mar 17, 2018 at 4:09 PM, <s@mnoble.net> wrote:
On Sat, Mar 17, 2018 at 02:39:50PM -0600, okeefe@cybermesa.com wrote:
Thanks Sam. I'm increasingly flumoxed. Are you available for paid work? Seriously because.... Let's not cross that bridge yet, I think you may be pretty close.
The Ubuntoids have not responded at all. Boo hiss.
I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken? Broken DM OK cool so let's pick a DM and get it working. We can ignore the video group permissions etc. Sounds like lightdm is currently installed and 'working' we'll just poke at it's settings.
So I just installed xubuntu-desktop and here're the results....... Kubuntu throbbing on black screen. It disappears then.....nothing. Go to tty1 and have login prompt. Login as ubuntu (me) then $lightdm. XFCE desktop appears with ubuntuguest as user. Apparently lightdm defaults this way. See links below.
I've googled this until I'm blue in the face. Here's some relevant stuff you may have bumped into: https://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session# 62566 Which lead me here: https://wiki.ubuntu.com/LightDM
I think we should try this one: https://wiki.ubuntu.com/LightDM#Allow_Manual_Login Edit the lightdm config file probably /etc/lightdm/lightdm.conf but if that's not seeming to take effect note the list of cascading conf files from the top of that page. To include: [SeatDefaults] greeter-show-manual-login=true
also note the info at the top of that page about later versions of lightdm changing the syntax from SeatDefaults to Seat:*
After each change you try do: $sudo /etc/init.d/lightdm restart
If I'm guessing right. That should get you a lightdm login page. And hopefully actually logging in will work from there. If not we're probably back to Ted's idea that there's some setting in your user account. We can probably traack it down with logs or something. Maybe /var/log/lightdm
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
Thanks to all for the input and I apologize for the massive confusion of my posts! As the behavior of my box is of a type that I don't get and haven't run into at all. Ted, I am sorry that you have that bug that has been afflicting folks-it's a real nasty one for sure. Hope that you get better soon. I take your comments and ideas seriously, ubuntoid or otherwise. I went to Black Panther and since I had over 2 hours to think of other things a thought occurred to me and it's along the lines that you bring up Mark. I'm thinking that the update made a weird situation an inoperative one. Sometime back my login changed to an auto login to my guest account. I would just logout and the login screen would appear with the 2 accts., mine and guest. I would select mine and input my password and go on fine. Weird but not destructive. After the update the box booted right into the guest account as before with an XFCE WM but switching to tty1 gave me a login prompt, not a textual version of the already graphically logged in Guest. So I could login to that vt as me.If I f7 back to the graphical guest running XFCE, I could (can) logout graphically but no new login screen appears, like it used to, with available users. My Black Panther vast periods of vacant thought space makes me wonder if some cofig setting for the DM either doesn't have any users other than guest in it or that guest is not password protected so it just boots back into the guest session. I'll look at the lightdm.config file and see if I can find something is allowing autologin for guest and not for me. I'd rather there be no autologin for any user. So I'll try some commands suggested. I can't thank you all enough. On Sat, March 17, 2018 7:30 pm, Ted Pomeroy wrote:
NMGLugers, Well I am listening. And did find a few tips on using 'dpkg --re-configure ldm' for instance. BUT as a still Ubuntu-coaching, but writing from a Debian Stretch install, by the way, I was afraid of getting into a mess over this. My current guess is that the original ___dm, maybe kdm, has been put out of order with some desktop switching and updating and such. If not caught right away it is difficult to un-do all the settings that have been "re-set to see if that would help" ... At a point when it gets beyond me I use a live disk/usb to access and copy my files and prepare for a fresh install. You certainly can find your files via a terminal, but a live os makes it easier to sort and copy for us "Buntus." Having a time and health constraint make the decision-making difficult. I really am a hobbyist and cannot do professional IT consults. I do prefer face to face talks and a look at what I am up against. Alas I have the flu and am not in a position to add much more at this time, especially with a time constraint. Thank you, Ted P., Ubuntoid but by the seat of my pants.
On Sat, Mar 17, 2018 at 4:09 PM, <s@mnoble.net> wrote:
On Sat, Mar 17, 2018 at 02:39:50PM -0600, okeefe@cybermesa.com wrote:
Thanks Sam. I'm increasingly flumoxed. Are you available for paid work? Seriously because.... Let's not cross that bridge yet, I think you may be pretty close.
The Ubuntoids have not responded at all. Boo hiss.
I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken? Broken DM OK cool so let's pick a DM and get it working. We can ignore the video group permissions etc. Sounds like lightdm is currently installed and 'working' we'll just poke at it's settings.
So I just installed xubuntu-desktop and here're the results....... Kubuntu throbbing on black screen. It disappears then.....nothing. Go to tty1 and have login prompt. Login as ubuntu (me) then $lightdm. XFCE desktop appears with ubuntuguest as user. Apparently lightdm defaults this way. See links below.
I've googled this until I'm blue in the face. Here's some relevant stuff you may have bumped into: https://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session# 62566 Which lead me here: https://wiki.ubuntu.com/LightDM
I think we should try this one: https://wiki.ubuntu.com/LightDM#Allow_Manual_Login Edit the lightdm config file probably /etc/lightdm/lightdm.conf but if that's not seeming to take effect note the list of cascading conf files from the top of that page. To include: [SeatDefaults] greeter-show-manual-login=true
also note the info at the top of that page about later versions of lightdm changing the syntax from SeatDefaults to Seat:*
After each change you try do: $sudo /etc/init.d/lightdm restart
If I'm guessing right. That should get you a lightdm login page. And hopefully actually logging in will work from there. If not we're probably back to Ted's idea that there's some setting in your user account. We can probably traack it down with logs or something. Maybe /var/log/lightdm
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
On Sat, March 17, 2018 4:09 pm, s@mnoble.net wrote:
On Sat, Mar 17, 2018 at 02:39:50PM -0600, okeefe@cybermesa.com wrote:
Thanks Sam. I'm increasingly flumoxed. Are you available for paid work? Seriously because.... Let's not cross that bridge yet, I think you may be pretty close.
The Ubuntoids have not responded at all. Boo hiss.
I guess we skipped the part where you tell us if your using startx intentially, or if it's something you started doing becouse your DM is broken? Broken DM OK cool so let's pick a DM and get it working. We can ignore the video group permissions etc. Sounds like lightdm is currently installed and 'working' we'll just poke at it's settings.
So I just installed xubuntu-desktop and here're the results....... Kubuntu throbbing on black screen. It disappears then.....nothing. Go to tty1 and have login prompt. Login as ubuntu (me) then $lightdm. XFCE desktop appears with ubuntuguest as user. Apparently lightdm defaults this way. See links below.
I've googled this until I'm blue in the face. Here's some relevant stuff you may have bumped into: https://askubuntu.com/questions/62564/how-do-i-disable-the-guest-session#625... Which lead me here: https://wiki.ubuntu.com/LightDM
I think we should try this one: https://wiki.ubuntu.com/LightDM#Allow_Manual_Login Edit the lightdm config file probably /etc/lightdm/lightdm.conf but if that's not seeming to take effect note the list of cascading conf files from the top of that page. To include: [SeatDefaults] greeter-show-manual-login=true did this but no login greeter after reboot but boots into XFCE for ubuntu guest. So tried: commenting out autologin-user=ubuntuguest (which was in the file the first time I opened it yesterday as I had also seen in a post tho not the wiki. I don't know why that line is there but I didn't nor would have put it in there for obvious reasons) and when that just led to a blank screen at stopping then restarting lightdm so added along with commented out line above: autologin-user=ubuntu which led to blank screen. File now is: [SeatDefaults] greeter-session=unity-greeter greeter-show-manual-login=true user-session=xubuntu
[Seat:*] autologin-user=ubuntuguest And is only config that gives Xsession, XFCEWM. I can delete line: greeter-show-manual-login=true and results are the same. Autologin to ubuntuguest XFCE Holy Trumpitocious Batman!
also note the info at the top of that page about later versions of lightdm changing the syntax from SeatDefaults to Seat:*
After each change you try do: $sudo /etc/init.d/lightdm restart
If I'm guessing right. That should get you a lightdm login page. And hopefully actually logging in will work from there. If not we're probably back to Ted's idea that there's some setting in your user account. We can probably traack it down with logs or something. Maybe /var/log/lightdm
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
this is a pretty interesting troubleshoot On Fri, Mar 16, 2018 at 7:14 PM, <okeefe@cybermesa.com> wrote:
Sorry for dribbling this in but I ran #who# and for the first time found that ubuntuguest has a DISPLAY value of (:0) EHO NO VALUE FOR ME, "Ubuntu". I had just run #export DISPLAY="0.0# logged in as me in the command line. However if I ctr+alt+f7 I am back in the ubuntuguest GUI. On Fri, March 16, 2018 6:48 pm, okeefe@cybermesa.com wrote:
On Fri, March 16, 2018 11:24 am, s@mnoble.net wrote: Thanks Sam! I had ck'e log files previously with no errors but now I have one. Interestingly this last reboot booted straight into the guest and lightdm (where that wm came from is beyond me!). Can't login to any wm as me though. Here's the log file error: #(EE) open /dev/fb0: permission denied# after finding correct syntax for the log file ;)
On Fri, Mar 16, 2018 at 08:32:29AM -0600, okeefe@cybermesa.com wrote:
Probably worth looking for clues here:
(==) Log file: "home/ubuntu/.localshare/xorg/Xorg.1.log" time, (current time) Can we see something like: $grep -2 '(EE)' ~/.localshare/xorg/Xorg.1.log
But my guess is this problem will turn out to be about too many display managers or multiple X sessions or X fighting with wayland or whatever the ubuntu wayland-competitor was called etc. I'd be interested in seeing if any X servers are running. Maybe something like: $ps ax | grep Xorg or even $ps ax | grep X
And if you find a process running X it's probably a display manager that you aren't using, and maybe it can be shut off i.e: $sudo /etc/init.d/somedm stop The only process I could see was Xorg (from "top")
Thanks so much. I know that all the parts are there but getting them ordered seems to be the issue
-- sam _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
participants (4)
-
okeefe@cybermesa.com -
s@mnoble.net -
Satsangat Khalsa -
Ted Pomeroy