0

During the installation process of OpenBSD 5.7, I created a user account, user1, belonging to wheel group.

Subsequently I installed a desktop environment after logging into my user account.

This morning I logged into my root account to create a second user account, user2. It also belongs to wheel group.

After logging into my second user account, I discovered that it had the desktop environment identical to the one of the first user account.

I issued the command:

sudo pkg_delete -c gnome

and the error message was:

Package not found

Any suggestions on how to remove the desktop environment from the second user account? For the second user account I just wish to have the bare minimum that OpenBSD offers its users.

1
  • You probably did install the DE systemwide, right? To be sure: how did you install the DE? Commented Jul 16, 2015 at 13:37

1 Answer 1

1

Using pkg_delete is almost certainly not what you want to do - that will remove GNOME system-wide.

I assume you have a non-GNOME desktop environment installed in addition to GNOME? If so, GDM (the login manager) should present it as an option on the graphical login screen.

12
  • 2
    @virvegto Exactly, but I was just expanding on that and saying you were going down the wrong route trying to remove the gnome package. Commented Jul 16, 2015 at 14:05
  • 1
    @virvegto How did you install GNOME? If with pkg_add, it's installed system-wide and available to all users. You should install gdm as the login manager and use that instead of xdm - it will let you choose desktop before logging in. Commented Jul 16, 2015 at 14:13
  • 1
    @virvegto sudo runs the following command as root, so you did install GNOME as root. Commented Jul 16, 2015 at 14:40
  • 2
    @virvegto You should install GNOME as root, so you did the correct thing. If you don't and don't install it system-wide, you're going to have all sorts of issues. If gdm is installed, you'll need to configure it to start on boot and disable xdm. That will let you choose a desktop on graphical login. Commented Jul 16, 2015 at 14:48
  • 1
    @virvegto With gdm you can also login to a bare GUI and no desktop environment. Just select a different desktop at the login screen - fvwm (the default) should be presented as an option. Commented Jul 16, 2015 at 15:33

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.