all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Reuleaux <rx@a-rx.info>
To: help-guix Users <help-guix@gnu.org>
Subject: simple config with just startx not working for me
Date: Sat, 21 Aug 2021 22:15:41 +0100	[thread overview]
Message-ID: <87zgtasdmq.fsf@softland> (raw)

I am fairly new to guix, thus bear with me please.

I want to start X on my system with startx - i.e. log into my system
just from a tty, and then start X by hand (and i3 will be my window
manager, I just have an .xsession file in my $HOME, where I start i3)
- I do not want any desktop-services / desktop-manager / graphical login manager
(this may seem old school - but has worked fine for me for years
under debian). 

I cannot really get this working though: I have xinit installed (with
startx therein, cf. my config below), but when I

  startx

on the command line, I get this:

    xauth:  file /home/rx/.serverauth.1957 does not exist

    xinit: unable to run server "/gnu/store/8v0sja48lmlx5j28hs2mci2rr7v8ilm5-xinit-1.4.1/bin/X": No such file or directory
    Use the -- option, or make sure that /gnu/store/8v0sja48lmlx5j28hs2mci2rr7v8ilm5-xinit-1.4.1/bin is in your path and
    that "/gnu/store/8v0sja48lmlx5j28hs2mci2rr7v8ilm5-xinit-1.4.1/bin/X" is a program or a link to the right type of server
    for your display.  Possible server names include:

        Xorg        Common X server for most displays
        Xvfb        Virtual frame buffer
        Xfake       kdrive-based virtual frame buffer
        Xnest       X server nested in a window on another X server
        Xephyr      kdrive-based nested X server
        Xvnc        X server accessed over VNC's RFB protocol
        Xdmx        Distributed Multi-head X server

    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: unexpected signal 2

Also, in the guix manual I find an "xorg-start-command" mentioned, but I don't
know how that is supposed to be used (or if I need it at all)? - thus
xorg-start-command is commented out below.

Thanks in advance.
  -A



(packages
    (append

     (map specification->package
          '(
	    "xinit"
	    
	    "i3-wm"

	    "python"
	    "rsync"
	    ;; "python-hy"
	    
	    ;; ""
	    
	    )
	  )

     
     %base-packages))

  (services
    (append
     (list

      (service openssh-service-type
	       
               (openssh-configuration
                ;; (x11-forwarding? #t)
		
                ;; (permit-root-without-password)
                (permit-root-login #t)
                
                ))

      (service dhcp-client-service-type)

      (set-xorg-configuration (xorg-configuration
			       (keyboard-layout keyboard-layout)
			       
			       ))
      

      ;; (xorg-start-command )

      )


     %base-services)

    ) ;; services




             reply	other threads:[~2021-08-21 21:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 21:15 Andreas Reuleaux [this message]
2021-08-21 22:17 ` simple config with just startx not working for me Vagrant Cascadian
2021-08-21 23:17   ` Andreas Reuleaux
2021-08-22  5:55     ` 宋文武
2021-08-22 12:57       ` Andreas Reuleaux
2021-08-22 14:01       ` Andreas Reuleaux
2021-08-24  8:14 ` Boris A. Dekshteyn
2021-08-24  8:33   ` Boris A. Dekshteyn
2021-08-24 11:27     ` Andreas Reuleaux

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=87zgtasdmq.fsf@softland \
    --to=rx@a-rx.info \
    --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.