Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 8 XRDP 0.9.15: session close imidiatly after login from Win10 mstsc.exe V.10.0.19041.746 #1808

Closed
keale opened this issue Feb 12, 2021 · 19 comments

Comments

@keale
Copy link

keale commented Feb 12, 2021

xrdp has worked tedelless until today. Now the session is terminated immediately after login. The messages in the /etc/log/xrdp.log are:

[20210212-17:44:37] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20210212-17:44:37] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20210212-17:44:37] [ERROR] libxrdp_query_channel - Channel 0 name rdpdr
[20210212-17:44:37] [ERROR] libxrdp_query_channel - Channel 1 name rdpsnd
[20210212-17:44:37] [ERROR] libxrdp_query_channel - Channel 2 name cliprdr
[20210212-17:44:37] [ERROR] libxrdp_query_channel - Channel 3 name drdynvc
[20210212-17:44:37] [ERROR] libxrdp_query_channel - Channel out of range 4

~/.xsession-errors is empty.

/etc/xrdp/xrdp.ini looks like this:

[Globals]
; xrdp.ini file version number
ini_version=1

; fork a new process for each incoming connection
fork=true

; ports to listen on, number alone means listen on all interfaces
; 0.0.0.0 or :: if ipv6 is configured
; space between multiple occurrences
; ALL specified interfaces must be UP when xrdp starts, otherwise xrdp will fail to start
;
; Examples:
;   port=3389
;   port=unix://./tmp/xrdp.socket
;   port=tcp://.:3389                           127.0.0.1:3389
;   port=tcp://:3389                            *:3389
;   port=tcp://<any ipv4 format addr>:3389      192.168.1.1:3389
;   port=tcp6://.:3389                          ::1:3389
;   port=tcp6://:3389                           *:3389
;   port=tcp6://{<any ipv6 format addr>}:3389   {FC00:0:0:0:0:0:0:1}:3389
;   port=vsock://<cid>:<port>
port=3389

; 'port' above should be connected to with vsock instead of tcp
; use this only with number alone in port above
; prefer use vsock://<cid>:<port> above
use_vsock=false

; regulate if the listening socket use socket option tcp_nodelay
; no buffering will be performed in the TCP stack
tcp_nodelay=true

; regulate if the listening socket use socket option keepalive
; if the network connection disappear without close messages the connection will be closed
tcp_keepalive=true

; set tcp send/recv buffer (for experts)
#tcp_send_buffer_bytes=32768
#tcp_recv_buffer_bytes=32768

; security layer can be 'tls', 'rdp' or 'negotiate'
; for client compatible layer
security_layer=negotiate

; minimum security level allowed for client for classic RDP encryption
; use tls_ciphers to configure TLS encryption
; can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=high

; X.509 certificate and private key
; openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
certificate=
key_file=

; set SSL protocols
; can be comma separated list of 'SSLv3', 'TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'
ssl_protocols=TLSv1.2, TLSv1.3
; set TLS cipher suites
#tls_ciphers=HIGH

; concats the domain name to the user if set for authentication with the separator
; for example when the server is multi homed with SSSd
#domain_user_separator=@

; Section name to use for automatic login if the client sends username
; and password. If empty, the domain name sent by the client is used.
; If empty and no domain name is given, the first suitable section in
; this file will be used.
autorun=

allow_channels=true
allow_multimon=true
bitmap_cache=true
bitmap_compression=true
bulk_compression=true
#hidelogwindow=true
max_bpp=32
new_cursors=true
; fastpath - can be 'input', 'output', 'both', 'none'
use_fastpath=both
; when true, userid/password *must* be passed on cmd line
#require_credentials=true
; when true, the userid will be used to try to authenticate
#enable_token_login=true
; You can set the PAM error text in a gateway setup (MAX 256 chars)
#pamerrortxt=change your password according to policy at http://url

;
; colors used by windows in RGB format
;
blue=009cb5
grey=dedede
#black=000000
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

;
; configure login screen
;

; Login Screen Window Title
#ls_title=My Login Title

; top level window background color in RGB format
ls_top_window_bg_color=009cb5

; width and height of login screen
ls_width=350
ls_height=430

; login screen background color in RGB format
ls_bg_color=dedede

; optional background image filename (bmp format).
#ls_background_image=

; logo
; full path to bmp-file or file in shared folder
ls_logo_filename=
ls_logo_x_pos=55
ls_logo_y_pos=50

; for positioning labels such as username, password etc
ls_label_x_pos=30
ls_label_width=65

; for positioning text and combo boxes next to above labels
ls_input_x_pos=110
ls_input_width=210

; y pos for first label and combo box
ls_input_y_pos=220

; OK button
ls_btn_ok_x_pos=142
ls_btn_ok_y_pos=370
ls_btn_ok_width=85
ls_btn_ok_height=30

; Cancel button
ls_btn_cancel_x_pos=237
ls_btn_cancel_y_pos=370
ls_btn_cancel_width=85
ls_btn_cancel_height=30

[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
LogFile=xrdp.log
LogLevel=INFO
EnableSyslog=true
#SyslogLevel=INFO
#EnableConsole=false
#ConsoleLevel=INFO
#EnableProcessId=false

[LoggingPerLogger]
; Note: per logger configuration is only used in XRDP_DEBUG builds of XRDP.
#xrdp.c=INFO
#main()=INFO

[Channels]
; Channel names not listed here will be blocked by XRDP.
; You can block any channel by setting its value to false.
; IMPORTANT! All channels are not supported in all use
; cases even if you set all values to true.
; You can override these settings on each session type
; These settings are only used if allow_channels=true
rdpdr=true
rdpsnd=true
drdynvc=true
cliprdr=true
rail=true
xrdpvr=true
tcutils=true

; for debugging xrdp, in section xrdp1, change port=-1 to this:
#port=/tmp/.xrdp/xrdp_display_10

; for debugging xrdp, add following line to section xrdp1
#chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210


;
; Session types
;

; Some session types such as Xorg, X11rdp and Xvnc start a display server.
; Startup command-line parameters for the display server are configured
; in sesman.ini. See and configure also sesman.ini.
#[Xorg]
#name=Xorg
#lib=libxup.so
#username=ask
#password=ask
#ip=127.0.0.1
#port=-1
#code=20

[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
#xserverbpp=24
#delay_ms=2000
; Disable requested encodings to support buggy VNC servers
; (1 = ExtendedDesktopSize)
#disabled_encodings_mask=0


#[vnc-any]
#name=vnc-any
#lib=libvnc.so
#ip=ask
#port=ask5900
#username=na
#password=ask
#pamusername=asksame
#pampassword=asksame
#pamsessionmng=127.0.0.1
#delay_ms=2000

#[neutrinordp-any]
#name=neutrinordp-any
#lib=libxrdpneutrinordp.so
#ip=ask
#port=ask3389
#username=ask
#password=ask

; You can override the common channel settings for each session type
#channel.rdpdr=true
#channel.rdpsnd=true
#channel.drdynvc=true
#channel.cliprdr=true
#channel.rail=true
#channel.xrdpvr=true

Messages in /var/log/xrdp-sesman.log

[20210212-19:31:13]` [INFO ] A connection received from 127.0.0.1 port 45138
[20210212-19:31:13] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20210212-19:31:13] [INFO ] ++ created session (access granted): username alexk, ip 10.140.112.129:61810 - socket: 12
[20210212-19:31:13] [INFO ] starting Xvnc session...
[20210212-19:31:13] [INFO ] calling auth_start_session from pid 20471
[20210212-19:31:13] [INFO ] Xvnc :10 -auth .Xauthority -geometry 2560x1440 -depth 32 -rfbauth /home/alexk/.vnc/sesman_passwd-alexk@gpu2:10 -bs -nolisten tcp -localhost -dpi 96
[20210212-19:31:14] [INFO ] waiting for window manager (pid 20472) to exit
[20210212-19:31:15] [CORE ] window manager exited quickly (1 secs). Window manager config problem?
[20210212-19:31:15] [INFO ] Cleaning up session. Calling auth_stop_session and auth_end from pid 20471
[20210212-19:31:15] [INFO ] ++ terminated session:  username alexk, display :10.0, session_pid 20471, ip 10.140.112.129:61810 - socket: 12

Thanks for every help!

@keale
Copy link
Author

keale commented Feb 14, 2021

One more comment:
I had the same situation with XRDP on a Debian machine with xfce window manager. There the statement
echo xfce4-session > /.xsession
executed in a terminal solved the problem.
In the current problem case GNOME is used

@matt335672
Copy link
Member

Hi @keale

You can ignore the errors in xrdp.log - see #1775.

I think the significant message is here:-

[20210212-19:31:15] [CORE ] window manager exited quickly (1 secs). Window manager config problem?

Have you got these lines in /etc/xrdp/sesman.ini?

UserWindowManager=startwm.sh
; Give in full path or relative path to /etc/xrdp
DefaultWindowManager=startwm-bash.sh

If this is the case (and I'm assuming it is) sesman takes these actions on CentOS 8:-

1 Looks for $HOME/startwm.sh and runs it if it finds it.
2. If it can't find $HOME/startwm.sh it calls /usr/libexec/xrdp/startwm-bash.sh. This in turn calls /usr/libexec/xrdp/startwm.sh as a login shell.

Something's going wrong with these scripts if you haven't got a ~/.xsession-errors.

Assuming you haven't got a $HOME/startwm.sh, try running this command as alexk from a command-line login and post the results. We can go from there:-

DISPLAY= bash -x /usr/libexec/xrdp/startwm.sh

@keale
Copy link
Author

keale commented Feb 15, 2021

@matt335672 Thanks a lot! As You have assumes, startwh.sh don't exist.
May be this background information may help: We are trying to install the PIC (particle in cells) simulation code Smilei and runs in trouble due to anaconda3 installation. May anaconda3 cause the problems?

The output of DISPLAY= bash -x /usr/libexec/xrdp/startwm.sh:

+ '[' -z '' ']'
+ case "$-" in
+ __lmod_vx=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash)
Shell debugging restarted
+ unset __lmod_vx
+ wm_start
+ '[' -r /etc/default/locale ']'
+ '[' -r /etc/X11/Xsession ']'
+ '[' -r /etc/X11/xinit/Xsession ']'
+ pre_start
+ '[' -r /etc/profile ']'
+ . /etc/profile
++ '[' -x /usr/bin/id ']'
++ '[' -z 1000 ']'
+++ /usr/bin/id -un
++ USER=alexk
++ LOGNAME=alexk
++ MAIL=/var/spool/mail/alexk
++ '[' 1000 = 0 ']'
++ pathmunge /usr/local/sbin after
++ case ":${PATH}:" in
++ pathmunge /usr/sbin after
++ case ":${PATH}:" in
+++ /usr/bin/hostname
++ HOSTNAME=gpu2
++ HISTSIZE=1000
++ '[' ignoredups = ignorespace ']'
++ export HISTCONTROL=ignoredups
++ HISTCONTROL=ignoredups
++ export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
++ '[' 1000 -gt 199 ']'
+++ /usr/bin/id -gn
+++ /usr/bin/id -un
++ '[' alexk = alexk ']'
++ umask 002
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/00-modulepath.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/00-modulepath.sh
+++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']'
+++ :
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/bash_completion.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/bash_completion.sh
+++ '[' -n '4.4.19(1)-release' -a -n '' -a -z '' ']'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/colorgrep.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/colorgrep.sh
+++ /usr/libexec/grepconf.sh -c
+++ alias 'grep=grep --color=auto'
+++ alias 'egrep=egrep --color=auto'
+++ alias 'fgrep=fgrep --color=auto'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/colorls.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/colorls.sh
+++ '[' '!' -t 0 ']'
+++ '[' -z '' ']'
+++ alias 'll=ls -l'
+++ alias 'l.=ls -d .*'
+++ INCLUDE=
+++ COLORS=
+++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
+++ '[' -e /home/alexk/.dir_colors.xterm ']'
+++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
+++ '[' -e /home/alexk/.dircolors.xterm ']'
+++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
+++ '[' -e /home/alexk/.dir_colors ']'
+++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
+++ '[' -e /home/alexk/.dircolors ']'
+++ '[' -z '' ']'
+++ '[' -e /etc/DIR_COLORS.xterm ']'
+++ '[' -z '' ']'
+++ '[' -e /etc/DIR_COLORS.256color ']'
++++ /usr/bin/tty -s
++++ /usr/bin/tput colors
+++ '[' x8 = x256 ']'
+++ '[' -z '' ']'
+++ '[' -e /etc/DIR_COLORS ']'
+++ COLORS=/etc/DIR_COLORS
+++ '[' -n /etc/DIR_COLORS ']'
+++ '[' -e '' ']'
++++ /usr/bin/dircolors --sh /etc/DIR_COLORS
+++ eval 'LS_COLORS='\''rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:'\'';
export LS_COLORS'
++++ LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:'
++++ export LS_COLORS
+++ '[' -z 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:' ']'
+++ /usr/bin/grep -qi '^COLOR.*none' /etc/DIR_COLORS
+++ unset TMP COLORS INCLUDE
+++ alias 'll=ls -l --color=auto'
+++ alias 'l.=ls -d .* --color=auto'
+++ alias 'ls=ls --color=auto'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/colorxzgrep.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/colorxzgrep.sh
+++ /usr/libexec/grepconf.sh -c
+++ alias 'xzgrep=xzgrep --color=auto'
+++ alias 'xzegrep=xzegrep --color=auto'
+++ alias 'xzfgrep=xzfgrep --color=auto'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/colorzgrep.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/colorzgrep.sh
+++ '[' -f /usr/libexec/grepconf.sh ']'
+++ /usr/libexec/grepconf.sh -c
+++ alias 'zgrep=zgrep --color=auto'
+++ alias 'zfgrep=zfgrep --color=auto'
+++ alias 'zegrep=zegrep --color=auto'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/cuda.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/cuda.sh
+++ '[' -x /usr/bin/cuda-g++ ']'
+++ '[' -x /usr/libexec/cuda/open64/bin/nvopencc ']'
+++ '[' -d /usr/include/cuda ']'
+++ export CUDA_INCLUDE_DIRS=/usr/include/cuda
+++ CUDA_INCLUDE_DIRS=/usr/include/cuda
+++ export CUDA_INC_PATH=/usr/include/cuda
+++ CUDA_INC_PATH=/usr/include/cuda
+++ export PATH=/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ PATH=/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/flatpak.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/flatpak.sh
+++ command -v flatpak
++++ unset G_MESSAGES_DEBUG
++++ echo /home/alexk/.local/share/flatpak
++++ flatpak --installations
++++ new_dirs=
++++ read -r install_path
++++ share_path=/home/alexk/.local/share/flatpak/exports/share
++++ case ":$XDG_DATA_DIRS:" in
++++ :
++++ read -r install_path
++++ share_path=/var/lib/flatpak/exports/share
++++ case ":$XDG_DATA_DIRS:" in
++++ :
++++ read -r install_path
++++ echo ''
+++ new_dirs=
+++ export XDG_DATA_DIRS
+++ XDG_DATA_DIRS=/home/alexk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/gawk.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/gawk.sh
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/gnome-ssh-askpass.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/gnome-ssh-askpass.sh
+++ SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
+++ export SSH_ASKPASS
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/guestfish.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/guestfish.sh
+++ GUESTFISH_PS1='\[\e[1;32m\]><fs>\[\e[0;31m\] '
+++ GUESTFISH_OUTPUT='\e[0m'
+++ GUESTFISH_RESTORE='\e[0m'
+++ GUESTFISH_INIT='\e[1;34m'
+++ export GUESTFISH_PS1 GUESTFISH_OUTPUT GUESTFISH_RESTORE GUESTFISH_INIT
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/lang.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/lang.sh
+++ '[' -n de_DE.UTF-8 ']'
+++ LANG_backup=de_DE.UTF-8
+++ for config in /etc/locale.conf "${HOME}/.i18n"
+++ '[' -f /etc/locale.conf ']'
++++ /usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' /etc/locale.conf
+++ eval export 'LANG="de_DE.UTF-8"'
++++ export LANG=de_DE.UTF-8
++++ LANG=de_DE.UTF-8
+++ for config in /etc/locale.conf "${HOME}/.i18n"
+++ '[' -f /home/alexk/.i18n ']'
+++ '[' -n de_DE.UTF-8 ']'
+++ LANG=de_DE.UTF-8
+++ unset LANG_backup config
+++ '[' -n '' ']'
+++ '[' -n de_DE.UTF-8 ']'
+++ '[' xterm = linux ']'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/less.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/less.sh
+++ '[' -z '||/usr/bin/lesspipe.sh %s' ']'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/modules.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/modules.sh
+++ . /etc/profile.d/00-modulepath.sh
++++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']'
++++ :
+++ '[' -z '' ']'
+++ '[' -z /usr/share/modulefiles ']'
+++ PS_CMD=/usr/bin/ps
+++ '[' '!' -x /usr/bin/ps ']'
+++ EXPR_CMD=/usr/bin/expr
+++ '[' '!' -x /usr/bin/expr ']'
+++ BASENAME_CMD=/usr/bin/basename
+++ '[' '!' -x /usr/bin/basename ']'
++++ /usr/bin/ps -p 55995 -ocomm=
+++ my_shell=bash
++++ /usr/bin/expr bash : '-*\(.*\)'
+++ my_shell=bash
++++ /usr/bin/basename bash
+++ my_shell=bash
+++ '[' -f /usr/share/lmod/lmod/init/bash ']'
+++ . /usr/share/lmod/lmod/init/bash
++++ '[' -z '' ']'
++++ case "$-" in
++++ __lmod_vx=x
++++ '[' -n x ']'
++++ set +x
Shell debugging restarted
++++ unset __lmod_vx
+++ unset my_shell PS_CMD EXPR_CMD BASENAME_CMD MODULEPATH_INIT
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/PackageKit.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/PackageKit.sh
+++ [[ -n '' ]]
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/vim.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/vim.sh
+++ '[' -n '4.4.19(1)-release' -o -n '' -o -n '' ']'
++++ /usr/bin/id -u
+++ '[' 1000 -le 200 ']'
+++ alias vi
+++ alias vi=vim
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/vte.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/vte.sh
+++ '[' -n '4.4.19(1)-release' -o -n '' ']'
+++ [[ hxB == *i* ]]
+++ return 0
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/which2.sh ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/which2.sh
+++ '[' /usr/libexec/xrdp/startwm.sh = ksh ']'
+++ '[' /usr/libexec/xrdp/startwm.sh = -ksh ']'
+++ alias 'which=(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
++ for i in /etc/profile.d/*.sh /etc/profile.d/sh.local
++ '[' -r /etc/profile.d/sh.local ']'
++ '[' hxB '!=' hxB ']'
++ . /etc/profile.d/sh.local
++ unset i
++ unset -f pathmunge
++ '[' -n '4.4.19(1)-release' ']'
++ '[' -f /etc/bashrc ']'
++ . /etc/bashrc
+++ '[' -z '' ']'
+++ BASHRCSOURCED=Y
+++ '[' '' ']'
+++ shopt -q login_shell
+++ '[' 1000 -gt 199 ']'
++++ /usr/bin/id -gn
++++ /usr/bin/id -un
+++ '[' alexk = alexk ']'
+++ umask 002
+++ SHELL=/bin/bash
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/00-modulepath.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/00-modulepath.sh
++++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']'
++++ :
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/bash_completion.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/bash_completion.sh
++++ '[' -n '4.4.19(1)-release' -a -n '' -a -z '' ']'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/colorgrep.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/colorgrep.sh
++++ /usr/libexec/grepconf.sh -c
++++ alias 'grep=grep --color=auto'
++++ alias 'egrep=egrep --color=auto'
++++ alias 'fgrep=fgrep --color=auto'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/colorls.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/colorls.sh
++++ '[' '!' -t 0 ']'
++++ '[' -z '' ']'
++++ alias 'll=ls -l'
++++ alias 'l.=ls -d .*'
++++ INCLUDE=
++++ COLORS=
++++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
++++ '[' -e /home/alexk/.dir_colors.xterm ']'
++++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
++++ '[' -e /home/alexk/.dircolors.xterm ']'
++++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
++++ '[' -e /home/alexk/.dir_colors ']'
++++ for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" "$HOME/.dir_colors" "$HOME/.dircolors"
++++ '[' -e /home/alexk/.dircolors ']'
++++ '[' -z '' ']'
++++ '[' -e /etc/DIR_COLORS.xterm ']'
++++ '[' -z '' ']'
++++ '[' -e /etc/DIR_COLORS.256color ']'
+++++ /usr/bin/tty -s
+++++ /usr/bin/tput colors
++++ '[' x8 = x256 ']'
++++ '[' -z '' ']'
++++ '[' -e /etc/DIR_COLORS ']'
++++ COLORS=/etc/DIR_COLORS
++++ '[' -n /etc/DIR_COLORS ']'
++++ '[' -e '' ']'
+++++ /usr/bin/dircolors --sh /etc/DIR_COLORS
++++ eval 'LS_COLORS='\''rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:'\'';
export LS_COLORS'
+++++ LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:'
+++++ export LS_COLORS
++++ '[' -z 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:' ']'
++++ /usr/bin/grep -qi '^COLOR.*none' /etc/DIR_COLORS
++++ unset TMP COLORS INCLUDE
++++ alias 'll=ls -l --color=auto'
++++ alias 'l.=ls -d .* --color=auto'
++++ alias 'ls=ls --color=auto'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/colorxzgrep.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/colorxzgrep.sh
++++ /usr/libexec/grepconf.sh -c
++++ alias 'xzgrep=xzgrep --color=auto'
++++ alias 'xzegrep=xzegrep --color=auto'
++++ alias 'xzfgrep=xzfgrep --color=auto'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/colorzgrep.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/colorzgrep.sh
++++ '[' -f /usr/libexec/grepconf.sh ']'
++++ /usr/libexec/grepconf.sh -c
++++ alias 'zgrep=zgrep --color=auto'
++++ alias 'zfgrep=zfgrep --color=auto'
++++ alias 'zegrep=zegrep --color=auto'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/cuda.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/cuda.sh
++++ '[' -x /usr/bin/cuda-g++ ']'
++++ '[' -x /usr/libexec/cuda/open64/bin/nvopencc ']'
++++ '[' -d /usr/include/cuda ']'
++++ export CUDA_INCLUDE_DIRS=/usr/include/cuda
++++ CUDA_INCLUDE_DIRS=/usr/include/cuda
++++ export CUDA_INC_PATH=/usr/include/cuda
++++ CUDA_INC_PATH=/usr/include/cuda
++++ export PATH=/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
++++ PATH=/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
++++ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
++++ LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/flatpak.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/flatpak.sh
++++ command -v flatpak
+++++ unset G_MESSAGES_DEBUG
+++++ echo /home/alexk/.local/share/flatpak
+++++ flatpak --installations
+++++ new_dirs=
+++++ read -r install_path
+++++ share_path=/home/alexk/.local/share/flatpak/exports/share
+++++ case ":$XDG_DATA_DIRS:" in
+++++ :
+++++ read -r install_path
+++++ share_path=/var/lib/flatpak/exports/share
+++++ case ":$XDG_DATA_DIRS:" in
+++++ :
+++++ read -r install_path
+++++ echo ''
++++ new_dirs=
++++ export XDG_DATA_DIRS
++++ XDG_DATA_DIRS=/home/alexk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/gawk.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/gawk.sh
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/gnome-ssh-askpass.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/gnome-ssh-askpass.sh
++++ SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
++++ export SSH_ASKPASS
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/guestfish.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/guestfish.sh
++++ GUESTFISH_PS1='\[\e[1;32m\]><fs>\[\e[0;31m\] '
++++ GUESTFISH_OUTPUT='\e[0m'
++++ GUESTFISH_RESTORE='\e[0m'
++++ GUESTFISH_INIT='\e[1;34m'
++++ export GUESTFISH_PS1 GUESTFISH_OUTPUT GUESTFISH_RESTORE GUESTFISH_INIT
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/lang.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/lang.sh
++++ '[' -n de_DE.UTF-8 ']'
++++ LANG_backup=de_DE.UTF-8
++++ for config in /etc/locale.conf "${HOME}/.i18n"
++++ '[' -f /etc/locale.conf ']'
+++++ /usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' /etc/locale.conf
++++ eval export 'LANG="de_DE.UTF-8"'
+++++ export LANG=de_DE.UTF-8
+++++ LANG=de_DE.UTF-8
++++ for config in /etc/locale.conf "${HOME}/.i18n"
++++ '[' -f /home/alexk/.i18n ']'
++++ '[' -n de_DE.UTF-8 ']'
++++ LANG=de_DE.UTF-8
++++ unset LANG_backup config
++++ '[' -n '' ']'
++++ '[' -n de_DE.UTF-8 ']'
++++ '[' xterm = linux ']'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/less.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/less.sh
++++ '[' -z '||/usr/bin/lesspipe.sh %s' ']'
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/modules.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/modules.sh
++++ . /etc/profile.d/00-modulepath.sh
+++++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']'
+++++ :
++++ '[' -z '' ']'
++++ '[' -z /usr/share/modulefiles ']'
++++ PS_CMD=/usr/bin/ps
++++ '[' '!' -x /usr/bin/ps ']'
++++ EXPR_CMD=/usr/bin/expr
++++ '[' '!' -x /usr/bin/expr ']'
++++ BASENAME_CMD=/usr/bin/basename
++++ '[' '!' -x /usr/bin/basename ']'
+++++ /usr/bin/ps -p 55995 -ocomm=
++++ my_shell=bash
+++++ /usr/bin/expr bash : '-*\(.*\)'
++++ my_shell=bash
+++++ /usr/bin/basename bash
++++ my_shell=bash
++++ '[' -f /usr/share/lmod/lmod/init/bash ']'
++++ . /usr/share/lmod/lmod/init/bash
+++++ '[' -z '' ']'
+++++ case "$-" in
+++++ __lmod_vx=x
+++++ '[' -n x ']'
+++++ set +x
Shell debugging restarted
+++++ unset __lmod_vx
++++ unset my_shell PS_CMD EXPR_CMD BASENAME_CMD MODULEPATH_INIT
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/PackageKit.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/PackageKit.sh
++++ [[ -n '' ]]
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/vim.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/vim.sh
++++ '[' -n '4.4.19(1)-release' -o -n '' -o -n '' ']'
+++++ /usr/bin/id -u
++++ '[' 1000 -le 200 ']'
++++ alias vi
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/vte.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/vte.sh
++++ '[' -n '4.4.19(1)-release' -o -n '' ']'
++++ [[ hxB == *i* ]]
++++ return 0
+++ for i in /etc/profile.d/*.sh
+++ '[' -r /etc/profile.d/which2.sh ']'
+++ '[' '' ']'
+++ . /etc/profile.d/which2.sh
++++ '[' /usr/libexec/xrdp/startwm.sh = ksh ']'
++++ '[' /usr/libexec/xrdp/startwm.sh = -ksh ']'
++++ alias 'which=(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
+++ unset i
+++ unset -f pathmunge
+ '[' -r /home/alexk/.bash_profile ']'
+ . /home/alexk/.bash_profile
++ '[' -f /home/alexk/.bashrc ']'
++ . /home/alexk/.bashrc
+++ '[' -f /etc/bashrc ']'
+++ . /etc/bashrc
++++ '[' -z Y ']'
+++ PATH=/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ export PATH
++++ /home/alexk/anaconda3/bin/conda shell.bash hook
+++ __conda_setup='export CONDA_EXE='\''/home/alexk/anaconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/home/alexk/anaconda3/bin/python'\''

# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause

__add_sys_prefix_to_path() {
    # In dev-mode CONDA_EXE is python.exe and on Windows
    # it is in a different relative location to condabin.
    if [ -n "${_CE_CONDA}" ] && [ -n "${WINDIR+x}" ]; then
        SYSP=$(\dirname "${CONDA_EXE}")
    else
        SYSP=$(\dirname "${CONDA_EXE}")
        SYSP=$(\dirname "${SYSP}")
    fi

    if [ -n "${WINDIR+x}" ]; then
        PATH="${SYSP}/bin:${PATH}"
        PATH="${SYSP}/Scripts:${PATH}"
        PATH="${SYSP}/Library/bin:${PATH}"
        PATH="${SYSP}/Library/usr/bin:${PATH}"
        PATH="${SYSP}/Library/mingw-w64/bin:${PATH}"
        PATH="${SYSP}:${PATH}"
    else
        PATH="${SYSP}/bin:${PATH}"
    fi
    \export PATH
}

__conda_hashr() {
    if [ -n "${ZSH_VERSION:+x}" ]; then
        \rehash
    elif [ -n "${POSH_VERSION:+x}" ]; then
        :  # pass
    else
        \hash -r
    fi
}

__conda_activate() {
    if [ -n "${CONDA_PS1_BACKUP:+x}" ]; then
        # Handle transition from shell activated with conda <= 4.3 to a subsequent activation
        # after conda updated to >= 4.4. See issue #6173.
        PS1="$CONDA_PS1_BACKUP"
        \unset CONDA_PS1_BACKUP
    fi

    \local cmd="$1"
    shift
    \local ask_conda
    CONDA_INTERNAL_OLDPATH="${PATH}"
    __add_sys_prefix_to_path
    ask_conda="$(PS1="$PS1" "$CONDA_EXE" $_CE_M $_CE_CONDA shell.posix "$cmd" "$@")" || \return $?
    rc=$?
    PATH="${CONDA_INTERNAL_OLDPATH}"
    \eval "$ask_conda"
    if [ $rc != 0 ]; then
        \export PATH
    fi
    __conda_hashr
}

__conda_reactivate() {
    \local ask_conda
    CONDA_INTERNAL_OLDPATH="${PATH}"
    __add_sys_prefix_to_path
    ask_conda="$(PS1="$PS1" "$CONDA_EXE" $_CE_M $_CE_CONDA shell.posix reactivate)" || \return $?
    PATH="${CONDA_INTERNAL_OLDPATH}"
    \eval "$ask_conda"
    __conda_hashr
}

conda() {
    if [ "$#" -lt 1 ]; then
        "$CONDA_EXE" $_CE_M $_CE_CONDA
    else
        \local cmd="$1"
        shift
        case "$cmd" in
            activate|deactivate)
                __conda_activate "$cmd" "$@"
                ;;
            install|update|upgrade|remove|uninstall)
                CONDA_INTERNAL_OLDPATH="${PATH}"
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
                \local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}"
                if [ $t1 = 0 ]; then
                    __conda_reactivate
                else
                    return $t1
                fi
                ;;
            *)
                CONDA_INTERNAL_OLDPATH="${PATH}"
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
                \local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}"
                return $t1
                ;;
        esac
    fi
}

if [ -z "${CONDA_SHLVL+x}" ]; then
    \export CONDA_SHLVL=0
    # In dev-mode CONDA_EXE is python.exe and on Windows
    # it is in a different relative location to condabin.
    if [ -n "${_CE_CONDA+x}" ] && [ -n "${WINDIR+x}" ]; then
        PATH="$(\dirname "$CONDA_EXE")/condabin${PATH:+":${PATH}"}"
    else
        PATH="$(\dirname "$(\dirname "$CONDA_EXE")")/condabin${PATH:+":${PATH}"}"
    fi
    \export PATH

    # We'\''re not allowing PS1 to be unbound. It must at least be set.
    # However, we'\''re not exporting it, which can cause problems when starting a second shell
    # via a first shell (i.e. starting zsh from bash).
    if [ -z "${PS1+x}" ]; then
        PS1=
    fi
fi

conda activate base'
+++ '[' 0 -eq 0 ']'
+++ eval 'export CONDA_EXE='\''/home/alexk/anaconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/home/alexk/anaconda3/bin/python'\''

# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause

__add_sys_prefix_to_path() {
    # In dev-mode CONDA_EXE is python.exe and on Windows
    # it is in a different relative location to condabin.
    if [ -n "${_CE_CONDA}" ] && [ -n "${WINDIR+x}" ]; then
        SYSP=$(\dirname "${CONDA_EXE}")
    else
        SYSP=$(\dirname "${CONDA_EXE}")
        SYSP=$(\dirname "${SYSP}")
    fi

    if [ -n "${WINDIR+x}" ]; then
        PATH="${SYSP}/bin:${PATH}"
        PATH="${SYSP}/Scripts:${PATH}"
        PATH="${SYSP}/Library/bin:${PATH}"
        PATH="${SYSP}/Library/usr/bin:${PATH}"
        PATH="${SYSP}/Library/mingw-w64/bin:${PATH}"
        PATH="${SYSP}:${PATH}"
    else
        PATH="${SYSP}/bin:${PATH}"
    fi
    \export PATH
}

__conda_hashr() {
    if [ -n "${ZSH_VERSION:+x}" ]; then
        \rehash
    elif [ -n "${POSH_VERSION:+x}" ]; then
        :  # pass
    else
        \hash -r
    fi
}

__conda_activate() {
    if [ -n "${CONDA_PS1_BACKUP:+x}" ]; then
        # Handle transition from shell activated with conda <= 4.3 to a subsequent activation
        # after conda updated to >= 4.4. See issue #6173.
        PS1="$CONDA_PS1_BACKUP"
        \unset CONDA_PS1_BACKUP
    fi

    \local cmd="$1"
    shift
    \local ask_conda
    CONDA_INTERNAL_OLDPATH="${PATH}"
    __add_sys_prefix_to_path
    ask_conda="$(PS1="$PS1" "$CONDA_EXE" $_CE_M $_CE_CONDA shell.posix "$cmd" "$@")" || \return $?
    rc=$?
    PATH="${CONDA_INTERNAL_OLDPATH}"
    \eval "$ask_conda"
    if [ $rc != 0 ]; then
        \export PATH
    fi
    __conda_hashr
}

__conda_reactivate() {
    \local ask_conda
    CONDA_INTERNAL_OLDPATH="${PATH}"
    __add_sys_prefix_to_path
    ask_conda="$(PS1="$PS1" "$CONDA_EXE" $_CE_M $_CE_CONDA shell.posix reactivate)" || \return $?
    PATH="${CONDA_INTERNAL_OLDPATH}"
    \eval "$ask_conda"
    __conda_hashr
}

conda() {
    if [ "$#" -lt 1 ]; then
        "$CONDA_EXE" $_CE_M $_CE_CONDA
    else
        \local cmd="$1"
        shift
        case "$cmd" in
            activate|deactivate)
                __conda_activate "$cmd" "$@"
                ;;
            install|update|upgrade|remove|uninstall)
                CONDA_INTERNAL_OLDPATH="${PATH}"
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
                \local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}"
                if [ $t1 = 0 ]; then
                    __conda_reactivate
                else
                    return $t1
                fi
                ;;
            *)
                CONDA_INTERNAL_OLDPATH="${PATH}"
                __add_sys_prefix_to_path
                "$CONDA_EXE" $_CE_M $_CE_CONDA "$cmd" "$@"
                \local t1=$?
                PATH="${CONDA_INTERNAL_OLDPATH}"
                return $t1
                ;;
        esac
    fi
}

if [ -z "${CONDA_SHLVL+x}" ]; then
    \export CONDA_SHLVL=0
    # In dev-mode CONDA_EXE is python.exe and on Windows
    # it is in a different relative location to condabin.
    if [ -n "${_CE_CONDA+x}" ] && [ -n "${WINDIR+x}" ]; then
        PATH="$(\dirname "$CONDA_EXE")/condabin${PATH:+":${PATH}"}"
    else
        PATH="$(\dirname "$(\dirname "$CONDA_EXE")")/condabin${PATH:+":${PATH}"}"
    fi
    \export PATH

    # We'\''re not allowing PS1 to be unbound. It must at least be set.
    # However, we'\''re not exporting it, which can cause problems when starting a second shell
    # via a first shell (i.e. starting zsh from bash).
    if [ -z "${PS1+x}" ]; then
        PS1=
    fi
fi

conda activate base'
++++ export CONDA_EXE=/home/alexk/anaconda3/bin/conda
++++ CONDA_EXE=/home/alexk/anaconda3/bin/conda
++++ export _CE_M=
++++ _CE_M=
++++ export _CE_CONDA=
++++ _CE_CONDA=
++++ export CONDA_PYTHON_EXE=/home/alexk/anaconda3/bin/python
++++ CONDA_PYTHON_EXE=/home/alexk/anaconda3/bin/python
++++ '[' -z x ']'
++++ conda activate base
++++ '[' 2 -lt 1 ']'
++++ local cmd=activate
++++ shift
++++ case "$cmd" in
++++ __conda_activate activate base
++++ '[' -n '' ']'
++++ local cmd=activate
++++ shift
++++ local ask_conda
++++ CONDA_INTERNAL_OLDPATH=/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
++++ __add_sys_prefix_to_path
++++ '[' -n '' ']'
+++++ dirname /home/alexk/anaconda3/bin/conda
++++ SYSP=/home/alexk/anaconda3/bin
+++++ dirname /home/alexk/anaconda3/bin
++++ SYSP=/home/alexk/anaconda3
++++ '[' -n '' ']'
++++ PATH=/home/alexk/anaconda3/bin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
++++ export PATH
+++++ PS1=
+++++ /home/alexk/anaconda3/bin/conda shell.posix activate base
++++ ask_conda='PS1='\''(base) '\''
export PATH='\''/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin'\''
export CONDA_SHLVL='\''1'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\'''
++++ rc=0
++++ PATH=/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
++++ eval 'PS1='\''(base) '\''
export PATH='\''/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin'\''
export CONDA_SHLVL='\''1'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\'''
+++++ PS1='(base) '
+++++ export PATH=/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++++ PATH=/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++++ export CONDA_SHLVL=1
+++++ CONDA_SHLVL=1
+++++ export 'CONDA_PROMPT_MODIFIER=(base) '
+++++ CONDA_PROMPT_MODIFIER='(base) '
++++ '[' 0 '!=' 0 ']'
++++ __conda_hashr
++++ '[' -n '' ']'
++++ '[' -n '' ']'
++++ hash -r
+++ unset __conda_setup
+++ export INSTALL_DIR=/usr/local
+++ INSTALL_DIR=/usr/local
+++ export PATH=/usr/local/openmpi/bin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ PATH=/usr/local/openmpi/bin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ export LD_LIBRARY_PATH=/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ LD_LIBRARY_PATH=/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ export PATH=/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ PATH=/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/hdf5/bin:/usr/local/openmpi/bin:/home/alexk/anaconda3/bin:/home/alexk/anaconda3/condabin:/home/alexk/.local/bin:/home/alexk/bin:/usr/local/cuda-11.1/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
+++ export LD_LIBRARY_PATH=/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ LD_LIBRARY_PATH=/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64:/usr/local/hdf5/lib:/usr/local/openmpi/lib:/usr/local/cuda-11.1/lib64
+++ export HDF5_ROOT_DIR=/usr/local/hdf5
+++ HDF5_ROOT_DIR=/usr/local/hdf5
+++ alias python=/usr/bin/python3.8
+ return 0
+ . /etc/X11/xinit/Xsession
++ '[' -z '' ']'
++ errfile=/home/alexk/.xsession-errors
++ umask 077
++ cp /dev/null /home/alexk/.xsession-errors
++ chmod 600 /home/alexk/.xsession-errors
++ '[' -x /sbin/restorecon ']'
++ /sbin/restorecon /home/alexk/.xsession-errors
++ exec
Terminated

@matt335672
Copy link
Member

OK - thanks.

The last few lines of this file are generated by /etc/X11/xinit/Xsession creating /home/alexk/.xsession-errors and redirecting stdout and stderr to it. So you should have a file /home/alexk/.xsession-errors in which the tracing continues.

What's in that?

@keale
Copy link
Author

keale commented Feb 15, 2021

[alexk@gpu2 ~]$ cat .xsession-errors

++ SWITCHDESKPATH=/usr/share/switchdesk
++ . /etc/X11/xinit/xinitrc-common
+++ '[' -r /etc/profile.d/lang.sh ']'
+++ . /etc/profile.d/lang.sh
++++ '[' -n de_DE.UTF-8 ']'
++++ LANG_backup=de_DE.UTF-8
++++ for config in /etc/locale.conf "${HOME}/.i18n"
++++ '[' -f /etc/locale.conf ']'
+++++ /usr/bin/sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' /etc/locale.conf
++++ eval export 'LANG="de_DE.UTF-8"'
+++++ export LANG=de_DE.UTF-8
+++++ LANG=de_DE.UTF-8
++++ for config in /etc/locale.conf "${HOME}/.i18n"
++++ '[' -f /home/alexk/.i18n ']'
++++ '[' -n de_DE.UTF-8 ']'
++++ LANG=de_DE.UTF-8
++++ unset LANG_backup config
++++ '[' -n '' ']'
++++ '[' -n de_DE.UTF-8 ']'
++++ '[' xterm = linux ']'
+++ '[' -r /home/alexk/.profile ']'
+++ userresources=/home/alexk/.Xresources
+++ usermodmap=/home/alexk/.Xmodmap
+++ userxkbmap=/home/alexk/.Xkbmap
+++ sysresources=/etc/X11/Xresources
+++ sysmodmap=/etc/X11/Xmodmap
+++ sysxkbmap=/etc/X11/Xkbmap
+++ '[' -r /etc/X11/Xresources ']'
+++ xrdb -nocpp -merge /etc/X11/Xresources
xrdb: Can't open display ''
+++ '[' -r /home/alexk/.Xresources ']'
+++ '[' -r /etc/X11/Xkbmap ']'
+++ '[' -r /home/alexk/.Xkbmap ']'
+++ '[' -r /etc/X11/Xkbmap -o -r /home/alexk/.Xkbmap ']'
+++ '[' -r /etc/X11/Xmodmap ']'
+++ xmodmap /etc/X11/Xmodmap
xmodmap:  unable to open display ''
+++ '[' -r /home/alexk/.Xmodmap ']'
+++ for file in /etc/X11/xinit/xinitrc.d/*
+++ . /etc/X11/xinit/xinitrc.d/00-start-message-bus.sh
++++ '[' -z unix:path=/run/user/1000/bus ']'
+++ for file in /etc/X11/xinit/xinitrc.d/*
+++ . /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
++++ systemctl --user import-environment DISPLAY XAUTHORITY
++++ command -v dbus-update-activation-environment
++++ dbus-update-activation-environment DISPLAY XAUTHORITY
+++ for file in /etc/X11/xinit/xinitrc.d/*
+++ . /etc/X11/xinit/xinitrc.d/localuser.sh
++++ '[' -x /usr/bin/xhost ']'
++++ '[' -x /usr/bin/id ']'
+++++ id -un
++++ xhost +si:localuser:alexk
+++ '[' -z '' ']'
+++ '[' -z '' ']'
+++ '[' -z '' ']'
+++ '[' -x /usr/bin/ssh-agent ']'
+++ '[' x '!=' x ']'
+++ SSH_AGENT=/usr/bin/ssh-agent
++ XCLIENTS_D=/etc/X11/xinit/Xclients.d
++ '[' 0 -eq 1 ']'
++ case $# in
++ '[' -x /home/alexk/.xsession ']'
++ '[' -x /home/alexk/.Xclients ']'
++ '[' -x /etc/X11/xinit/Xclients ']'
++ exec -l /bin/bash -c ' /usr/bin/ssh-agent /etc/X11/xinit/Xclients'

@matt335672
Copy link
Member

That all looks OK as far as it goes.

Last piece; try this one:-

DISPLAY= bash -x /etc/X11/xinit/Xclients

@keale
Copy link
Author

keale commented Feb 15, 2021

[alexk@gpu2 Smilei]$ DISPLAY= bash -x /etc/X11/xinit/Xclients :

+ '[' -z '' ']'
+ case "$-" in
+ __lmod_vx=x
+ '[' -n x ']'
+ set +x
Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash)
Shell debugging restarted
+ unset __lmod_vx
++ type -p gnome-session
+ GSESSION=/usr/bin/gnome-session
++ type -p mate-session
+ MSESSION=
++ type -p startkde
+ STARTKDE=
++ type -p startlxde
+ STARTLXDE=
+ PREFERRED=
+ '[' -f /etc/sysconfig/desktop ']'
+ '[' -n '' ']'
+ '[' -n /usr/bin/gnome-session ']'
+ exec /usr/bin/gnome-session
Terminated

@keale
Copy link
Author

keale commented Feb 15, 2021

Do XRDP relay to python installation? Problem seems to appear after installation of python3.8 paralell to anaconda3.

@matt335672
Copy link
Member

No - XRDP does not relate to Python.

All the plumbing looks OK, but for some reason you're not getting a session up.

You're not logged in on the console as the same user are you? That won't work on CentOS 8.

Assuming you're not, let's see if there's anything useful in the system log:-

  1. Make a note of the system time
  2. Try to log in over xrdp
  3. Post the output of sudo journalctl -S HH:MM:SS where HH:MM:SS is the time you noted in step 1.

@keale
Copy link
Author

keale commented Feb 15, 2021

I was logged out, when i tested RDP. But before problem has arised i assume, it was possible to open RDP session. May by I was root at this time. I attach the output.
Thank You very much again!
journal.log

@matt335672
Copy link
Member

There's a significant issue here:-

Feb 15 14:37:19 gpu2 gnome-session[67780]: gnome-session-binary[67780]: WARNING: Unable to find required component 'org.gnome.Shell'
Feb 15 14:37:19 gpu2 gnome-session-binary[67780]: WARNING: Unable to find required component 'org.gnome.Shell'
Feb 15 14:37:19 gpu2 gnome-session-binary[67780]: Entering running state
Feb 15 14:37:19 gpu2 gnome-session[67780]: Unable to init server: Could not connect: Connection refused
Feb 15 14:37:19 gpu2 gnome-session-f[67997]: Cannot open display:

Does GNOME work OK on the console? That will rule out problems with the installation

I see also that you've got some considerable customisations to your PATH in your .bashrc and .bash_profile. Could you rename these files to .bashrc.sav and .bash_profile.sav and try again?

@keale
Copy link
Author

keale commented Feb 15, 2021

Unfortunately, I do not have physical access to the node and cannot test GNOME directly. I renamed .bash.. and rebooted the node, but the behavior stay the same. I will deinstall gnome and try xfce. May be it will solve the issue.

@matt335672
Copy link
Member

It's possible you haven't got all of GNOME installed.

What's the output of these commands?

dnf group list
systemctl get-default

Thanks,

@keale
Copy link
Author

keale commented Feb 16, 2021

Sorry, it is in German.

dnf group list:

Verfügbare Arbeitsumgebungs-Gruppen:
   Minimale Installation
   Arbeitsplatz
   KDE Plasma-Arbeitsumgebung
   Virtualisierungs-Host
   Benutzerdefiniertes Betriebssystem
Installierte Arbeitsumgebungs-Gruppen:
   Server mit GUI
   Server
Installierte Gruppen:
   Containerverwaltung
   Kopfloses Management
Verfügbare Gruppen:
   .NET Core Entwicklung
   RPM Entwicklungswerkzeuge
   Entwicklungswerkzeuge
   Grafische Administrations-Tools
   Kompatibilität mit älteren UNIX-Systemen
   Netzwerk-Server
   Unterstützung für Wissenschaft
   Sicherheits-Tools
   Smart-Card-Unterstützung
   Systemwerkzeuge
   Fedora-Paket-Ersteller
   Xfce

[alexk@gpu2 smilei]$ systemctl get-default
multi-user.target

I asked a Colleagues from datacenter to check if he can log in with Gnome, haven't gotten an answer yet unfortunately.

The problem occurred after installing these packages:

  • libaec-1.0.2-3.el8.x86_64
  • hdf5-1.10.5-4.el8.x86_64
  • gcc-gfortran-8.3.1-5.1.el8.x86_64hdf5-devel-1.10.5-4.el8.x86_64
  • libaec-devel-1.0.2-3.el8.x86_64
  • libquadmath-devel-8.3.1-5.1.el8.x86_64
  • Lmod-8.2.7-1.el8.x86_64
  • hdf5-openmpi-1.10.5-4.el8.x86_64
  • hwloc-libs-1.11.9-3.el8.x86_64
  • libfabric-1.10.0-1.el8.x86_64
  • lua-filesystem-1.6.3-7.el8.x86_64
  • lua-posix-33.3.1-9.el8.x86_64
  • lua-term-0.07-9.el8.x86_64
  • munge-0.5.13-2.el8.x86_64
  • munge-libs-0.5.13-2.el8.x86_64
  • openmpi-4.0.3-3.el8.x86_64
  • opensm-libs-3.3.23-1.el8.x86_64
  • pmix-2.2.4rc1-1.el8.x86_64
  • torque-libs-4.2.10-25.el8.x86_64
  • ucx-1.8.0-1.el8.x86_64
  • hdf5-openmpi-devel-1.10.5-4.el8.x86_64
  • openmpi-devel-4.0.3-3.el8.x86_64
  • rpm-mpi-hooks-5-4.el8.noarch
  • platform-python-devel-3.6.8-31.el8.x86_64
  • python-rpm-macros-3-39.el8.noarch
  • python3-pip-9.0.3-18.el8.noarch
  • python3-rpm-generators-5-6.el8.noarch
  • python3-setuptools-39.2.0-6.el8.noarch
  • python36-3.6.8-2.module_el8.3.0+562+e162826a.x86_64
  • python36-devel-3.6.8-2.module_el8.3.0+562+e162826a.x86_64
  • and OpenMPI-4.1.0

@matt335672
Copy link
Member

It looks like you've got GNOME fully installed:-

Installierte Arbeitsumgebungs-Gruppen:
   Server mit GUI

You'll have problems getting the screen unlocking working however unless the default target is a graphical.target. That's just the way GNOME works. Also, your datacentre colleague will just have a text-based login to look at.

You can fix that with systemctl isolate graphical (works up to the next boot).

I doubt that's the problem here though.

None of those packages should cause any issues here.

Let's have a look at the environment that gnome-session is being presented with. You can do that by creating a file /etc/sysconfig/desktop with the following contents:-

env | sort >~/desktop.txt

It's a bit of a hack I'm afraid.

Then try to log in over xrdp, and post the contents of ~/desktop.txt

@keale
Copy link
Author

keale commented Feb 17, 2021

Dear @matt335672, I got XRDP to work with Xfce. The RDP session also starts when I am logged in via SSH at the same time.

Steps that led to success:
yum groupremove "Server mit GUI"
service xrdp stop
dnf remove xrdp
reboot
dnf groupinstall Xfce
echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc
sudo systemctl set-default graphical.target
reboot
dnf install xrdp
systemctl enable xrdp --now

@matt335672
Copy link
Member

That's great - thanks for the update.

On a purely personal note, I think XFCE is a better choice for a server. It's graphically less intensive, and you don't need the gdm login prompt working.

Can I close this one, or do you want to explore the GNOME issue further?

@keale
Copy link
Author

keale commented Feb 17, 2021

I agree, XFCE is also my favorite. I chose GNOME during the installation just out of interest. We have an exact same node with the same installation, at which the GNOME + XRDP combination works well...

One last note, maybe it is interesting for you for causes search in the future. You output from startx was:

X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System:  4.19.34-300.el7.x86_64
Current Operating System: Linux gpu2 4.18.0-240.10.1.el8_3.x86_64 #1 SMP Mon Jan 18 17:05:51 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-4.18.0-240.10.1.el8_3.x86_64 root=/dev/mapper/cl-root ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap
Build Date: 04 January 2021  04:26:35PM
Build ID: xorg-x11-server 1.20.8-6.1.el8_3
Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 17 10:11:59 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 14: 1a03:2000, driver (null)
MESA-LOADER: failed to open ast (search paths /usr/lib64/dri)
failed to load driver: ast
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86MonBrightnessCycle
> Warning:          Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86MonBrightnessCycle
> Warning:          Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Many thanks for your help!

@keale keale closed this as completed Feb 17, 2021
@skeetre
Copy link

skeetre commented Jan 26, 2022

Not sure if this will help anyone else in the future, but I've ran into this same issue. I don't have the option of using xfce like a lot of folks recommend, but what I've found works and doesn't work, is that with an Nvidia graphics card and the nouveau driver installed, I can use xrdp with Xorg or Xvnc, but on our systems without the discrete card using an 8mb Matrox graphics on Dell servers, it will do the immediate crash of the Xsession once authenticated. I'm still looking for a workaround to this besides using mate or xfce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants