Solved

Linux, XMing, and gnome question

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Penetration Testing home based work 3 91
Run same command on multiple files in Linux 3 60
Red Hat 7 Linux on Azure cannot run a command as root 22 53
android secure ftp 3 52
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
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…
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.

828 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