How to run GUI admin tools remotely?
Rashkae
ubuntu at tigershaunt.com
Mon Jan 26 15:48:08 UTC 2009
Chris G wrote:
> On Mon, Jan 26, 2009 at 10:06:27AM -0500, Rashkae wrote:
>> Chris G wrote:
>>
>>> Phew - we made it at last! Thanks! :-)
>>>
>>> It took me a little thought to realise that, after getting root on the
>>> garage machine I needed to do:-
>>>
>>> ck-launch-session services-admin
>>>
>>> all as a single command, but once I'd done that I had what I wanted.
>>>
>> That's a little strange. When I ran ck-launch-session by itself, it
>> created a new shell instance from which I could run the services admin
>> (or any other gnome gui tool.) What does the output look like if you
>> run ck-launch and then do a ck-list-sessions?
>>
> It tells me about all the sessions I've started and left behind:-
>
> root at garage:~# ck-list-sessions
> Session115:
> uid = '1000'
> realname = 'Chris,,,'
> seat = 'Seat19'
> session-type = ''
> active = FALSE
> x11-display = ''
> x11-display-device = ''
> display-device = '/dev/ssh'
> remote-host-name = 'home.isbd.net'
> is-local = FALSE
> on-since = '2009-01-26T15:05:29.778207Z'
> Session116:
> uid = '0'
> realname = 'root'
> seat = 'Seat20'
> session-type = ''
> active = FALSE
> x11-display = 'localhost:10.0'
> x11-display-device = ''
> display-device = '/dev/pts/0'
> remote-host-name = ''
> is-local = FALSE
> on-since = '2009-01-26T15:07:30.427342Z'
> Session117:
> uid = '1000'
> realname = 'Chris,,,'
> seat = 'Seat21'
> session-type = ''
> active = FALSE
> x11-display = ''
> x11-display-device = ''
> display-device = '/dev/ssh'
> remote-host-name = 'home.isbd.net'
> is-local = FALSE
> on-since = '2009-01-26T15:11:28.430040Z'
> Session118:
> uid = '0'
> realname = 'root'
> seat = 'Seat1'
> session-type = ''
> active = FALSE
> x11-display = ''
> x11-display-device = ''
> display-device = '/dev/pts/1'
> remote-host-name = ''
> is-local = TRUE
> on-since = '2009-01-26T15:11:51.675963Z'
>
>
> When I do "ck-launch-session" nothing actually happens, nothing
> appears on the screen or anything, it just returns to the prompt.
>
As far as I can tell, that's what supposed to happen, but if you run
ck-list before and after, you should notice a new Session owned by
'root'. That's the point where I can then, from that shell, launch the
gui tools.
More information about the ubuntu-users
mailing list