I ran as "joshua"

guix package -I xf86-video-intel

and

guix package -I xf86-video-nouveau


Guix had no output on either of those commands, which means neither is 
installed for my user joshua right?  BUT I can login to gnome as root.  So 
obviously one of those xf86-video-* is installed in my root user profile right?


I did go ahead and login to a virtual console and run as "joshua":

guix package -i xf86-video-nouveau;


So now my non-root user "joshua" has xf86-video-nouveau installed.  I tried 
logging into Gnome, gnome on X, and xfce several times as "joshua".  It did not 
work.  I rebooted and tried again.  I still cannot login.

Joshua

P.S.  I originally posted this to help-guix, so I'm not sure how it came to be 
on the guix-bugs mailing list.  But when I look at the bug online ( 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26158 )  my original email is not 
present.  So I'm attaching the original email as well, which has my config.scm 
and some relevant errors that I can find.  Thanks for the rapid responses.  
Essentially I am dual booting guixSD and Parabola and both share the same 
/home.  I'm assuming that is part of the problem.


-------- Forwarded Message --------
Subject:        I can only start an X server in guix as root
Date:   Fri, 17 Mar 2017 20:50:07 -0400
From:   Joshua Branson <bran...@hotmail.com><mailto:bran...@hotmail.com>
To:     help-g...@gnu.org<mailto:help-g...@gnu.org>





    Hello,


I currently dual boot guixSD and Parabola.  I use a macbook 7,1, and I
am unable to start an X server in guix as my normal user.  I can login
to gnome via my root user, but obviously this is not ideal.  I can login
to a virtual console as my normal user and access Emacs (yeah), but it
would be nice to be able to start gnome as my normal user.  Just today I ran

guix pull; sudo guix pull; guix system reconfigure /etc/gnome-xfce.scm


It updated fine.  I rebooted and the problem still persists.  Parabola
and guix have seperate / partitions, but they share the same /home.
I've set up guix to create my normal user (joshua) with a uid of 2000,
because that is the uid that the user joshua has on parabola.

I'm attaching my config.scm file and some errors that I've found that
are probably relevant.  Any help would be nice.





grep WW Xorg.0.log
[  6357.578] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.212] (WW) `fonts.dir' not found (or not valid) in 
"/usr/share/fonts/100dpi/".
[    47.212] (WW) `fonts.dir' not found (or not valid) in 
"/usr/share/fonts/75dpi/".
[    47.237] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or 
directory)
[    47.385] (WW) Warning, couldn't open module nv
[    47.393] (WW) Warning, couldn't open module fbdev
[    47.393] (WW) Warning, couldn't open module vesa
[    47.394] (WW) Falling back to old probe method for modesetting
[    47.395] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  6357.578] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[  6357.578] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[  6357.578] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error


grep EE Xorg.1.log
[    47.080] Current Operating System: Linux parabola 4.10.1-gnu-1 #1 SMP 
PREEMPT Mon Feb 27 17:40:02 UYT 2017 x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    47.385] (EE) Failed to load module "nv" (module does not exist, 0)
[    47.393] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    47.393] (EE) Failed to load module "vesa" (module does not exist, 0)
[    47.580] (EE) NOUVEAU(0): [COPY] failed to allocate class.
[  6357.259] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.284] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.309] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.346] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.366] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.379] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.393] (EE) systemd-logind: failed to release device: Connection is closed
[  6357.578] (EE) systemd-logind: ReleaseControl failed: Connection is closed

tail -n 10000 /var/log/messages | grep WARNING -m 5 -n

223:Jan  3 15:14:42 localhost avahi-daemon[326]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!
691:Feb  4 10:27:09 localhost avahi-daemon[326]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!
1694:Feb  4 11:07:13 localhost avahi-daemon[324]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!
2626:Feb  4 11:12:58 localhost avahi-daemon[326]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!
3364:Feb  4 17:58:05 localhost avahi-daemon[326]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!

tail -n 10000 /var/log/messages | grep ERROR -m 5 -n

1225:Feb  4 10:33:46 localhost ntpd[321]: kernel reports TIME_ERROR: 0x41: 
Clock Unsynchronized
3909:Feb  4 18:07:39 localhost ntpd[322]: kernel reports TIME_ERROR: 0x41: 
Clock Unsynchronized
6121:Mar 14 15:51:34 localhost ntpd[320]: kernel reports TIME_ERROR: 0x41: 
Clock Unsynchronized
6916:Mar 15 16:17:38 localhost ntpd[318]: kernel reports TIME_ERROR: 0x41: 
Clock Unsynchronized
7687:Mar 16 13:29:37 localhost ntpd[319]: kernel reports TIME_ERROR: 0x41: 
Clock Unsynchronized


some other old errors

Dec  5 21:09:54 localhost gnome-session-binary[443]: WARNING: Could not parse 
desktop file xscreensaver.desktop or it references a not found TryExec binary
Dec  5 21:09:55 localhost gnome-keyring-daemon[475]: couldn't access control 
socket: /run/user/0/keyring/control: No such file or directory
Dec  5 21:09:55 localhost gnome-keyring-daemon[476]: couldn't access control 
socket: /run/user/0/keyring/control: No such file or directory
Dec  5 21:09:55 localhost gnome-keyring-daemon[477]: couldn't access control 
socket: /run/user/0/keyring/control: No such file or directory
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce and awesome.
;; I am using this file as of march 17th

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
 (host-name "GuixSD")
 (timezone "America/Indianapolis")
 (locale "en_US.UTF-8")
 ;;blacklist this keyboard module.  It might help my mouse to load properly.
 ;;http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20433
;; (kernel-arguments '("modprobe.blacklist=usbkdb"))
 (swap-devices '("/dev/sda3"))

 ;; Assuming /dev/sdX is the target hard disk, and "my-root"
 ;; is the label of the target root file system.
 (bootloader (grub-configuration (device "/dev/sda")
				 ;; This bug was fixed with a newer version of guix.  Cool!
                                 ;; Here is my hack (grub-configuration appends bzImage to `linux')
                                 ;; to add a custom entry for debian on /dev/sda3 to the Grub menu
                                 ;; On Debian, do:
                                 ;;   sudo mkdir -p /boot/latest
                                 ;;   sudo ln -s $(ls -t /boot/vmlinuz*|head -1) /boot/latest/bzImage
                                 ;;   sudo ln -s $(ls -t /boot/initramfs*|head -1) /boot/latest/initrd
                                 (menu-entries
                                  (list (menu-entry
                                         (label "Parabola")
                                         (linux "(hd0,1)/boot/vmlinuz-linux-libre")
                                         (linux-arguments '("root=/dev/sda1 ro"))
                                         (initrd "(hd0,1)/boot/initramfs-linux-libre.img"))))))

 (file-systems (cons* (file-system
                       (device "my-root")
                       (title 'label)
                       (mount-point "/")
                       (type "ext4"))
                      (file-system
                       (mount-point "/home")
                       (device "/dev/sda4")
                       (type "ext4"))
                      %base-file-systems))

 (users (cons (user-account
               (name "joshua")
               (comment "joshua")
	       ;;I need to specify that joshua has the uid of 2000.
               (uid 2000)
               (group "users")
               (supplementary-groups '("wheel" "netdev"
                                       "audio" "video" "home"))
               (home-directory "/home/joshua"))      
              %base-user-accounts))

 (groups (cons (user-group
		(name "home")
		;;I need to specify that there is a home group.  Most of my files in my home directory are owned by the group home.
		;;Though I could probably just make them owned by joshua.
		(id 2000)) 
                %base-groups))
 ;; This is where we specify system-wide packages.
 (packages (cons*
	    ;;awesome
		  nss-certs         ;for HTTPS access
		  ;;emacs
		  ;;icecat
		  ;;adding in extra window managers, so maybe I'll be able to login.
		  ;;i3-wm
		  ;;xmonad
		  ;;ratpoison
                  %base-packages))

 
;; (packages (append (map specification->package
;;			'(			
			;;"awesome"
			;;"brasero"
			;;"devhelp"			
			;;"diction" 
			;;"emacs"
			;;"emacs-async"
			;;"emacs-ace-window"
			;;"emacs-dash"
			;;"emacs-emms"
			;;"emacs-evil"
			;;"emacs-f"
			;;"emacs-flycheck"
			;;"emacs-helm"
			;;"emacs-js2-mode"
			;;"emacs-magit-popup"
			;;"emacs-mmm-mode"
			;;"emacs-org"
			;;"emacs-paredit"
			;;"emacs-pdf-tools"
			;;"emacs-projectile"
			;;"emacs-rainbow-delimiters"
			;;"emacs-smart-mode-line"
			;;"emacs-web-mode"
			;;"emacs-zenburn-theme"
			;;"geiser"
			;;code is guile like in python
			;;"font-hack"
			;;"font-dejavu"	                
	                ;;"icecat"
			;; for HTTPS access
;;			"nss-certs"))
  ;;                %base-packages))

 ;; Add GNOME and/or Xfce---we can choose at the log-in
 ;; screen with F1.  Use the "desktop" services, which
 ;; include the X11 log-in service, networking with Wicd,
 ;; and more.
 (services (cons* (gnome-desktop-service)
                  (xfce-desktop-service)
		  ;; apparently syslog is provided by default
		  ;;(syslog-service)
                  ;;make the console use the dvorak keyboard layout
                  (console-keymap-service "dvorak")
                  %desktop-services))

 ;; Allow resolution of '.local' host names with mDNS.
 (name-service-switch %mdns-host-lookup-nss))

Reply via email to