LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-06-2013, 09:11 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
unable to start gnome-session after login remote server


Hi all,

Server
Ubuntu 12.04 desktop 64bit
openssh-server installed

Local PC
Ubuntu 12.04 desktop 64bit
openssh-client installed


$ ssh -X satimis@192.168.0.11
$ gnome-session > gnome-session

Warning
Code:
** (gnome-settings-daemon:24731): WARNING **: You can only run one xsettings manager at a time; exiting

** (gnome-settings-daemon:24731): WARNING **: Unable to start xsettings manager: Could not initialize xsettings manager.
compiz (core) - Error: Screen 0 on display "localhost:10.0" already has a window manager; try using the --replace option to replace the current window manager.
Failed to play sound: Not available
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon

(gnome-settings-daemon:24731): keyboard-plugin-WARNING **: Failed to set the keyboard layouts: GDBus.Error:org.freedesktop.Accounts.Error.PermissionDenied: Not authorized

** (gnome-settings-daemon:24731): WARNING **: Failed to connect context: Connection refused

(gnome-settings-daemon:24731): clipboard-plugin-WARNING **: Clipboard manager is already running.

(gnome-settings-daemon:24731): color-plugin-WARNING **: failed to create device: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-device auth

(gnome-settings-daemon:24731): color-plugin-WARNING **: GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-profile auth

(gnome-settings-daemon:24731): color-plugin-WARNING **: no xrandr-Philips Consumer Electronics Company-Philips 200W-BZ1063822605 device found: Failed to find output xrandr-Philips Consumer Electronics Company-Philips 200W-BZ1063822605

** (gnome-settings-daemon:24731): WARNING **: Failed to connect context: Connection refused
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
^C** Message: PID 0 (we are 24763) sent signal 2, shutting down...


(gnome-settings-daemon:24731): color-plugin-WARNING **: failed to create device:
 GDBus.Error:org.freedesktop.ColorManager.Failed: failed to obtain org.freedeskt
op.color-manager.create-device auth

(gnome-settings-daemon:24731): color-plugin-WARNING **: GDBus.Error:org.free[0/42]
top.ColorManager.Failed: failed to obtain org.freedesktop.color-manager.create-p
rofile auth

(gnome-settings-daemon:24731): color-plugin-WARNING **: no xrandr-Philips Consum
er Electronics Company-Philips 200W-BZ1063822605 device found: Failed to find ou
tput xrandr-Philips Consumer Electronics Company-Philips 200W-BZ1063822605

** (gnome-settings-daemon:24731): WARNING **: Failed to connect context: Connect
ion refused
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
^C** Message: PID 0 (we are 24763) sent signal 2, shutting down...

satimis@localhost:~$ ** Message: PID 24763 (we are 24763) sent signal 15, shutti
ng down...

(nm-applet:24763): libappindicator-WARNING **: Unable to send signal for NewStat
us: The connection is closed
** Message: moving back from GtkStatusIcon to indicator

(nm-applet:24763): Gtk-CRITICAL **: gtk_status_icon_set_visible: assertion `GTK_
IS_STATUS_ICON (status_icon)' failed
^C

$ cat gnome-session
Code:
GNOME_KEYRING_CONTROL=/tmp/keyring-mfg24m
SSH_AUTH_SOCK=/tmp/keyring-mfg24m/ssh
GNOME_KEYRING_PID=24727
GNOME_KEYRING_CONTROL=/tmp/keyring-mfg24m
SSH_AUTH_SOCK=/tmp/keyring-mfg24m/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-mfg24m
SSH_AUTH_SOCK=/tmp/keyring-mfg24m/ssh
GPG_AGENT_INFO=/tmp/keyring-mfg24m/gpg:0:1
Initializing nautilus-gdu extension
Shutting down nautilus-gdu extension
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
However I can start xterm

Please help.

B.R.
satimis

Last edited by satimis; 01-06-2013 at 09:13 AM.
 
Old 01-08-2013, 12:45 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

This happens because you already have one Xserver running and you can only have one per TTY. I've found this on the internet and thought it might be helpful. As pointed out, some things will not work since they're already running in the other session. Another option you can use is listed in this thread.

Hope it helps.

Kind regards,

Eric
 
Old 01-08-2013, 04:22 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by EricTRA View Post
Hi,

This happens because you already have one Xserver running and you can only have one per TTY. I've found this on the internet and thought it might be helpful. As pointed out, some things will not work since they're already running in the other session. Another option you can use is listed in this thread.

Hope it helps.

Kind regards,

Eric
Hi Eric,

Thanks for your advice and links

Following thread works for me.
Gnome Session Over SSH
http://brice-rebsamen.blogspot.com.e...-over-ssh.html

However there are 2 problems;
1) It must be performed as root because executing "xinit -- :1"
2) The remote desktop takes up the complete screen, impossibe switching between remote and local screens.

I found following thread before. It didn't help me out.
Remote x-server with ssh -X
http://askubuntu.com/questions/17590...ver-with-ssh-x

However I couldn't explain why sometimes I can start remote Gnome another occasion failure. If successful the background of the remote desktop disappears but the remote left tool-bar displayed on top of the local left tool-bar.

B.R.
satimis
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to login to Gnome session after installing lxde ugge Ubuntu 1 08-08-2009 03:14 PM
Start gnome session for user at remote box. bubnoff Linux - General 8 07-27-2009 01:07 AM
I am unable to exit my script that uses ssh to login to a remote server jtbinuya Linux - Newbie 2 06-12-2008 10:17 PM
start VNC in remote x session yourEgg Linux - Networking 0 05-17-2004 05:48 PM
How to start a remote X session? ejennings_98 Linux - Newbie 2 02-22-2004 10:08 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration