Solved

Linux, XMing, and gnome question

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

776 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