Solved

Linux, XMing, and gnome question

Posted on 2011-02-11
5
1,404 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ignore other .htaccess 2 70
centos commands 6 91
postfix start error! 9 54
DB2 9.7 Grant Execute SP 4 13
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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