Linux Suse 11 Sp4 GUI not started

Hello guys ,

i have problem with my SLES 11 SP4 , GUI did not start , i was trying to install C++ compiler from novell repositories , i remove versions and installed versions , then restarted server but GUI did not start , when i type start X it is said "no startx installed " , i tried to install it using zypper install xstart but said not found startx in repositories , i think i installed wrong version of Gcc , also i removed firefox … so can anyone help me which correct version i should install ?
note that reinstalling OS is not option at this time because it is production server of SAP HANA … so it is should not be down , maybe next thursday at week end i can reinstall it , but if i can fix the problem without side effect why not ? note i still able to access it using SSH Putty , and inst
please help and thank you very much

Use Yast to install the X windows pattern, or else zypper may work too.
Try these:

[CODE[
sudo /sbin/yast sw_single
#Change the top drop-down to ‘Pattern’
#Install the X windows, or Gnome, pattern.
[/CODE[

All of this assumes you really need X; If you already have HANA working I
cannot imagine why that would be overly useful.

Also, GCC is not required, and should not be relevant to in other ways,
your X Windows install. SUSE does not compile software as it is installed
like some distributions like Gentoo, which is why the installation does
not take overnight to complete.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

jordannet wrote:
[color=blue]

i have problem with my SLES 11 SP4[/color]

Your server has to be registered with SUSE to gain access to the needed
repositories.

What repositories do you have?

zypper lr

If you think you may have dependency issues, you can have zypper check:

zypper ve

The zypper command will install packages, resolve dependencies and much
more. See the man pages for details.

man zypper


Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below this post.
Thank you.

hi again ,
i tried it but does not work , when i log in to remote desktop it is showing this message .

and still staying

no startx installed.

although i installed xorg-11

, when i try to run :

hanab1:/etc/init.d # ./xinetd start

it is say

Starting INET services. (xinetd) failed

the service is enabled … i am not sure where is the error .

thank you

[QUOTE=KBOYLE;40730]jordannet wrote:
[color=blue]

i have problem with my SLES 11 SP4[/color]

Your server has to be registered with SUSE to gain access to the needed
repositories.

What repositories do you have?

zypper lr

If you think you may have dependency issues, you can have zypper check:

zypper ve

The zypper command will install packages, resolve dependencies and much
more. See the man pages for details.

man zypper


Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below this post.
Thank you.[/QUOTE]

hi ,

thank you for reply , it is already registered and have all repositories

hanab1:/etc/init.d # zypper lr
# | Alias                                     | Name                        | En                                                                                        abled | Refresh
--+-------------------------------------------+-----------------------------+---                                                                                        ------+--------
1 | nu_novell_com:SLE11-Public-Cloud-Module   | SLE11-Public-Cloud-Module   | No                                                                                              | Yes
2 | nu_novell_com:SLE11-SDK-SP4-Pool          | SLE11-SDK-SP4-Pool          | Ye                                                                                        s     | Yes
3 | nu_novell_com:SLE11-SDK-SP4-Updates       | SLE11-SDK-SP4-Updates       | Ye                                                                                        s     | Yes
4 | nu_novell_com:SLE11-SP4-Debuginfo-Pool    | SLE11-SP4-Debuginfo-Pool    | No                                                                                              | Yes
5 | nu_novell_com:SLE11-SP4-Debuginfo-Updates | SLE11-SP4-Debuginfo-Updates | No                                                                                              | Yes
6 | nu_novell_com:SLE11-Security-Module       | SLE11-Security-Module       | No                                                                                              | Yes
7 | nu_novell_com:SLES11-Extras               | SLES11-Extras               | No                                                                                              | Yes
8 | nu_novell_com:SLES11-SP4-Pool             | SLES11-SP4-Pool             | No                                                                                              | Yes
9 | nu_novell_com:SLES11-SP4-Updates          | SLES11-SP4-Updates          | No                                                                                              | Yes

when i ran zypper ve , it is asked me to download gcc-4.8 and i downloaded it including firefox … any other idea?

On 01/07/2018 05:14 PM, mikealpha wrote:[color=blue]

hi again ,
i tried it but does not work , when i log in to remote desktop it is
showing this message .

[image: https://image.ibb.co/eJBycG/xrdp.png][/color]

I have not tried xrdp on SLES 11 for a long time, and never had as much
luck with it as I do with SLES 12 SP2 and SP3, so if you end up
rebuilding, rebuild with the latest code and you may have better luck with
getting RDP access.

With that written, you do not need X running on the actual box in order
for xrdp to work, so I think you are hitting an unrelated issue, or at
least an issue with a different root cause.
[color=blue]

no startx installed.

although i installed xorg-11

, when i try to run :

hanab1:/etc/init.d # ./xinetd start[/color]

This makes no sense; xinetd is the superdaemon, and has nothing at all to
do with X windows. If you want to get X windows working on the machine’s
physical console then pursue that, but xinetd is not related.
[color=blue]

Starting INET services. (xinetd)
failed

the service is enabled … i am not sure where is the error .[/color]

You’d need to check logs for xinetd, but unless you state otherwise I
think this is not worth pursuing as it is a new issue; if it is something
you want working, please start a new thread for it specifically.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

[QUOTE=ab;40733]On 01/07/2018 05:14 PM, mikealpha wrote:[color=blue]

hi again ,
i tried it but does not work , when i log in to remote desktop it is
showing this message .

[image: https://image.ibb.co/eJBycG/xrdp.png][/color]

I have not tried xrdp on SLES 11 for a long time, and never had as much
luck with it as I do with SLES 12 SP2 and SP3, so if you end up
rebuilding, rebuild with the latest code and you may have better luck with
getting RDP access.

With that written, you do not need X running on the actual box in order
for xrdp to work, so I think you are hitting an unrelated issue, or at
least an issue with a different root cause.
[color=blue]

no startx installed.

although i installed xorg-11

, when i try to run :

hanab1:/etc/init.d # ./xinetd start[/color]

This makes no sense; xinetd is the superdaemon, and has nothing at all to
do with X windows. If you want to get X windows working on the machine’s
physical console then pursue that, but xinetd is not related.
[color=blue]

Starting INET services. (xinetd)
failed

the service is enabled … i am not sure where is the error .[/color]

You’d need to check logs for xinetd, but unless you state otherwise I
think this is not worth pursuing as it is a new issue; if it is something
you want working, please start a new thread for it specifically.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.[/QUOTE]

i see xinetd is runlevel 4 service so can not be started like this ,

so is there anyway to reinstall default suse services (like repair installation) with keep the current services running ?

thanks

On 01/08/2018 01:04 AM, jordannet wrote:[color=blue]

ab;40733 Wrote:[color=green]

This makes no sense; xinetd is the superdaemon, and has nothing at all
to
do with X windows. If you want to get X windows working on the
machine’s
physical console then pursue that, but xinetd is not related.
[color=darkred]

Starting INET services. (xinetd)
failed

the service is enabled … i am not sure where is the error .[/color][/color][/color]

The error is in trying to use xinted at all for anything X windows
related; they are not related services at all.
[color=blue][color=green]

You’d need to check logs for xinetd, but unless you state otherwise I
think this is not worth pursuing as it is a new issue; if it is
something
you want working, please start a new thread for it specifically.[/color]

i see xinetd is runlevel 4 service so can not be started like this ,

so is there anyway to reinstall default suse services (like repair
installation) with keep the current services running ?[/color]

Usually that is easy enough, but it depends on which services, and how you
want to keep other things running. I think you mean without any kind of
reboot, and I would expect that you can get X workings without rebooting,
though you have already tried unsuccessfully.

Before we spend a lot of time fixing things that may not matter, what is
the purpose of X on your server which already has HANA on it? Most HANA
installs are monster systems with 512 GiB of RAM and I’ve seen some with
at least 4 TiB RAM. These are not, at least in my experience, systems
that need GUIs at all as they are too busy doing real work to care.

Back to using X (NOT xinetd) we probably need to figure out why you do not
have X windows installed. I would probably try to install the xorg-x11
package, and its dependencies, if not a desktop environment too (Gnome,
KDE, or similar) since I presume you are starting out with Linux and will
want something other than your working SSH terminal for whatever reason.

There are actually patterns, which are groups of packages, available for
install directly from Yast or zypper. You did not mention if you tried
the Yast-based instructions I posted last time, so I will try the zypper
way this time:

sudo zypper install -t pattern gnome

In addition to installing the Gnome desktop environment, this should pull
in all of the X.org dependencies it may have for you automatically.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

[QUOTE=ab;40741]On 01/08/2018 01:04 AM, jordannet wrote:[color=blue]

ab;40733 Wrote:[color=green]

This makes no sense; xinetd is the superdaemon, and has nothing at all
to
do with X windows. If you want to get X windows working on the
machine’s
physical console then pursue that, but xinetd is not related.
[color=darkred]

Starting INET services. (xinetd)
failed

the service is enabled … i am not sure where is the error .[/color][/color][/color]

The error is in trying to use xinted at all for anything X windows
related; they are not related services at all.
[color=blue][color=green]

You’d need to check logs for xinetd, but unless you state otherwise I
think this is not worth pursuing as it is a new issue; if it is
something
you want working, please start a new thread for it specifically.[/color]

i see xinetd is runlevel 4 service so can not be started like this ,

so is there anyway to reinstall default suse services (like repair
installation) with keep the current services running ?[/color]

Usually that is easy enough, but it depends on which services, and how you
want to keep other things running. I think you mean without any kind of
reboot, and I would expect that you can get X workings without rebooting,
though you have already tried unsuccessfully.

Before we spend a lot of time fixing things that may not matter, what is
the purpose of X on your server which already has HANA on it? Most HANA
installs are monster systems with 512 GiB of RAM and I’ve seen some with
at least 4 TiB RAM. These are not, at least in my experience, systems
that need GUIs at all as they are too busy doing real work to care.

Back to using X (NOT xinetd) we probably need to figure out why you do not
have X windows installed. I would probably try to install the xorg-x11
package, and its dependencies, if not a desktop environment too (Gnome,
KDE, or similar) since I presume you are starting out with Linux and will
want something other than your working SSH terminal for whatever reason.

There are actually patterns, which are groups of packages, available for
install directly from Yast or zypper. You did not mention if you tried
the Yast-based instructions I posted last time, so I will try the zypper
way this time:

sudo zypper install -t pattern gnome

In addition to installing the Gnome desktop environment, this should pull
in all of the X.org dependencies it may have for you automatically.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.[/QUOTE]

ok i was able to install updates and i install xorg-x11 , yast-x11 , xorg-server , when i run startx it showing these results :


 startx
xauth:  creating new authority file /root/.serverauth.11044


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux hanab1 3.0.101-108.21-default #1 SMP Fri Dec 29 10:25:37 UTC 2017 (5f5299b) x86_64
Build Date: 17 October 2017  03:11:42PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan  8 14:53:45 2018
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(II) [KMS] Kernel modesetting enabled.
(EE) AIGLX error: Calling driver entry point failed
(EE) AIGLX: reverting to software rendering
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) No input driver matching `kbd'
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) No input driver matching `mouse'
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
(EE) config/hal: NewInputDeviceRequest failed (8)
/etc/X11/xim: Checking whether an input method should be started.
/etc/X11/xim: user environment variable LANG=POSIX
/etc/X11/xim: user environment variable LC_CTYPE=en_US.UTF-8
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_US.UTF-8 ...
There is no default input method for the current locale.
Dummy input method "none" (do not use any fancy input method by default)
gnome-session[11086]: WARNING: keycode1 not existant
gnome-session[11086]: WARNING: keycode2 not existant
GNOME_KEYRING_SOCKET=/tmp/keyring-qUa9Zg/socket
SSH_AUTH_SOCK=/tmp/keyring-qUa9Zg/socket.ssh
GNOME_KEYRING_PID=11113

** (gnome-settings-daemon:11112): WARNING **: Can not run apport-checkreports


** (gnome-settings-daemon:11112): WARNING **: Could not activate the XKB configuration
Window manager warning: Failed to read saved session file /root/.config/metacity/sessions/10e3425f0b22e1f1bf15154160267153700000110860009.ms: Failed to open file '/root/.config/metacity/sessions/10e3425f0b22e1f1bf15154160267153700000110860009.ms': No such file or directory

(gnome-panel:11134): Gdk-WARNING **: gdkdrawable-x11.c:952 drawable is not a pixmap or window
Initializing nautilus-open-terminal extension

(nautilus:11135): Eel-WARNING **: Trying to remove a callback for desktop/susedocs_icon_name without adding it first.

(gnome-panel:11134): GWeather-WARNING **: Failed to get METAR data: 404 Not Found.

gnome-session[11086]: WARNING: Unable to determine session: Unable to lookup session information for process '11086'

(gnome-panel:11134): GWeather-WARNING **: Failed to get METAR data: 404 Not Found.


You are running these from the physical terminal, right? In other words,
NOT via SSH?

If not, be sure you do; you cannot run X via SSH of course.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

ok then i will reboot server then try agian … and update you but install gnome finished successfully .

Regards

hello guys

here is the last update , after installing GNOME as advised above i rebooted the server after stopping HANA DB services . it is loaded with this screen :

here is the error :

to view images in full size :

https://drive.google.com/file/d/1Ejfk2CN1qquZNObd809JM66kKsrVcV2a/view?usp=sharing

https://drive.google.com/file/d/1IXXzeTZTmewhKD0F0kpDZa0aLEfwAA3W/view?usp=sharing

note that keyboard is not responding , mouse not responding , and error message says in the yellow note as shown

nfsd using /var/lib/nfs/v4recovery

so till now i am unable to figure it out please help

should i remove gnome ? or what to do ? you know this is production server i can use it without GUI , but i need gui to reinstall one of SAP services the previously removed from server and i need gui because installation is only GUI . i able to access it with full functional from SSH

note that i previously removed var/logs to make some free space , but this is should not affect the server

thank you

i worked around i think i found 50% of the solution , what i noted that message saying “failed service in runlevel 5” , “skipped runlevel 5” .
then i looked to folder /usr/X11R6/bin there is no xdm folder or file does not exist …
i tried to search for it on repositories but not found …
if this solved then my problem will be solved

what i found only xauth

Greetings

also if run startx will get these errors :

xauth:  creating new authority file /root/.serverauth.22854


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux hanab1 3.0.101-108.21-default #1 SMP Fri Dec 29 10:25:37 UTC 2017 (5f5299b) x86_64
Build Date: 17 October 2017  03:11:42PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan  8 22:37:44 2018
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load module "radeon" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

mikealpha wrote:
[color=blue]

when i ran zypper ve , it is asked me to download gcc-4.8 and i
downloaded it including firefox … any other idea?[/color]

You still seem to have other issues with your server. It is best to
deal with them one at a time so as not to confuse matters.

ab (Aaron) has been helping you with your other issues. He has a lot of
experience so it is better if you continue working with him for now.


Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below this post.
Thank you.

Hi,

just for the records:

[QUOTE=jordannet;40753]you know this is production server i can use it without GUI , but i need gui to reinstall one of SAP services the previously removed from server and i need gui because installation is only GUI . i able to access it with full functional from SSH
[/QUOTE]

you do not need to run X11 on the server for this - you could also use some regular workplace machine, running an X server (like using a Linux PC or a Linux VM) and make X11 on that machine accessible via network. Then you could simply set the DISPLAY variable accordingly before running the installer. Even if you need to set up such a PC or VM first, it may be less hassle than messing around with a SAP production server, putting X11 and who knows what else packages on it (you were mentioning the compiler and I see i.e. the SDK repository that seems not to be necessary on a regular SAP server) where you only want to run SAP… and given the right setup, you could even (easily) ssh from that machine to the SAP server and have all X11 traffic routed through that tunnel.

Regards,
J