I am new to xubuntu, somtimes my xfce desktop crashes, and I can only use tty1 from command line.
I want to know how can I restart my xfce in tty7 from tty1?
I've googled it, but didn't found the solution. Thanks.
I am new to xubuntu, somtimes my xfce desktop crashes, and I can only use tty1 from command line.
I want to know how can I restart my xfce in tty7 from tty1?
I've googled it, but didn't found the solution. Thanks.
For me
startxfce4
didn't work, butpkill
did.You could try the following command:
xfwm4 --replace
It restarts the windows manager.
pkill
worked but seemed a little extreme to me. If I had other stuff going on in other tty sessions, it would kill those too.Another solution is:
A great strength of Linux is that there are always multiple ways to achieve the same task.
Try killing user by
This will bring you back to login screen though.
You can try
startxfce4
.As this site says: