Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: mark123 on June 09, 2019, 06:43:13 AM

Title: Gnome Desktop
Post by: mark123 on June 09, 2019, 06:43:13 AM
Has anyone successfully installed Gnome Desktop on CorePure64 10? If so what guidelines did you follow and whare are they located. I have had no success trying to install Gnome and boot to the desktop!
Title: Re: Gnome Desktop
Post by: Juanito on June 09, 2019, 06:52:12 AM
Yes - you need to install the gnome-session extension and follow the instructions in the info file - note that it will start a wayland session by default and you will need graphics-KERNEL and Xorg-7.7-3d installed.

Edit: I just double-checked:
Code: [Select]
$ xdg-user-dirs-update
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/networkmanager start
$ sudo /usr/local/lib/elogind/elogind --daemon
$ su - tc
$ gnome-session

..works fine

Note also that the locale needs to be set for gnome-terminal to work
Title: Re: Gnome Desktop
Post by: mark123 on June 09, 2019, 09:06:22 AM
Thanks Juanito - I will try again!
Title: Re: Gnome Desktop
Post by: mark123 on June 09, 2019, 09:26:38 AM
Juanito,

xdg-user-dirs-update (not found in system)
Title: Re: Gnome Desktop
Post by: Juanito on June 09, 2019, 09:31:58 AM
You need to load the xdg-user-dirs extension - the gnome-session info file mentions that this is optional
Title: Re: Gnome Desktop
Post by: mark123 on June 09, 2019, 11:18:03 AM
This command is not found - sudo /usr/local/etc/init.d/networkmanager start
Title: Re: Gnome Desktop
Post by: Rich on June 09, 2019, 11:58:50 AM
Hi mark123
It's in  networkmanager.tcz.  Use the  Apps  utility to check for missing dependencies.
Title: Re: Gnome Desktop
Post by: Juanito on June 09, 2019, 12:14:27 PM
How did you install gnome-session? If you used the apps gui all the dependencies should be downloaded.
Title: Re: Gnome Desktop
Post by: mark123 on June 09, 2019, 03:13:53 PM
I had forgot to install gnome-session.

The command gnome-session produced a lot of errors about gnome-keyring among others. Perhaps it is my NVIDIA Card.

If I try 32 Bit TinyCore 10 do I use TinyCore or MicroCore as a starting point? I just want to see what the gnome display looks like as I need higher quality text than FLTK can produce.

Can you send a screen shot of your CorePure64 Gnome setup?
Title: Re: Gnome Desktop
Post by: Rich on June 09, 2019, 04:23:33 PM
Hi mark123
... The command gnome-session produced a lot of errors about gnome-keyring among others. Perhaps it is my NVIDIA Card. ...
Did you read:
http://tinycorelinux.net/10.x/x86_64/tcz/gnome-keyring.tcz.info
It says:
Code: [Select]
Howto:
$ cat ~/.X.d/gnome-keyring
 /usr/local/bin/gnome-keyring-daemon --start --components=gpg
 /usr/local/bin/gnome-keyring-daemon --start --components=pkcs11
 /usr/local/bin/gnome-keyring-daemon --start --components=secrets
 /usr/local/bin/gnome-keyring-daemon --start --components=ssh

Which suggests you should create the file  ~/.X.d/gnome-keyring  containing those 4 lines. Those commands will then execute
right after X starts.

Title: Re: Gnome Desktop
Post by: curaga on June 09, 2019, 11:29:11 PM
Using Gnome will not change what the text looks like in FLTK apps. Each app will keep its look in different environments, and you can use any app in any environment (with some exceptions).
Title: Re: Gnome Desktop
Post by: Juanito on June 10, 2019, 12:58:23 AM
The command gnome-session produced a lot of errors about gnome-keyring among others.
OK, but did gnome start? gnome-session will autostart any gnome-keyring daemons it needs.

Quote
If I try 32 Bit TinyCore 10 do I use TinyCore or MicroCore as a starting point?
gnome-session is only available in CorePure64

Quote
Can you send a screen shot of your CorePure64 Gnome setup?
see attached
Title: Re: Gnome Desktop
Post by: mark123 on June 10, 2019, 05:25:28 AM
Juanito,

I appreciate all of your help on this.

No, gnome did not start.

I replaced my NVIDIA 610 with a simpler PCI Video Card  NVIDIA GEForce 6200 and tried again.

The command "sudo /usr/local/etc/init.d/networkmanager start" failed.

When I ran the command "su - tc" the system went to the TinyCore Background Screen and I had no menus or a way to exit.

Here is my procedure:

1. Install CorePure64 with no GUI to a 1GB FlashDisk
2. tce-load -wi gnome-session
3. tce-load -wi xdg-user-dirs.
4. tce-load -wi graphics-KERNEL
5. tce-load -wi Xorg-7.7-3d

$ xdg-user-dirs-update (THIS WORKS)
$ sudo /usr/local/etc/init.d/dbus start (THIS WORKS)
$ sudo /usr/local/etc/init.d/networkmanager start (THIS FAILS)
$ sudo /usr/local/lib/elogind/elogind --daemon (THIS WORKS)
$ su - tc (THIS FAILS to a TinyCore GUI Background Screen with NO means to exit)
$ gnome-session (COULD NOT TRY THIS)

Title: Re: Gnome Desktop
Post by: Juanito on June 10, 2019, 05:50:26 AM
$ su - tc (THIS FAILS to a TinyCore GUI Background Screen with NO means to exit)

You need to execute all of the commands from the console prompt, not from a gui terminal window.
Title: Re: Gnome Desktop
Post by: mark123 on June 10, 2019, 06:06:11 AM
I used CorePure64 so I was using the console prompt! I have no GUI Installed.

Is my written procedure correct? Something must be missing!
Title: Re: Gnome Desktop
Post by: Juanito on June 10, 2019, 06:22:33 AM
I don't understand how the command "su - tc" fails to a gui background screen if no gui is running?

In addition, networkmanager is a recursive dependency of gnome-session, so if gnome-session is loaded, then "sudo /usr/local/etc/init.d/networkmanager start" should work.

Rather than setting the various extensions "onboot" by using "tce-load -wi", I suggest you load them like this:
Code: [Select]
$ tce-load -i graphics-KERNEL Xorg-7.7-3d alsa-config gnome-session xdg-user-dirs
$ tce-status -i | grep networkmanager [to check if networkmanager is loaded]