Re: Gtk-WARNING **: cannot open display:



On Fri, 2003-02-21 at 07:09, Rico wrote:
> --- Daniel Serodio <daniel checkforte com br> wrote:
> > You shouldn't call 'garnome-session' directly, as it doesn't start the X
> > server. Try running 'startx', or logging in from xdm, gdm, kdm or the
> > like.
> 
> Allow me to piggyback on this part: when I've logged in as a given user, rico,
> and I press Ctrl-Alt-F1 to log in as rico_bro, is there any way that rico_bro
> can run garnome and have some GUI going? startx doesn't work, I believe because
> X is already running, and @GARNOME/bin/gnome-session gives me Gtk-WARNING.
> How can I do it?
> 
> Thanks,
> Rico.
> 

startx won't start because there's already a display on :0, so use:

startx -- :1

and it'll start a new display on :1

If you're running gdm, this is much easier. In System Tools -> New
Login, which will start a new X display with gdm waiting, without
logging you off the current session.

HTH, Shaun.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]