Re: ttyS0

2018-03-22 Thread Catonano
2018-03-22 16:37 GMT+01:00 Catonano <caton...@gmail.com>:

> I managed to get the error messages not translated in Italian
>
> -bash: cannot set terminal process group (340): Inappropriate ioctl for
> device
> -bash: no job control in this shell
>
>
>
>
and this is the vm conf, should anyone wan to try to reproduce it



;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
;(use-modules (gnu packages tryton))
;(use-modules (gnu packages databases))
;(use-modules (gnu packages xorg))
(use-modules (gnu services xorg))
(use-modules (gnu packages display-managers))
(use-service-modules desktop)
(use-package-modules certs gnome)
;(use-service-modules databases)

;(use-service-modules trytond)



(operating-system
  (host-name "antelope")
  (timezone "Europe/Paris")
  ;;(locale "it_IT.utf8")

  ;;This is to be able to login into a guest system
  (kernel-arguments '("console=ttyS0"))

  ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (target "/dev/sda")))

  (file-systems (cons (file-system
(device "my-root")
(title 'label)
(mount-point "/")
(type "ext4")

  )
  %base-file-systems))

  (users (cons (user-account
(name "catonano")
(password (crypt " " "ab"))
(comment "Alice's brother")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/catonano"))
   %base-user-accounts))


  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs ;for HTTPS access
   gvfs  ;for user mounts
   ;;python-trytond
   ;;tryton
   ;;postgresql
   lightdm
   lightdm-gtk-greeter
   %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*
(service agetty-service-type
 (agetty-configuration (tty "ttyS0")))
(console-keymap-service "de")  <-- PAY ATTENTION HERE !!
;(gnome-desktop-service)
;(xfce-desktop-service)
(cdr %desktop-services)))

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


Re: ttyS0

2018-03-22 Thread Catonano
I managed to get the error messages not translated in Italian

-bash: cannot set terminal process group (340): Inappropriate ioctl for
device
-bash: no job control in this shell



2018-03-21 0:08 GMT+01:00 Catonano <caton...@gmail.com>:

> I have this couple of lines in my configuration
>
> (service agetty-service-type
>  (agetty-configuration (tty "ttyS0")))
>
> When I launch the VM I see a lot off stu scrolling on ttyS0
>
> But then, when I try to login, I get these error messages
>
> -bash: impossibile impostare il gruppo di processi del terminale (341):
> ioctl non appropriata per il device
> -bash: nessun controllo dei job in questa shell
>
>
> It says:
>
> -bash: the setup of the group of processes of the terminal (341) is
> impossible: ioctl not suited for the device
> -bash: no jobs control in this shell
>
> This is not vital. I can live without this
> It's just that I'd like to be able to log in through the host terminal
>
> Thanks
>


ttyS0

2018-03-20 Thread Catonano
I have this couple of lines in my configuration

(service agetty-service-type
 (agetty-configuration (tty "ttyS0")))

When I launch the VM I see a lot off stu scrolling on ttyS0

But then, when I try to login, I get these error messages

-bash: impossibile impostare il gruppo di processi del terminale (341):
ioctl non appropriata per il device
-bash: nessun controllo dei job in questa shell


It says:

-bash: the setup of the group of processes of the terminal (341) is
impossible: ioctl not suited for the device
-bash: no jobs control in this shell

This is not vital. I can live without this
It's just that I'd like to be able to log in through the host terminal

Thanks