Decio19851207
(usa Ubuntu)
Enviado em 09/12/2016 - 10:04h
Bom dia.
Sou iniciante nos trabalhos com linux. Aqui, tenho encontrado muita ajuda pra compensar a pouca prática. Meu ambiente principal é um laptop Ubuntu 16.04, uma estação que tem localmente instalado um Debian Jessie + xfce. Quero colocar essa estação pra dar boot pela rede.
Estou tendo dificuldades com as configurações do LTSP. Estou fazendo o teste por enquanto com uma estação. A mesma se conecta e carrega o perfil de usuário definido pra ela, porém, observando o monitor do sistema, tanto no computador q é servidor, quanto na estação, percebi que o processamento está sendo realizado nela, a estação, para minha surpresa. Depois de algumas buscas pela internet achei uma informação de configuração q poderia setar no arquivo lts.conf: LTSP_FATCLIENT = False, essa configuração, segundo o q percebi, forçaria todo processamento acontecer no servidor, que é o meu objetivo. Aí começou o problema. Nesse lts.conf, defini configurações direcionadas para essa estação, o hostname e o usuário q ela utilizaria durante o logon automático. Agora ela faz o logon e chega a exibir o ponteiro do mouse, só q em seguida ela faz logoff e esse processo virá um loop. Esse loop pode ser percebido olhando os logs no servidor.
Segue abaixo o lts.conf e uma parte do log:
--- lts.conf --- início
# If using NFS, lts.conf goes in /opt/ltsp/<arch>/etc/lts.conf.
# For NBD (the default in Ubuntu), /var/lib/tftpboot/ltsp/<arch>/lts.conf
# is used instead.
# A list of directives is available at
http://manpages.ubuntu.com/lts.conf
# or your installed lts.conf man page.
# Lines starting with '#' are comments.
# Avoid empty [Sections] as they're considered syntax errors.
# This section applies to all clients and is overriden by the other sections.
[Default]
# For troubleshooting, the following open a local console with Alt+Ctrl+F2.
#SCREEN_02=shell
#SCREEN_07=ldm
# Don't encrypt X traffic. Gives much faster graphics at a security cost.
LDM_DIRECTX=True
# If you're using Unity, you might want to install gnome-session-fallback and
# use it by default instead, as it performs better on LTSP thin clients.
#LDM_SESSION="gnome-fallback"
# Force all clients to a specific resolution.
#XRANDR_MODE_0=1024x768
# If the default 16bit color mode is giving you problems on thin clients:
#X_SMART_COLOR_DEPTH=False
# Use any local swap partitions on the clients.
#USE_LOCAL_SWAP=True
# Provide a "Login as Guest" button, which uses LDM_USERNAME/LDM_PASSWORD.
#LDM_GUESTLOGIN=True
# Automatically login clients with the specified LDM_USERNAME/LDM_PASSWORD.
#LDM_AUTOLOGIN=True
# Some other frequently used directives, described in the lts.conf manpage.
# For really low RAM clients, disable SOUND, LOCAL_APPS and LOCALDEV.
#SOUND=False
#VOLUME=50
#LOCAL_APPS=False
#LOCAL_APPS_EXTRAMOUNTS=/srv
#LOCALDEV=False
#LOCALDEV_DENY_INTERNAL_DISKS=False
#FSTAB_1="server:/home /home nfs defaults,nolock 0 0"
#XSERVER=vesa
#X_BLANKING=0
#X_NUMLOCK=True
#XKBLAYOUT="us,gr"
#XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
#LDM_LIMIT_ONE_SESSION=True
#LDM_LIMIT_ONE_SESSION_PROMPT=True
#LDM_PRINTER_DEFAULT="psc-1310-series"
# You can define sections to be included later on with "LIKE" directives.
[OLD_MONITOR]
# The following directives are useful in cases where the driver can't detect
# the (possibly old CRT) monitor timings and only offers low resolutions.
# Consult your monitor manual for the correct values, those are for 1024x768.
X_HORZSYNC=30.0-88.0
X_VERTREFRESH=50.0-88.0
# You can specify directives per client with MAC address (or IP or hostname)
# based sections.
# One way to get their MAC addresses is to run `arp -n` when they're at LDM.
#[A1:B1:C2:D4:E5:F6]
#HOSTNAME=pc01
#LDM_USERNAME=user01
#LDM_PASSWORD=pass01
# Include another section.
#LIKE=OLD_MONITOR
# ---------------------- Configuração Default: ----------------------
# Este é o principal arquivo de configuração do LTSP, configure com atenção.
# Substitua o "192.168.0.10" pelo endereço IP correto do servidor LTSP:
[Default]
SERVER = 192.168.1.254
# Esta opção faz com que o LTSP detecte automaticamente a placa de vídeo
# dos terminais, utilizando os drivers do X.org
XSERVER = auto
# Configure aqui o tipo de mouse que será usado nos terminais por default.
# Você pode especificar tipos de mouse diferentes na configuração de cada
# terminal.
LTSP_FATCLIENT = False
X_NUMLOCK=True
X_MOUSE_PROTOCOL = "PS/2"
X_MOUSE_DEVICE = "/dev/psaux"
X_MOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
# Configuração default do teclado, ABNT2:
XkbModel = ABNT2
XkbLayout = br
# Faz com que as estações carreguem o ambiente gráfico por default:
SCREEN_02 = shell
SCREEN_07 = LDM
RUNLEVEL = 5
# Força resolução em todos os clientes
XRANDR_DISABLE = True
XRANDR_MODE_0 = 1366x768
[00:0f:ea:24:9c:d6]
LTSP_FATCLIENT = False
HOSTNAME = SUPORTEIPA03
LDM_USERNAME = usr001
LDM_PASSWORD = 123teste
LDM_AUTOLOGIN = True
X_NUMLOCK=True
LOCALDEV_DENY_INTERNAL_DISKS = False
--- lts.conf --- fim
--- syslog --- inicio
Dec 9 08:08:45 ntb001 dhcpd[1229]: DHCPDISCOVER from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:46 ntb001 dhcpd[1229]: DHCPOFFER on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:49 ntb001 dhcpd[1229]: reuse_lease: lease age 189 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:08:49 ntb001 dhcpd[1229]: DHCPREQUEST for 192.168.1.10 (192.168.1.254) from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:49 ntb001 dhcpd[1229]: DHCPACK on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:49 ntb001 dhcpd[1229]: reuse_lease: lease age 189 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:08:49 ntb001 dhcpd[1229]: DHCPDISCOVER from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:49 ntb001 dhcpd[1229]: DHCPOFFER on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:49 ntb001 ntpd[4569]: peer 200.20.186.76 now invalid
Dec 9 08:08:50 ntb001 dhcpd[1229]: reuse_lease: lease age 190 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:08:50 ntb001 dhcpd[1229]: DHCPREQUEST for 192.168.1.10 (192.168.1.254) from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:50 ntb001 dhcpd[1229]: DHCPACK on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:50 ntb001 dhcpd[1229]: reuse_lease: lease age 190 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:08:50 ntb001 dhcpd[1229]: DHCPDISCOVER from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:50 ntb001 dhcpd[1229]: DHCPOFFER on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:54 ntb001 dhcpd[1229]: reuse_lease: lease age 194 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:08:54 ntb001 dhcpd[1229]: DHCPREQUEST for 192.168.1.10 (192.168.1.254) from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:54 ntb001 dhcpd[1229]: DHCPACK on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:08:54 ntb001 in.tftpd[10516]: tftp: client does not accept options
Dec 9 08:09:12 ntb001 dhcpd[1229]: reuse_lease: lease age 212 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:09:12 ntb001 dhcpd[1229]: DHCPDISCOVER from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:09:12 ntb001 dhcpd[1229]: DHCPOFFER on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:09:12 ntb001 dhcpd[1229]: reuse_lease: lease age 212 (secs) under 25% threshold, reply with unaltered, existing lease
Dec 9 08:09:12 ntb001 dhcpd[1229]: DHCPREQUEST for 192.168.1.10 (192.168.1.254) from 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:09:12 ntb001 dhcpd[1229]: DHCPACK on 192.168.1.10 to 00:0f:ea:24:9c:d6 via enp19s0
Dec 9 08:09:12 ntb001 nbd_server[1227]: Spawned a child process
Dec 9 08:09:12 ntb001 nbd_server[10539]: virtstyle ipliteral
Dec 9 08:09:12 ntb001 nbd_server[10539]: connect from 192.168.1.10, assigned file is /opt/ltsp/images/i386.img
Dec 9 08:09:12 ntb001 nbd_server[10539]: Can't open authorization file /etc/ltsp/nbd-server.allow (No such file or directory).
Dec 9 08:09:12 ntb001 nbd_server[10539]: Starting to serve
Dec 9 08:09:12 ntb001 nbd_server[10539]: Size of exported file/device is 1877180416
Dec 9 08:09:23 ntb001 nbd_server[1545]: Read failed: Connection reset by peer
Dec 9 08:09:23 ntb001 nbd_server[1545]: Exiting.
Dec 9 08:09:23 ntb001 nbd_server[1227]: Child exited with 1
Dec 9 08:09:24 ntb001 ldminfod[10549]: connect from 192.168.1.10 (192.168.1.10)
Dec 9 08:09:28 ntb001 nbd_server[1227]: Spawned a child process
Dec 9 08:09:28 ntb001 nbd_server[10557]: virtstyle ipliteral
Dec 9 08:09:28 ntb001 nbd_server[10557]: connect from 192.168.1.10, assigned file is /opt/ltsp/images/i386.img
Dec 9 08:09:28 ntb001 nbd_server[10557]: Can't open authorization file /etc/ltsp/nbd-server.allow (No such file or directory).
Dec 9 08:09:28 ntb001 nbd_server[10557]: Starting to serve
Dec 9 08:09:28 ntb001 nbd_server[10557]: Size of exported file/device is 1877180416
Dec 9 08:09:28 ntb001 nbd_server[1227]: Child exited with 0
Dec 9 08:09:28 ntb001 systemd[1]: Started Session 15 of user usr001.
Dec 9 08:09:29 ntb001 org.ayatana.bamf[10713]: bamfdaemon start/running, process 10781
Dec 9 08:09:30 ntb001 org.a11y.Bus[10713]: ** (process:10825): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Dec 9 08:09:30 ntb001 org.a11y.Bus[10713]: Activating service name='org.a11y.atspi.Registry'
Dec 9 08:09:30 ntb001 org.a11y.Bus[10713]: Successfully activated service 'org.a11y.atspi.Registry'
Dec 9 08:09:30 ntb001 org.a11y.atspi.Registry[10830]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Dec 9 08:09:30 ntb001 gnome-session[10865]: X Error of failed request: BadValue (integer parameter out of range for operation)
Dec 9 08:09:30 ntb001 gnome-session[10865]: Major opcode of failed request: 154 (GLX)
Dec 9 08:09:30 ntb001 gnome-session[10865]: Minor opcode of failed request: 3 (X_GLXCreateContext)
Dec 9 08:09:30 ntb001 gnome-session[10865]: Value in failed request: 0x0
Dec 9 08:09:30 ntb001 gnome-session[10865]: Serial number of failed request: 19
Dec 9 08:09:30 ntb001 gnome-session[10865]: Current serial number in output stream: 20
Dec 9 08:09:30 ntb001 gnome-session[10865]: gnome-session-check-accelerated: Helper exited with code 256
Dec 9 08:09:31 ntb001 kernel: [ 272.232434] dell_laptop: Keyboard brightness level control not supported
Dec 9 08:09:31 ntb001 dbus[670]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
Dec 9 08:09:31 ntb001 systemd[1]: Starting Locale Service...
Dec 9 08:09:31 ntb001 org.gnome.ScreenSaver[10713]: ** (gnome-screensaver:10961): WARNING **: Couldn't get presence status: The name org.gnome.SessionManager was not provided by any .service files
Dec 9 08:09:31 ntb001 dbus[670]: [system] Successfully activated service 'org.freedesktop.locale1'
Dec 9 08:09:31 ntb001 systemd[1]: Started Locale Service.
Dec 9 08:09:36 ntb001 gnome-session[10865]: X Error of failed request: BadValue (integer parameter out of range for operation)
Dec 9 08:09:36 ntb001 gnome-session[10865]: Major opcode of failed request: 154 (GLX)
Dec 9 08:09:36 ntb001 gnome-session[10865]: Minor opcode of failed request: 3 (X_GLXCreateContext)
Dec 9 08:09:36 ntb001 gnome-session[10865]: Value in failed request: 0x0
Dec 9 08:09:36 ntb001 gnome-session[10865]: Serial number of failed request: 19
Dec 9 08:09:36 ntb001 gnome-session[10865]: Current serial number in output stream: 20
Dec 9 08:09:36 ntb001 gnome-session[10865]: gnome-session-check-accelerated: Helper exited with code 256
Dec 9 08:09:36 ntb001 gnome-session[10865]: gnome-session-binary[10865]: WARNING: software acceleration check failed: Child process exited with code 1
Dec 9 08:09:36 ntb001 gnome-session[10865]: gnome-session-binary[10865]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec 9 08:09:36 ntb001 gnome-session-binary[10865]: WARNING: software acceleration check failed: Child process exited with code 1
Dec 9 08:09:36 ntb001 gnome-session-binary[10865]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec 9 08:09:36 ntb001 kernel: [ 277.155440] compiz[10921]: segfault at 7fd14b1cb400 ip 00007fd14873244b sp 00007ffd59cf66e0 error 4 in libc-2.23.so[7fd1486b4000+1bf000]
Dec 9 08:09:37 ntb001 ldminfod[11081]: connect from 192.168.1.10 (192.168.1.10)
Dec 9 08:09:38 ntb001 nbd_server[1227]: Spawned a child process
Dec 9 08:09:38 ntb001 nbd_server[11086]: virtstyle ipliteral
Dec 9 08:09:38 ntb001 nbd_server[11086]: connect from 192.168.1.10, assigned file is /opt/ltsp/images/i386.img
Dec 9 08:09:38 ntb001 nbd_server[11086]: Can't open authorization file /etc/ltsp/nbd-server.allow (No such file or directory).
Dec 9 08:09:38 ntb001 nbd_server[11086]: Starting to serve
Dec 9 08:09:38 ntb001 nbd_server[11086]: Size of exported file/device is 1877180416
Dec 9 08:09:38 ntb001 nbd_server[1227]: Child exited with 0
Dec 9 08:09:39 ntb001 systemd[1]: Started Session 16 of user usr001.
Dec 9 08:09:40 ntb001 org.ayatana.bamf[11240]: bamfdaemon start/running, process 11306
Dec 9 08:09:40 ntb001 org.a11y.Bus[11240]: Activating service name='org.a11y.atspi.Registry'
Dec 9 08:09:40 ntb001 org.a11y.Bus[11240]: ** (process:11357): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Dec 9 08:09:40 ntb001 org.a11y.Bus[11240]: Successfully activated service 'org.a11y.atspi.Registry'
Dec 9 08:09:40 ntb001 org.a11y.atspi.Registry[11362]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Dec 9 08:09:41 ntb001 gnome-session[11394]: X Error of failed request: BadValue (integer parameter out of range for operation)
Dec 9 08:09:41 ntb001 gnome-session[11394]: Major opcode of failed request: 154 (GLX)
Dec 9 08:09:41 ntb001 gnome-session[11394]: Minor opcode of failed request: 3 (X_GLXCreateContext)
Dec 9 08:09:41 ntb001 gnome-session[11394]: Value in failed request: 0x0
Dec 9 08:09:41 ntb001 gnome-session[11394]: Serial number of failed request: 19
Dec 9 08:09:41 ntb001 gnome-session[11394]: Current serial number in output stream: 20
Dec 9 08:09:41 ntb001 gnome-session[11394]: gnome-session-check-accelerated: Helper exited with code 256
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Couldn't get presence status: The name org.gnome.SessionManager was not provided by any .service files
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: picture-opacity
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: primary-color
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: secondary-color
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: color-shading-type
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: show-notifications
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: picture-options
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: show-full-name-in-top-bar
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: picture-uri
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-command-line
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-application-handlers
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: user-administration-disabled
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-printing
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-log-out
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-print-setup
Dec 9 08:09:41 ntb001 org.gnome.ScreenSaver[11240]: ** (gnome-screensaver:11466): WARNING **: Config key not handled: disable-save-to-disk
Dec 9 08:09:41 ntb001 kernel: [ 282.639590] dell_laptop: Keyboard brightness level control not supported
Dec 9 08:09:43 ntb001 org.a11y.atspi.Registry[11362]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "192.168.1.10:7"
Dec 9 08:09:43 ntb001 org.a11y.atspi.Registry[11362]: after 21 requests (21 known processed) with 0 events remaining.
Dec 9 08:09:43 ntb001 gnome-session[11394]: (gnome-session-check-accelerated:11429): Gdk-WARNING **: gnome-session-check-accelerated: Fatal IO error 11 (Recurso temporariamente indisponível) on X server 192.168.1.10:7.
Dec 9 08:09:43 ntb001 gnome-session[11394]: gnome-session-binary[11394]: WARNING: software acceleration check failed: Child process exited with code 1
Dec 9 08:09:43 ntb001 gnome-session[11394]: gnome-session-binary[11394]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec 9 08:09:43 ntb001 org.gnome.ScreenSaver[11240]: (gnome-screensaver:11466): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Recurso temporariamente indisponível) on X server 192.168.1.10:7.
Dec 9 08:09:43 ntb001 gnome-session-binary[11394]: WARNING: software acceleration check failed: Child process exited with code 1
Dec 9 08:09:43 ntb001 gnome-session-binary[11394]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Dec 9 08:09:43 ntb001 kernel: [ 284.011342] compiz[11428]: segfault at 7f12c1a30b20 ip 00007f12bf21644b sp 00007ffd1ef46d90 error 4 in libc-2.23.so[7f12bf198000+1bf000]
Desde já, sou agradecido pela atenção de todos.