[Sugar-devel] Running Sugar Desktop on Ubuntu 18.04

Swarup N nswarup14 at gmail.com
Mon Jun 3 00:48:17 EDT 2019


Thanks
1) When I log out of Ubuntu 18.04 and log in with Sugar selected in
the *gdm3-greeter,
*I am shown a maroon (default Ubuntu color), with the Sugar cursor and
nothing else appears, even after a long time.
2) The file is empty.
3) The file is empty again.
4) The */home/guest/.xession *file is owned by root. The directory
*/home/guest/
*is owned by guest itself.

Please advise on how I should proceed from here.

-Swarup N

On Mon, Jun 3, 2019 at 9:57 AM James Cameron <quozl at laptop.org> wrote:

> Oh, and I forgot to mention; the .xsession file is not used if you
> have chosen Sugar from the desktop menu in the gdm3 greeter.  Our
> deleted documentation for writing to .xsession was only in the context
> of starting an Xorg session inside Xrdp or Xvnc.  The practices do not
> combine.
>
> On Mon, Jun 03, 2019 at 02:24:06PM +1000, James Cameron wrote:
> > Thanks for the problem report.  Let's find the cause.  There are many
> > potential causes, so rather than list them I'll ask questions to try
> > to eliminate them;
> >
> > 1.  what happens when you try to log in with Sugar selected in the
> > desktop menu?
> >
> > 2.  what is in the file /home/guest/.sugar/default/logs/shell.log ?
> >
> > 3.  what is in the file /home/guest/.xsession-errors ?
> >
> > 4.  what is the ownership of the file /home/guest/.xsession ?
> >
> > Permission denied is unexpected.  The .xsession file should be owned
> > by the same user as the directory.  You can check owner with stat and
> > change it with chown.  Owner is shown as "Uid".  Check your shell
> > history for where you may have created the file as root by mistake.
> > You may increase the size of your shell history with the HISTSIZE
> > environment variable.
> >
> > Hope that helps!
> >
> > On Sun, Jun 02, 2019 at 07:24:11PM +0530, Swarup N wrote:
> > > Hello,
> > > For the last couple of days, I've been unable to launch the Sugar
> desktop
> > > environment. I'm currently using Ubuntu 18.04 and have installed Sugar
> v0.114
> > > via the native build.
> > >
> > > As per the [1]docs, under Packaged Sugar, it now says Log out and Log
> in with
> > > the sugar desktop selected. I note that the section about rdesktop and
> xdrp has
> > > been removed. However doing the above does not let me access the Sugar
> desktop.
> > >
> > > I tried running commands like sudo su - guest -c 'echo sugar >>
> .xsession' and
> > > echo sugar | sudo tee -a /home/guest/.xsession.
> > >
> > > The former runs successfully whereas the latter returns, su: .xsession:
> > > Permission denied. This has never happened before, and I was able to
> run both
> > > successfully.
> > >
> > > I wanted to ask in a private thread before asking it on [2]@Sugar-dev
> Devel,
> > > incase anyone has encountered such a issue before. I have tried
> establishing a
> > > sugar desktop, on both a bare machine with just Ubuntu 18.04, as well
> as a VM
> > > (Oracle Virtualbox), and in both the places, I've encountered the same
> issue.
> > >
> > > Thanks,
> > > - Swarup N
> > >
> > > References:
> > >
> > > [1]
> https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> > > [2] mailto:sugar-devel at lists.sugarlabs.org
> >
> > --
> > James Cameron
> > http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190603/eee80993/attachment.html>


More information about the Sugar-devel mailing list