all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: help-guix@gnu.org
Subject: Re: MATE Desktop fails
Date: Mon,  8 May 2023 15:32:42 +0000	[thread overview]
Message-ID: <c63d8d81-1425-6390-d3d8-565df999194f@posteo.de> (raw)
In-Reply-To: <CAFHYt57OmuvwwFpYV8tY6YWyWHD4WfrUBNQtXEoLNUDzcdo7Kw@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 10605 bytes --]

Hi,
thanks for your help.

How can I install "lightdm" instead of "gdm"

1.
First I guess to install:

lightdm
lightdm-gtk-greeter 2.0.8

2.
changes in my conif.scm:
-----------------------------------------------------------------------------
my config.scm:

; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video" "libvirt")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                (keyboard-layout keyboard-layout)))
             (service libvirt-service-type
                      (libvirt-configuration
                       (unix-sock-group "libvirt")
                       (tls-port "16555")))
             (service virtlog-service-type
                      (virtlog-configuration
                       (max-clients 1000))))

        (modify-services %desktop-services
  	 (guix-service-type
                 config => (guix-configuration
                   (inherit config)
                   (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes"))))
	 (sane-service-type _ => sane-backends))))
	
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (targets (list "/boot/efi"))
       (keyboard-layout keyboard-layout)))
   (swap-devices
    (list (swap-space
           (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems))
   (initrd-modules (cons "virtio_scsi"    ; Needed to find the disk
                         %base-initrd-modules)))

--------------------------------------------------------------------------

3.
where to put that?

(service lightdm-service-type)

----------------------------------------------------
4. or this one?
A more elaborate example making use of the VNC capabilities and enabling 
more features and verbose logs could look like:

(service lightdm-service-type
          (lightdm-configuration
           (allow-empty-passwords? #t)
           (xdmcp? #t)
           (vnc-server? #t)
           (vnc-server-command
            (file-append tigervnc-server "/bin/Xvnc"
                         "  -SecurityTypes None"))
           (seats
            (list (lightdm-seat-configuration
                   (name "*")
                   (user-session "ratpoison"))))))
--------------------------------------------------------------
I don’t want ratpoison, so what should I put there instead?
--------------------------------------------------------------

I copied the "Date Type" in order to make it easier for you to see, what 
I would need.


Data Type: lightdm-configuration

     Available lightdm-configuration fields are:

     lightdm (default: lightdm) (type: file-like)

         The lightdm package to use.
     allow-empty-passwords? (default: #f) (type: boolean)

         Whether users not having a password set can login.
     debug? (default: #f) (type: boolean)

         Enable verbose output.
     xorg-configuration (type: xorg-configuration)

         The default Xorg server configuration to use to generate the 
Xorg server start script. It can be refined per seat via the 
xserver-command of the <lightdm-seat-configuration> record, if desired.
     greeters (type: list-of-greeter-configurations)

         The LightDM greeter configurations specifying the greeters to use.
     seats (type: list-of-seat-configurations)

         The seat configurations to use. A LightDM seat is akin to a user.
     xdmcp? (default: #f) (type: boolean)

         Whether a XDMCP server should listen on port UDP 177.
     xdmcp-listen-address (type: maybe-string)

         The host or IP address the XDMCP server listens for incoming 
connections. When unspecified, listen on for any hosts/IP addresses.
     vnc-server? (default: #f) (type: boolean)

         Whether a VNC server is started.
     vnc-server-command (type: file-like)

         The Xvnc command to use for the VNC server, it’s possible to 
provide extra options not otherwise exposed along the command, for 
example to disable security:

         (vnc-server-command (file-append tigervnc-server "/bin/Xvnc"
                                          " -SecurityTypes None" ))

         Or to set a PasswordFile for the classic (unsecure) VncAuth 
mechanism:

         (vnc-server-command (file-append tigervnc-server "/bin/Xvnc"
                                          " -PasswordFile 
/var/lib/lightdm/.vnc/passwd"))

         The password file should be manually created using the 
vncpasswd command. Note that LightDM will create new sessions for VNC 
users, which means they need to authenticate in the same way as local 
users would.
     vnc-server-listen-address (type: maybe-string)

         The host or IP address the VNC server listens for incoming 
connections. When unspecified, listen for any hosts/IP addresses.
     vnc-server-port (default: 5900) (type: number)

         The TCP port the VNC server should listen to.
     extra-config (default: ()) (type: list-of-strings)

         Extra configuration values to append to the LightDM 
configuration file.
----------------------------------

Data Type: lightdm-gtk-greeter-configuration

     Available lightdm-gtk-greeter-configuration fields are:

     lightdm-gtk-greeter (default: lightdm-gtk-greeter) (type: file-like)

         The lightdm-gtk-greeter package to use.
     assets (default: (adwaita-icon-theme gnome-themes-extra 
hicolor-icon-theme)) (type: list-of-file-likes)

         The list of packages complementing the greeter, such as package 
providing icon themes.
     theme-name (default: "Adwaita") (type: string)

         The name of the theme to use.
     icon-theme-name (default: "Adwaita") (type: string)

         The name of the icon theme to use.
     cursor-theme-name (default: "Adwaita") (type: string)

         The name of the cursor theme to use.
     cursor-theme-size (default: 16) (type: number)

         The size to use for the cursor theme.
     allow-debugging? (type: maybe-boolean)

         Set to #t to enable debug log level.
     background (type: file-like)

         The background image to use.
     at-spi-enabled? (default: #f) (type: boolean)

         Enable accessibility support through the Assistive Technology 
Service Provider Interface (AT-SPI).
     a11y-states (default: (contrast font keyboard reader)) (type: 
list-of-a11y-states)

         The accessibility features to enable, given as list of symbols.
     reader (type: maybe-file-like)

         The command to use to launch a screen reader.
     extra-config (default: ()) (type: list-of-strings)

         Extra configuration values to append to the LightDM GTK Greeter 
configuration file.
-----------------------------------------------------

I don’t know what "seat-configuration" means



Data Type: lightdm-seat-configuration

     Available lightdm-seat-configuration fields are:

     name (type: seat-name)

         The name of the seat. An asterisk (*) can be used in the name 
to apply the seat configuration to all the seat names it matches.
     user-session (type: maybe-string)

         The session to use by default. The session name must be 
provided as a lowercase string, such as "gnome", "ratpoison", etc.
     type (default: local) (type: seat-type)

         The type of the seat, either the local or xremote symbol.
     autologin-user (type: maybe-string)

         The username to automatically log in with by default.
     greeter-session (default: lightdm-gtk-greeter) (type: greeter-session)

         The greeter session to use, specified as a symbol. Currently, 
only lightdm-gtk-greeter is supported.
     xserver-command (type: maybe-file-like)

         The Xorg server command to run.
     session-wrapper (type: file-like)

         The xinitrc session wrapper to use.
     extra-config (default: ()) (type: list-of-strings)

         Extra configuration values to append to the seat configuration 
section.
------------------------------------------------------
Kind regards

Gottfried


Am 07.05.23 um 17:24 schrieb Felix Lechner:
> Hi Gottfried,
> 
> On Sun, May 7, 2023 at 5:12 AM Gottfried <gottfried@posteo.de> wrote:
>>
>> Am I the only one who has MATE-Desktop?
> 
> There are surely others besides you. (For example, I think the Linux
> creator may use it, although not on Guix.) It would make sense to wait
> for more responses before you take any drastic actions.
> 
> As for GNOME, I love the looks and all its integration but GDM does a
> lot of things (like suspend my servers). I'm not sure how well MATE,
> which I think is GNOME 2, works with newer versions of GDM. You could
> try another "display manager" like lightdm. They should really be
> called graphical login managers.
> 
> Personally, I got so tired of all the changes in GNOME that I now use
> EXWM again, but I do not recommend it for anyone except hardy Linux
> (and Emacs) lovers.
> 
> Kind regards
> Felix

-- 



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2023-05-08 15:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-06  8:22 MATE Desktop fails Gottfried
2023-05-07 12:11 ` Gottfried
2023-05-07 12:32   ` Julien Lepiller
2023-05-08 15:13     ` Gottfried
2023-05-07 15:24   ` Felix Lechner via
2023-05-08 15:32     ` Gottfried [this message]
2023-05-08 16:24       ` Felix Lechner via
2023-05-09 10:09         ` Gottfried
2023-05-09 14:03           ` Felix Lechner via
2023-05-09 14:23             ` Gottfried
2023-05-09 17:07               ` Felix Lechner via
2023-05-09 21:26                 ` Gottfried
2023-05-09 22:58                   ` Felix Lechner via
2023-05-10 14:08                     ` Gottfried
2023-05-09 10:11         ` Gottfried

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c63d8d81-1425-6390-d3d8-565df999194f@posteo.de \
    --to=gottfried@posteo.de \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.