The real force when the block is at position $A$ is the normal force, $N$, on the block due to the groove wall.
This force accelerates the block towards position $B$ which is further from the centre of rotation, $X$, than position $A$.
This is demonstrated by Walter Lewin using a marble in a glass tube.
However the trajectory of the marble/block is not a straight line.
This is because the force on the block is always at right angles to the groove wall and thus there was no radial component I decided to use polar coordinates. I also decided not to consider motion in the rotating frame of the cylinder because I did not want to introduce pseudo forces although it would have made the analysis a little easier.
In polar coordinates the position of a particle is defined by $r$ and $\theta$. Let the block at time $t = 0$ be at position $(R,0)$ and with a velocity $(0,R \dot \theta)$ where $\dot{\theta}$ is the angular speed of the cylinder and assumed to be constant.
The formula for acceleration in polar coordinates looks horrific,
$\vec{ \ddot{r}} = ( \ddot{r} - r {\dot {\theta}}^2) \hat{r} + (r \ddot{\theta} + 2 \dot{r}\dot{\theta})\hat{\theta}$
Applying Newton's second law with the normal reaction force having no radial component gives
$\vec F = F \hat{\theta} = m \vec{\ddot{r}} = m(( \ddot{r} - r {\dot {\theta}}^2) \hat{r} + (r \ddot{\theta} + 2 \dot{r}\dot{\theta})\hat{\theta})$
So $\; \ddot{r} - r {\dot {\theta}}^2 = 0\;$ which is equivalent to the formula one would have obtained in the rotating frame of reference.
Solving this equation and applying the initial conditions gives $r = \frac R2e^{-\dot \theta t}(e^{2\dot\theta t}+1)$ and because $\dot{\theta}t = \theta$ this can be rewritten as $r = \frac R2e^{-\theta}(e^{2\theta}+1)$.
Here is the path taken by the block with $R=1$ and you can see that for the first part of the motion it is "almost" a straight line.