<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/03/2015 17:51, Damian wrote:<br>
    </div>
    <blockquote cite="mid:54FDDD93.4000204@surr.co.uk" type="cite">On
      09/03/2015 12:11, Rob wrote:
      <br>
      <blockquote type="cite">On Sun, Mar 8, 2015 at 4:06 PM, Damian
        <<a class="moz-txt-link-abbreviated" href="mailto:myth@surr.co.uk">myth@surr.co.uk</a>
        <br>
        <a class="moz-txt-link-rfc2396E" href="mailto:myth@surr.co.uk"><mailto:myth@surr.co.uk></a>> wrote:
        <br>
        <br>
            Hello all,
        <br>
        <br>
            I'm running MythBuntu on my home server's backend. The
        server is in
        <br>
            the garage and I access it via primarily via VNC.
        <br>
        <br>
            For a few weeks now, the window manager (Xfce) has been
        messed up.
        <br>
            When I log into VNC, it looks 'kind of' like it usually
        does, but
        <br>
            there's no visible panel at the top (although I think that's
        just
        <br>
            because other windows are in front of it rather than below
        it) and
        <br>
            the other windows on screen (Firefox, SpiderOak, TeamViewer
        etc)
        <br>
            don't have a top bar. The bar that you use to move, close,
        maximise
        <br>
            and minimise a window. Those top bars are simply not there.
        <br>
        <br>
            Most things seem to be working ok with the server. The
        MythTV
        <br>
            backend is functioning fine. My music server (Logitec Media
        Server)
        <br>
            is working fine. I seem to remember that Dropbox stopped
        working,
        <br>
            for some reason, a week or two before this problem started,
        but I
        <br>
            didn't worry too much about that.
        <br>
        <br>
            So, it's household function is 'OK', but I can't do anything
        else on
        <br>
            the machine because the GUI is messed up.
        <br>
        <br>
            Do you lovely people have any idea how to fix this?
        <br>
        <br>
        <br>
        Try logging in via ssh and either deleting or moving the
        directory that
        <br>
        stores XFCE's desktop configuration.  It's been a while since
        I've
        <br>
        played with that environment, but my be is that it's either
        ~/.xfce or
        <br>
        some combination of ~/.gnome ~/.gnome2 ~/.gconf ~/.gconf2
        <br>
        <br>
      </blockquote>
      <br>
      OK, here's what I've tried in an attempt to narrow down the
      problem ...
      <br>
      <br>
      Before and after each of these lines, I've done:
      <br>
      sudo stop lightdm
      <br>
      sudo start lightdm
      <br>
      and then tried to log in via VNC to see if there's any difference.
      <br>
      <br>
      mv /home/gingerserver/.gnome2 /home/gingerserver/.gnome2-x
      <br>
      .. didn't fix it
      <br>
      <br>
      mv /home/gingerserver/.gconf /home/gingerserver/.gconf-x
      <br>
      .. didn't fix it
      <br>
      <br>
      mv /etc/lightdm /etc/lightdm-x
      <br>
      .. VNC wouldn't work after this
      <br>
      <br>
      I copied eveeything back to the original files, then homed in on
      the lightdm directory ...
      <br>
      <br>
      mv lightdm.conf lightdm.conf-x
      <br>
      .. couldn't connect after this
      <br>
      <br>
      mv lightdm-gtk-greeter.conf lightdm-gtk-greeter.conf-x
      <br>
      .. didn't fix
      <br>
      <br>
      mv lightdm-gtk-greeter-ubuntu.conf
      lightdm-gtk-greeter-ubuntu.conf-x
      <br>
      .. didn't fix
      <br>
      <br>
      mv mythbuntu-lightdm-gtk-greeter.conf
      mythbuntu-lightdm-gtk-greeter.conf-x
      <br>
      .. didn't fix
      <br>
      <br>
      mv users.conf users.conf-x
      <br>
      .. didn't fix
      <br>
      <br>
      So, I thought that I had potentially narrowed the problem down to
      the lightdm.conf file.
      <br>
      <br>
      However, the contents of that seem to be ...
      <br>
      <br>
      [SeatDefaults]
      <br>
      autologin-guest=false
      <br>
      autologin-user=homeserver
      <br>
      autologin-user-timeout=0
      <br>
      autologin-session=lightdm-autologin
      <br>
      greeter-session=lightdm-gtk-greeter
      <br>
      user-session=mythbuntu
      <br>
      <br>
      That all seems quite innocent.
      <br>
      <br>
      Can anyone see anything here that points to anything?
      <br>
      <br>
      Thanks,
      <br>
      Damian
      <br>
    </blockquote>
    <br>
    <font face="Helvetica, Arial, sans-serif">It's sorted!<br>
      <br>
      rm -r ~/.cache/sessions<br>
      <br>
      was the command that fixed it.<br>
      <br>
      Thanks for helping me get to the bottom of it everyone!<br>
      <br>
      Cheers,<br>
      Damian</font><br>
  </body>
</html>