LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-26-2013, 07:05 AM   #1
meraj21
LQ Newbie
 
Registered: Feb 2013
Location: Dhaka
Distribution: ubuntu 12.04
Posts: 3

Rep: Reputation: Disabled
Can not log out


I am using different desktop environment. When I log out from one to log in another, I see the new name so I log into that. But now I can not remember the name.
Now I can not log out from the environment. And can not do other things. Mouse works, but with right click nothing appears.

Present state of my desktop

Only top date bar shows. When I use arrow key in time of restarting those writings show.
Main thing is, I try to install tor browser. And after install I can't run it. So I try to change desktop environment.
 
Old 02-26-2013, 08:36 PM   #2
meraj21
LQ Newbie
 
Registered: Feb 2013
Location: Dhaka
Distribution: ubuntu 12.04
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have solved my problem with following process:

Looks like a problem with your X server.

Go to a virtual terminal (ctrl+alt+F1), log in, and then type:

$ ps aux | grep lightdm

You should see a few processes:

Code:
root      1683  0.0  0.8 270708 31228 ?        SLsl 14:11   0:00 lightdm
root      1717  6.3  5.1 506788 188216 tty7    Ss+  14:11  12:03 /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
root      3199  0.0  0.1 177188  3976 ?        Sl   14:11   0:00 lightdm --session-child 12 21
user     25868  0.0  0.0  13588   916 pts/2    S+   17:19   0:00 grep lightdm
See the one that starts with /usr/bin/X ? That's the one we are going to kill.

$ sudo kill 1717 #replace 1717 with the number next to your /usr/bin/X process


It should take you back to the login screen, where you can select a different desktop environment/window manager.
 
Old 02-27-2013, 04:50 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Let's know which desktop environments - GNOME, KDE, XFCE...?

Well, you can switch between different desktop environments like:

Move to KDE:
Code:
~$ switchdesk kde
Move to GNOME:
Code:
$ switchdesk gnome
And to load KDE while running GNOME:
Code:
~$ startkde &
If you're in GNOME, then I guess metacity service is not running, hence you cannot use right click. So check and start it:
Code:
~$ ps -aef | grep metacity
If it gives running process, then simply kill that and then restart, as:
Code:
~$ kill <pid>
~$ metacity &
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fix "Please have a look at the log file for details: /var/log/jockey.log" harisuciha Linux - Hardware 3 04-29-2012 12:59 PM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 08:34 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration