How to start gnome from command line?

  • Follow


I'd like to be able to start gnome from the command line on
a Solaris 9 sparc box without using dtlogin.  Just running 
'gnome-session' doesn't work, this gives the following
message:

  "Gtk Warning **: Can't open display:" 

I've done some searches and have not been able to find an
answer and would appreciate all help with this problem.

Thanks!

--  
David Swanger
swangdb@auburn.edu
0
Reply swangdb 7/14/2005 8:57:52 PM

On Thu, 14 Jul 2005 20:57:52 +0000, swangd wrote:

> I'd like to be able to start gnome from the command line on
> a Solaris 9 sparc box without using dtlogin.  Just running 
> 'gnome-session' doesn't work, this gives the following
> message:
> 
>   "Gtk Warning **: Can't open display:" 

Edit ~/.xinitrc

exec gnome-session

Then,

$ xinit

0
Reply Dave 7/14/2005 9:44:39 PM


Dave Uhring <daveuhring@yahoo.com> wrote:
> On Thu, 14 Jul 2005 20:57:52 +0000, swangd wrote:

> > I'd like to be able to start gnome from the command line on
> > a Solaris 9 sparc box without using dtlogin.  Just running 
> > 'gnome-session' doesn't work, this gives the following
> > message:
> > 
> >   "Gtk Warning **: Can't open display:" 

> Edit ~/.xinitrc

> exec gnome-session

> Then,

> $ xinit


This worked, thanks.

I changed the exec command as follows:

exec gone-session > /dev/null 2>&1

Otherwise I received some warning messages as gnome started.  Not
really a problem but I didn't receive these messages with dtlogin.


--  
David Swanger
swangdb@auburn.edu
0
Reply swangdb 7/15/2005 2:20:06 PM

2 Replies
1592 Views

(page loaded in 0.111 seconds)

Similiar Articles:













7/23/2012 4:33:44 PM


Reply: