FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 02-06-2010, 06:28 AM
Mario Chacon
 
Default Error getting the XDG_SESSION_COOKIE on F12

Hello,
I am trying to get the XDG_SESSION_COOKIE value on SSH connection, but I get an empty value, Why do I get empty value? Is it an authorization issue?
Thank yousalu2...

masch...
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-08-2010, 01:54 PM
Adam Jackson
 
Default Error getting the XDG_SESSION_COOKIE on F12

On Sat, 2010-02-06 at 04:28 -0300, Mario Chacon wrote:

> I am trying to get the XDG_SESSION_COOKIE value on SSH connection, but
> I get an empty value, Why do I get empty value? Is it an authorization
> issue?

This isn't really a Fedora issue, but.

You don't have an XDG session cookie when ssh'ing into a machine,
because you don't have an X session. That variable is set by the
desktop session and inherited into processes that the desktop starts;
the shell you ssh into is started by sshd, which is not part of the
desktop session, so does not that set that variable.

You could be trying one of two things. You could want the session
cookie of the X session of the machine you're ssh'ing _from_, in which
case you need to pass it in yourself; see the ENVIRONMENT section of
'man ssh'. Or, you could want the session cookie of some X session on
the machine you're ssh'ing into, in which case you need to scrape it out
of /proc/foo/environ or store it on the filesystem somewhere from a
process within that session.

- ajax

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 11:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org