Closed keale closed 3 years ago
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
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.
$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
@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
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?
[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'
That all looks OK as far as it goes.
Last piece; try this one:-
DISPLAY= bash -x /etc/X11/xinit/Xclients
[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
Do XRDP relay to python installation? Problem seems to appear after installation of python3.8 paralell to anaconda3.
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:-
sudo journalctl -S HH:MM:SS
where HH:MM:SS
is the time you noted in step 1.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
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?
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.
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,
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:
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
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
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?
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!
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.
xrdp has worked tedelless until today. Now the session is terminated immediately after login. The messages in the /etc/log/xrdp.log are:
~/.xsession-errors is empty.
/etc/xrdp/xrdp.ini looks like this:
Messages in /var/log/xrdp-sesman.log
Thanks for every help!