Ron Halstead <rdhalstead at gmail.com>
writes:

> Alan,
>
> That's my point. gdm is not starting the X server and the login
> screen, then the gnome session. I was trying to see if X could be
> manually started. It can't. I will try your suggestion when I get home.
> snv_109 Sparc works (I'm on it now) but x86 has problems.

What I've been doing since the trouble started in version 108 (I
think) with starting X:

Edit /rpool/boot/grub/menu.lst
Find the section you are being shown on bootup and edit it something
like: 

  title opensolaris-1
  findroot (pool_rpool,0,a)
  # splashimage /boot/solaris.xpm
  # foreground d25f00
  # background 115d93
  bootfs rpool/ROOT/opensolaris-1

(Remove `,console=graphics' from the end of the next
 line so you have:)

  kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
  module$ /platform/i86pc/$ISADIR/boot_archive

Note you can find the right section by taking note of a line near
the top like:

  default 2

Understand though that the count starts at 0 so:
  default 2

means the third entry.  (Each entry begins with `title')

The final result should look like:

title opensolaris-1
findroot (pool_rpool,0,a)
# splashimage /boot/solaris.xpm
# foreground d25f00
# background 115d93
bootfs rpool/ROOT/opensolaris-1
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive


(of course you could just remove the commented lines.
 I left them to remember for later and the `title' line
 can really be anything you like)


Next turn off gdm

 # svcadm -v disable gdm

(Note that if you are in X it will kill the X session)

  reboot.

>From now on you will get a console login

Once you've logged in... start X with:

  startx /usr/bin/dbus-launch --exit-with-session gnome-session

Until the bug is fixed, that should keep you able to run X.


Reply via email to