Installing Opensuse

Hi friends, I want to install opensuse in some special configuration. I want to start opensuse in text mode. StartX will start KDE. I already install OPensuse in Text mode. But how to start GUI when I need it. Please help me.

On 2011-11-21 11:16, anishpsla wrote:
> But how to start GUI when I need it.

log as root in text mode, issue “init 5”.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

But friend, it’s Text only mode. I am getting ‘command not found’ error. That’s because, I didn’t install any graphical components. Please help me by giving detailed instruction.

On 2011-11-21 14:46, anishpsla wrote:
>
> But friend, it’s Text only mode. I am getting ‘command not found’ error.
> That’s because, I didn’t install any graphical components. Please help
> me by giving detailed instruction.

If you installed a minimal text mode pattern, there is no way to get a
graphical session. You would have to fire up yast and install the rest. At
least, the minimal graphical pattern.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

But that will cause starting linux on GUI mode. I want to setup linux, that will start GUI only when I want.

> That’s because, I didn’t install any graphical components.

wait, if you wanted the graphical environment then why didn’t you
install it??

well…ok, install it now…

-in a terminal, use ‘su -’ to switch user to root

-give root password when asked

-type in ‘yast’ and press enter

-the ncurses version of YaST will pop up

-navigate to Software > Software Management

-then with the Software Manager first comes up it will be active in the
“Search Phrase” block (see the red cursor?) you need to then press the
Tab key until it has cycled to the block just above, where it says
“Search” next to a blank and a down arrow symbol

-press your keyboards down arrow and the section then shows several
possibilities (Patterns, Languages… Search [now highlighted] and others)

-use your keyboard updown arrows to move the highlight from “Search” to
“Patterns”

-press enter, and the view shifts and just under the top “Patterns” you
will see “Base System” highlighted

-use keyboard up/down arrows to select the desktop you want to install,
choose and highlight which you want from:

GNOME Desktop Environment
KDE4 Desktop Environment
XFCE Desktop Environment

-then press enter and then Tab to the “Actions” block and press enter
again…

-now you see the actions available: Install, Delete, Update etc…

-up/down arrow to Install and press enter

it is a LOT easier to just go ahead and do that during the initial install…

then, set it to boot to run level three (no X, no GUI)


DD http://tinyurl.com/DD-Caveat
dump Flash: http://www.bbc.co.uk/news/technology-15797399

For your case, you should have installed all you need (thus X and a desktop) and then:
. change /boot/grub/menu.lst to boot allways into runlevel 3
or
. edit /etc/inittab to change the 5 into a 3 in:

id:5:initdefault:

On Mon, 21 Nov 2011 14:26:02 +0000, anishpsla wrote:

> But that will cause starting linux on GUI mode. I want to setup linux,
> that will start GUI only when I want.

Install GNOME or KDE and set the default runlevel to 3 (use YaST to set
this).

Problem solved.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2011-11-21 15:26, anishpsla wrote:
>
> But that will cause starting linux on GUI mode. I want to setup linux,
> that will start GUI only when I want.

Just tell it to run in text mode.

Warning: the method to do that in 12.1 is different. Don’t ask me about it,
read the notes. I don’t know the new method.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-11-21 18:46, hcvv wrote:
> edit /etc/inittab to change the 5 into a 3 in:

No, that no longer works in 12.1 :frowning:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Tue, 22 Nov 2011 01:53:07 +0000, Carlos E. R. wrote:

> On 2011-11-21 18:46, hcvv wrote:
>> edit /etc/inittab to change the 5 into a 3 in:
>
> No, that no longer works in 12.1 :frowning:

Correct, this is what I found:

http://fedoraproject.org/wiki/Systemd#How_do_I_change_the_runlevel.3F

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Thanks for your help. Now I have Opensuse 11. I will reinstall it to V 12.1 and I will reply what happend.

Once again thanks for your quick reply.

Yes, I did not realise that after more then 40 years the inittab and all that belongs to t is useless knowledge now :frowning:

Thanks for the link. Something new to learn. In computing there is never a dull moment.

Thanks friend, itworks with some minor error message.

I have some another doubt. Why startx not working ?

As we understood your problem, you did a text only installation. That means that no graphical software is installed in your system. Thus you can not run startx because it is not installed!

When you build a house without any waterpiping, you can not get water out of the wall, you can not even turn the main valve open, because there is none.

Friend, I do freash installation of OpenSUSE 12.1 KDE. After booting in GUI, I change default runlevel to 3 by using

ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target

Now Opensuse’s default start mode is TextMode. init 5 in super user mode will start GUI. So my problem solved.

My another doubt is, why startx not working. Nothing happening after giving startx. Why this. Asking just because of curiosity (Not related to by problem - as it is already solved).

On 2011-11-22 10:46, anishpsla wrote:

> I have some another doubt. Why startx not working ?

Have a look at /etc/permissions.easy


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Tue, 22 Nov 2011 09:26:03 +0000, hcvv wrote:

> Yes, I did not realise that after more then 40 years the inittab and all
> that belongs to t is useless knowledge now :frowning:
>
> Thanks for the link. Something new to learn. In computing there is never
> a dull moment.

That’s certainly true - I’m going to have to spend some time reading up
on it as well. I have to admit that my first reaction is to think they
took something simple and made it far, far more complex - but that
complexity may well serve a useful purpose.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Well, as said, the old init/inittab mechanism is 40+ years old. And while it was allready expanded long time ago with the initd.d/rc… scripts, I guess some redesign from scratch is possible not a bad idea.

On Tue, 22 Nov 2011 19:46:03 +0000, hcvv wrote:

> Well, as said, the old init/inittab mechanism is 40+ years old. And
> while it was allready expanded long time ago with the initd.d/rc…
> scripts, I guess some redesign from scratch is possible not a bad idea.

Yeah, it’s old and slow, but stable is also a good descriptive word, as
is reliable. :slight_smile:

I’m a strong proponent of the KISS principle - systemd is nice and fast
(and I quite like it), so the additional complexity of changing the
runlevel might have a significant benefit that I’m just not aware of. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C