How to run GUI admin tools remotely?
Chris G
cl at isbd.net
Mon Jan 26 17:12:11 UTC 2009
On Mon, Jan 26, 2009 at 10:48:08AM -0500, Rashkae wrote:
> Chris G wrote:
> > 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.
>
It does seem to work mostly as you say now though I'm sure it didn't
before.
This works OK:-
chris at garage:~$ sudo ck-launch-session services-admin
and this works OK:-
chris at garage:~$ sudo ck-launch-session
[sudo] password for root:
root at garage:~# services-admin
and this works:-
chris at garage:~$ sudo -s
root at garage:~# services-admin
root at garage:~#
but this doesn't:-
chris at garage:~$ su
Password:
root at garage:/home/chris# ck-launch-session
X11 connection rejected because of wrong authentication.
root at garage:/home/chris#
I'm sure I didn't get that X11 error the last time I tried it! It
still has the DISPLAY variable set correctly, I checked.
Oh well, I can get it to work so that's all I need really.
--
Chris Green
More information about the ubuntu-users
mailing list