Desktop refreshing problem? [SOLVED].

Forum Forums New users New Users and General Questions Desktop refreshing problem? [SOLVED].

Tagged: ,

  • This topic has 17 replies, 3 voices, and was last updated Jun 16-6:38 am by Xecure.
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #37475
    Member
    Thalassius

      Hi!

      I have this weird problem:
      My desktop image, don’t seems to get properly refreshed.
      Every time I’m closing (or minimizing) the last using application, it shows (instead of the wallpaper) a ghost image of the last used application.
      Eg. lets say I’m using the terminal and I’m closing or minimized it. Then, instead of showing the wallpaper, I’m still looking at the terminal’s output.

      I uploaded a screenshot. What you can see, is NOT a running terminal. It’s a ghost image of the terminal (which is minimized).

      • This topic was modified 2 years, 10 months ago by Thalassius. Reason: Adding screenshot
      • This topic was modified 2 years, 10 months ago by Thalassius.
      Attachments:

      For the glorious men, every land is a grave.
      Pericles' "Funeral Oration".

      #37478
      Member
      Xecure
        Helpful
        Up
        0
        ::

        Is this antiX 19 or 17? What window manager are you using? Are you using spacefm or rox as a desktop handler? Have you changed the desktop background with the antiX wallpaper app? Is your system updated?
        As we cannot guess these things, it is always better to give as much information as possible for a fast resolution. Many recommend using
        inxi -Fxz
        and post the terminal output here to give in a single post as much information as possible.

        • This reply was modified 2 years, 10 months ago by Xecure. Reason: typo

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #37480
        Member
        Thalassius
          Helpful
          Up
          0
          ::

          Latest version (19), fully updated, no repos change (neither adding, nor removing). Icewm, with Rox.
          Maybe it happened because of the update?
          Now I can recall, that before updating, I changed my login manager, because I had some problems with Slim and I replaced it with GDM.
          Maybe this is the root of the problem (although I didn’t notice it at the time (yesterday, before updating)).
          Anyway! I can restore an image (that I made with Clonezilla), to see if this is the case.

          >inxi -Fxz
          System: Host: PC Kernel: 4.9.212-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: IceWM 1.6.6
          Distro: antiX-19.2_x64-full Hannie Schaft 27 March 2020 base: Debian GNU/Linux 10 (buster)
          Machine: Type: Desktop System: ASUS product: All Series v: N/A serial: <filter>
          Mobo: ASUSTeK model: AM1M-A v: Rev X.0x serial: <filter> BIOS: American Megatrends v: 1501 date: 04/01/2016
          CPU: Topology: Quad Core model: AMD Athlon 5350 APU with Radeon R3 bits: 64 type: MCP arch: Jaguar rev: 1
          L2 cache: 2048 KiB
          flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 16369
          Speed: 800 MHz min/max: 800/2050 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
          Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series] vendor: ASUSTeK driver: radeon
          v: kernel bus ID: 00:01.0
          Display: x11 server: X.Org 1.20.4 driver: ati,radeon unloaded: fbdev,modesetting,vesa
          resolution: 1360x768_60.00~60Hz
          OpenGL: renderer: AMD KABINI (DRM 2.49.0 4.9.212-antix.1-amd64-smp LLVM 7.0.1) v: 4.5 Mesa 18.3.6
          direct render: Yes
          Audio: Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
          bus ID: 00:01.1
          Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:14.2
          Sound Server: ALSA v: k4.9.212-antix.1-amd64-smp
          Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: 2.3LK-NAPI
          port: e000 bus ID: 01:00.0
          IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
          Drives: Local Storage: total: 931.51 GiB used: 18.10 GiB (1.9%)
          ID-1: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
          Partition: ID-1: / size: 30.24 GiB used: 3.78 GiB (12.5%) fs: ext4 dev: /dev/sda6
          ID-2: swap-1 size: 6.05 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda7
          Sensors: System Temperatures: cpu: 25.2 C mobo: N/A gpu: radeon temp: 24 C
          Fan Speeds (RPM): cpu: 0
          Info: Processes: 164 Uptime: 1m Memory: 3.31 GiB used: 280.2 MiB (8.3%) Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0
          Shell: bash v: 5.0.3 inxi: 3.0.36
          >

          • This reply was modified 2 years, 10 months ago by Thalassius.

          For the glorious men, every land is a grave.
          Pericles' "Funeral Oration".

          #37482
          Member
          Xecure
            Helpful
            Up
            0
            ::

            SliM is very integrated with antiX. With the original slim login manager, all desktop-session options work when launched, but ither login managers don’t. You must have noticed that you no longer have a volume icon in the toolbar (that was managed by antiX’s desktop session). This desktop session even manages the wallpaper, so what you are experiencing is a non working wallpaper.

            Fortunetly there is a solution.
            You just need to edit the icewm-session file in /usr/share/xsession to launch antiX desktop session
            See this answer:

            I am not sure anymore; it has been a while since I looked. I say this as lightdm is supposed to do session management in a way, which is what desktop-session is trying to do as well.
            Perhaps the quickest and easiest way is to make a bunch of files in /usr/share/xsessions similar to what is there but one for each antiX session. In the newly made files you could put on the exec line desktop-session rox-icewm. For example using above.

            [code]

            [Desktop Entry]
            Name=DS Rox-IceWM
            Comment=Rox and Icewm with desktop-session
            Exec=desktop-session rox-icewm
            Terminal=false
            TryExec=desktop-session rox-icewm
            Type=Application

            [X-Window Manager]
            SessionManaged=true
            [/code]

            antiX Live system enthusiast.
            General Live Boot Parameters for antiX.

            #37487
            Member
            Thalassius
              Helpful
              Up
              0
              ::

              Nope! Didn’t work.
              Reverted back to Slim.

              Speaking of which, did someone managed to get Slim’s commands “reboot” or “halt” to work?
              I uncommented the respective lines at /etc/slim.conf (just below the live cd options), but they doesn’t do something.

              I suppose the workaround is rather easy. Exiting (with “exit” command (or switching to VT1 (with Ctrl-Alt-F1)) and issue a Ctrl-Alt-Del for reboot or login as root and issue an “init 0” for poweroff.

              I’m just curious, if someone got the above Slim’s commands to work.

              For the glorious men, every land is a grave.
              Pericles' "Funeral Oration".

              #37488
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                They work out of the box

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #37489
                Member
                Thalassius
                  Helpful
                  Up
                  0
                  ::

                  Didn’t worked for me at the 1st place, so I uncommented them.
                  Didn’t work either.

                  • This reply was modified 2 years, 10 months ago by Thalassius.

                  For the glorious men, every land is a grave.
                  Pericles' "Funeral Oration".

                  #37490
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    Let’s see your /etc/slim.conf file

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #37492
                    Member
                    Thalassius
                      Helpful
                      Up
                      0
                      ::

                      Here it is:

                      # Path, X server and arguments (if needed)
                      # Note: -xauth $authfile is automatically appended
                      #
                      default_path        /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                      default_xserver     /usr/bin/X11/X
                      xserver_arguments   -nolisten tcp -background none
                      
                      # Commands for halt, login, etc. on live antiX
                      halt_cmd            /usr/local/bin/persist-config --shutdown --command halt 
                      reboot_cmd          /usr/local/bin/persist-config --shutdown --command reboot 
                      # Commands for halt, login, etc. on installed antiX
                      halt_cmd            sudo halt 
                      reboot_cmd        sudo reboot 
                      #console_cmd         /usr/bin/urxvt -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue.net; exec /bin/login"
                      #suspend_cmd        /usr/sbin/suspend
                      
                      # Full path to the xauth binary
                      xauth_path         /usr/bin/X11/xauth
                      
                      # Xauth file for server
                      authfile           /var/run/slim.auth
                      
                      # Activate numlock when slim starts. Valid values: on|off
                      numlock             on
                      
                      # Hide the mouse cursor (note: does not work with some WMs).
                      # Valid values: true|false
                      hidecursor          false
                      
                      # This command is executed after a succesful login.
                      # you can place the %session and %theme variables
                      # to handle launching of specific commands in .xinitrc
                      # depending of chosen session and slim theme
                      #
                      # NOTE: if your system does not have bash you need
                      # to adjust the command according to your preferred shell,
                      # i.e. not using desktop-session-antix:
                      #login_cmd         exec /bin/bash -login /etc/X11/Xsession %session 
                      #################OLD COMMAND####################
                      # login_cmd         exec /bin/bash -login ~/.xinitrc %session >~/.xsession-errors$DISPLAY 2>&1
                      ################################################
                      #LOGIN COMMAND FOR DESKTOP SESSION BELOW#
                      #############################################################################################
                      login_cmd   setsid /usr/local/bin/desktop-session %session
                      #############################################################################################
                      
                      # login_cmd exec dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1
                      
                      # Commands executed when starting and exiting a session.
                      # They can be used for registering a X11 session with
                      # sessreg. You can use the %user variable
                      #
                      # sessionstart_cmd	some command
                      # sessionstop_cmd	some command
                      
                      # Start in daemon mode. Valid values: yes | no
                      # Note that this can be overriden by the command line
                      # options "-d" and "-nodaemon"
                      # daemon	yes
                      
                      # Available sessions (first one is the default).
                      # The current chosen session name is replaced in the login_cmd
                      # above, so your login command can handle different sessions.
                      # see the xinitrc.sample file shipped with slim sources
                      #sessions rox-fluxbox,space-fluxbox,fluxbox,rox-icewm,space-icewm,icewm,rox-jwm,space-jwm,jwm,herbstluftwm
                      sessiondir /usr/share/xsessions
                      
                      # Executed when pressing F11 (requires scrot)
                      screenshot_cmd      scrot /root/slim.png
                      
                      # welcome message. Available variables: %host, %domain
                      welcome_msg         (Press F1 to toggle sessions)
                      
                      # Session message. Prepended to the session name when pressing F1
                      # session_msg         Session: 
                      
                      # shutdown / reboot messages
                      shutdown_msg 	The system is shutting down...
                      reboot_msg 		The system is rebooting...
                      
                      # Focus the password field on start when #default_user is set
                      # Set to "yes" to enable this feature
                      focus_password      yes
                      
                      # Automatically login the default user (without entering
                      # the password. Set to "yes" to enable this feature
                      #auto_login          yes
                      
                      # default user, leave blank or remove this line
                      # for avoid pre-loading the username.
                      default_user        giorgos
                      
                      # current theme, use comma separated list to specify a set to 
                      # randomly choose from
                      #current_theme 	BlueLines
                      #current_theme 	BlueLinesLight
                      current_theme 	antiXIce
                      #current_theme 	DarkCity#current_theme 	PrettyPink
                      #current_theme 	SunnyDay
                      
                      # Lock file
                      lockfile            /var/run/slim.lock
                      
                      # Log file
                      logfile             /var/log/slim.log

                      For the glorious men, every land is a grave.
                      Pericles' "Funeral Oration".

                      #37493
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        You have

                        # Commands for halt, login, etc. on live antiX
                        halt_cmd            /usr/local/bin/persist-config --shutdown --command halt 
                        reboot_cmd          /usr/local/bin/persist-config --shutdown --command reboot 
                        # Commands for halt, login, etc. on installed antiX
                        halt_cmd            sudo halt 
                        reboot_cmd        sudo reboot 

                        Change to

                        # Commands for halt, login, etc. on live antiX
                        #halt_cmd            /usr/local/bin/persist-config --shutdown --command halt 
                        #reboot_cmd          /usr/local/bin/persist-config --shutdown --command reboot 
                        # Commands for halt, login, etc. on installed antiX
                        halt_cmd            sudo halt 
                        reboot_cmd        sudo reboot 

                        Philosophers have interpreted the world in many ways; the point is to change it.

                        antiX with runit - leaner and meaner.

                        #37498
                        Member
                        Thalassius
                          Helpful
                          Up
                          0
                          ::

                          OK! Commented out the live cd options.
                          Not much of a change.

                          For the glorious men, every land is a grave.
                          Pericles' "Funeral Oration".

                          #37499
                          Forum Admin
                          anticapitalista
                            Helpful
                            Up
                            0
                            ::

                            Did you reboot after making the changes?

                            Philosophers have interpreted the world in many ways; the point is to change it.

                            antiX with runit - leaner and meaner.

                            #37500
                            Member
                            Thalassius
                              Helpful
                              Up
                              0
                              ::

                              Yes. No effect.

                              For the glorious men, every land is a grave.
                              Pericles' "Funeral Oration".

                              #37513
                              Member
                              Xecure
                                Helpful
                                Up
                                0
                                ::

                                Installing gdm3 really played a trick on my system (luckily it is in a VM). I think it is related to defaulting to wayland. Used a live system to reset slim as default display manager. Now, I get this error when using dpkg-reconfigure slim

                                $ sudo dpkg-reconfigure slim
                                [ ok ] Reloading system message bus config...done.
                                WARNING: /lib/systemd/system/slim.service is the selected default display manager but does not exist

                                Could installing gdm3 modify how the antiX system should work? Anyway, I purged it.

                                Going back to reboot and halting, I got reboot to work with the default
                                reboot_cmd /usr/local/bin/persist-config --shutdown --command reboot
                                user: reboot, password: myrootpassword
                                I had previously uninstalled gdm3, but I don’t think that should be related.

                                Anyway, if you can test gdm3 again (if you haven’t uninstalled it), you can add an entry to the $HOME/.icewm/startup file as BobC illustrated:

                                Yup, that fixed it. I added code to the beginning of ~/.icewm/startup as follows:

                                # run desktop-session startup. 
                                if [ -x "$HOME/.desktop-session/startup" ] ; then
                                	. $HOME/.desktop-session/desktop-session.conf
                                	. $HOME/.desktop-session/startup
                                fi
                                
                                • This reply was modified 2 years, 10 months ago by Xecure. Reason: typo

                                antiX Live system enthusiast.
                                General Live Boot Parameters for antiX.

                                #37515
                                Forum Admin
                                anticapitalista
                                  Helpful
                                  Up
                                  0
                                  ::

                                  current_theme antiXIce

                                  Try using the default BlueLines theme

                                  Philosophers have interpreted the world in many ways; the point is to change it.

                                  antiX with runit - leaner and meaner.

                                Viewing 15 posts - 1 through 15 (of 18 total)
                                • You must be logged in to reply to this topic.