If $X$ is a dual space, the ball $B_X$ is weak star compact. Is the sphere generally weak star compact?
I think the answer is no because in $\ell^2$, the sequence $(e_n)_n$ converges weakly to zero, and so no subsequence converges weakly to an element with norm one.
The context for the question is the following statement from Wikipedia: Let $X$ be a $C^*$ algebra and with unit. The set of states (continuous linear functionals $f$ on $X$ such that $||f||=1$ and $f(x)\geq 0$ when $x\geq 0$) is a weakly compact set.
You are right. The sphere is not in general weak star compact. Thus, the family of states is a special case. To see this, we can show that $f$ is a state if and only if $f$ is a positive linear functional such that $$ f(1_X) = 1 $$ where $1_X$ is the unit of $X$. That is, every state attains its norm at the unit and this condition is also sufficient. Since weak star limit $f$ of sequence of states $f_n$ is still positive and $$ f(1_X) = \lim_{n\to\infty} f_n(1_X) = 1,$$ it holds that $f$ is also a state.