Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 still found the solution. Tnanks.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Try killing user by

pkill -KILL -u yourusername

This will bring you back to login screen though.

share|improve this answer

You can try startxfce4.

As this site says:

Restart XFCE4 : from the command line, you would better use "startxfce4" to bypass stupid distribution X startup scripts that can drive you crazy, really.

share|improve this answer

For me startxfce4 didn't work, but pkill did.

You could try the following command:

xfwm4 --replace

It restarts the windows manager.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.