Solved

Linux, XMing, and gnome question

Posted on 2011-02-11
5
1,378 Views
Last Modified: 2012-05-11
My gnome session frooze up, so I killed my XMing and putty sessions and started again

I start a new XMing, and in a new Putty session, I enter:

[root@hx5 ~]# export DISPLAY=10.14.100.2:0.0
[root@hx5 ~]# gnome-session
SESSION_MANAGER=local/hx5.rtp.raleigh.ibm.com:/tmp/.ICE-unix/12030
Initializing nautilus-open-terminal extension
Passkey agent registration failed: Passkey agent already exists

** (eggcups:12071): WARNING **: IPP request failed with status 1030

** (eggcups:12071): WARNING **: IPP request failed with status 1030

** (nm-applet:12101): WARNING **: <WARN>  applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken.  Return: 3

Introspect error: Launch helper exited with unknown return code 0
could not attach to desktop process

Open in new window


I performed the following:

[root@hx5 ~]# ps -ef | grep gnome
root     10173     1  0 14:13 ?        00:00:00 /usr/libexec/gnome-settings-daemon
root     10192     1  0 14:13 ?        00:00:00 gnome-panel --sm-client-id default2
root     10201     1  0 14:13 ?        00:00:00 /usr/libexec/gnome-vfs-daemon
root     11627     1  0 14:20 ?        00:00:00 /usr/libexec/gnome-vfs-daemon
root     11674     1  0 14:20 ?        00:00:00 /usr/libexec/gnome-vfs-daemon
root     12030 12004  0 14:40 pts/3    00:00:00 gnome-session
root     12033     1  0 14:40 pts/3    00:00:00 /usr/bin/gnome-keyring-daemon
root     12040     1  0 14:40 ?        00:00:00 /usr/libexec/gnome-settings-daemon
root     12060     1  0 14:40 ?        00:00:00 gnome-panel --sm-client-id default2
root     12069     1  0 14:40 ?        00:00:00 /usr/libexec/gnome-vfs-daemon
root     12111     1  0 14:40 ?        00:00:00 gnome-power-manager
root     12134     1  0 14:40 ?        00:00:00 gnome-screensaver
root     12164 12137  0 14:41 pts/4    00:00:00 grep gnome

Open in new window



How can I get a gnome-session up and running again with out a reboot ?
0
Comment
Question by:Los Angeles1
  • 3
5 Comments
 
LVL 3

Expert Comment

by:flubbard
ID: 34875296
If it is a fedora / redhat based system, you should be able to use and init 3 and init 5 to change run level down to 3 and back to 5 to restart X.  With ubuntu style systems I think that you restart the gdm service.

  HTH - flub
0
 
LVL 3

Expert Comment

by:oppofwar
ID: 34886201
try Stopping NetworkManager service and use also chkconfig networkManager off to be persistent
0
 

Author Comment

by:Los Angeles1
ID: 34892686
I do not have much experience with this, could you please be a little more explicit ?
0
 
LVL 3

Accepted Solution

by:
flubbard earned 500 total points
ID: 34896362
to do the init, switch to another terminal by pressing Ctrl-Alt-F2
Sign in as root, then type:

#init 3

After it runs through (stopping X), you can restart X by typing:

#init 5

To restart the network service, from the terminal, type

#service network restart

or

#service networking restart

depending on your distribution.

  HTH -flub
0
 
LVL 3

Expert Comment

by:flubbard
ID: 34896366
Sorry, forgot about gdm...same thing:

#service gdm restart

 - flub
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now