2

I have tried to follow the best answer on this question Is there an Ubuntu theme available to make it look like Windows 7? but when I enter this code ./win7-setup.sh I get this error:

enter image description here

And I have tried to run this command in "GNOME", "GNOME Classic" and "GNOME Classic(No effects)"

I'm running Ubuntu 12.04 64bit.

EDIT:
I have installed gdm and tried using gnome-classic with gdm and got the same error.

Jeggy
  • 3,062

3 Answers3

1

Try this:

Start up your machine. When you get to the login window press ctrl+alt+f1. This will drop you into a commandline shell where you have to log in as well (the password will show no input on the screen, it's supposed to be like that for security reasons)

Now please type the following commands:

sudo killall lightdm
sudo stop lightdm

To make sure the running display manager has stopped.

Now activate the gnome-display-manager by typing

sudo gdm

After a few seconds you should see a new login screen please make sure a gnome-classic session is selected and log in to your system.

Now try the installation script again (make sure you run it with superuser privileges.

Daniel W.
  • 3,436
  • I've tried that, but i got the same error. tried both gnome-classic and gnome-classic(no effects) – Jeggy May 07 '12 at 06:56
  • 1
    It probably does that, because the window theme is build on gtk 2.x but the new gnome versions use gtk3.x . To just bypass the check and see if it works, I commented out the portions in the script where it checks for the desktop session. You can downloaded from here: http://ubuntuone.com/11BZl2tHFvPjffQRo7jFEN – Daniel W. May 07 '12 at 07:24
0

This seems to be a security bug. Actually security policies for GDM is basically stored in /etc/dbus-1/system.d . So, in order to own the name org.gnome.DisplayManager there has to be a file in

/etc/dbus-1/system.d // by default called gdm.conf

that has:

<allow own="org.gnome.DisplayManager"/>

in it (among other things). Just try to check it if the above tweak works for you. Then just follow the procedures normally as told you in answer 1.

ashutosh
  • 1,292
0

Check Maverickz' answer here.

The cause of the problem is that the desktop session is not being reported as Gnome. The simple fix is to edit the win7-setup.sh file and search for the following line:

[ $DESKTOP_SESSION = "gnome" ]

and change it to:

[ $DESKTOP_SESSION = "gnome-classic" ]
hg8
  • 13,462
Andrew
  • 21