|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Install GNOME on OpenBSD 6.2 on a Sun Ultra 45 (Sparc) Workstation?
Hi there!
The base package from http://mirror.switch.ch/ftp/pub/Open.../install62.iso was installed successful with a DVD, then i tried to install the gnome packge: Code:
export PKG_PATH=http://mirror.switch.ch/ftp/pub/OpenBSD/6.2/packages/sparc64/ pkg_add -v gnome pkg_add -v gnome-extras In /etc/rc.conf make sure You have this: pkg_scripts=dbus_daemon Edit /root/.xinitrc And add the line: exec gnome-session reboot startx -> there was serveral warnings on both packages "gnome" and "gnome-extras", e.g. "can't resolve yelp-3.22.0p3" was the first one... But so it seems there was just some warnings, but no errors - there are no dependency problems because of that..?? Maybe the source is errorful? -> http://mirror.switch.ch/ftp/pub/OpenBSD/6.2/sparc64/ ??? The only one "yelp" thing i see is that, in another (smaller) version that 3.22.0p3: http://mirror.switch.ch/ftp/pub/Open...ols-3.18.0.tgz And Google shows exactly 1 result for that message: https://www.google.ch/search?q=%22ca...hrome&ie=UTF-8 - really strange!! After reboot, when i enter "startx", i get the following messages: "xauth: (stdin):1: bad display name “ultra45.my.domain:0” in “add” command. " and "xauth: (argv):1: bad display name “ultra45.my.domain:0” in “remove” command. " /etc/rc.conf contains: Code:
Last login: Fri Feb 23 03:32:28 2018 OpenBSD 6.2 (GENERIC.MP) #303: Tue Oct 3 22:46:49 MDT 2017 Welcome to OpenBSD: The proactively secure Unix-like operating system. Please use the sendbug(1) utility to report bugs in the system. Before reporting a bug, please try to reproduce it with the latest version of the code. With bug reports, please try to ensure that enough information to reproduce the problem is enclosed, and if a known fix for it exists, include that as well. # more /etc/rc.conf # $OpenBSD: rc.conf,v 1.216 2017/05/30 12:04:26 tb Exp $ # DO NOT EDIT THIS FILE!! # # This file defines the default service selection as shipped in a # release. Upgrades of your system will modify this file. # # To select the service options you desire, please override these # options in the file /etc/rc.conf.local # # DO NOT EDIT THIS FILE!! # Set these variables to "NO" to turn the respective service off. # Set them to "" to run them with the default flags. # Otherwise, these variables override the default flags. apmd_flags=NO bgpd_flags=NO bootparamd_flags=NO cron_flags= dhcpd_flags=NO dhcrelay_flags=NO # for normal use: "-i interface [server]" dvmrpd_flags=NO eigrpd_flags=NO ftpd_flags=NO # set to NO if ftpd is running out of inetd ftpproxy_flags=NO ftpproxy6_flags=NO hostapd_flags=NO hotplugd_flags=NO httpd_flags=NO identd_flags=NO ifstated_flags=NO iked_flags=NO inetd_flags=NO isakmpd_flags=NO iscsid_flags=NO ldapd_flags=NO ldattach_flags=NO # for normal use: "[options] linedisc cua-device" ldomd_flags=NO ldpd_flags=NO lpd_flags=NO # for normal use: "" (or "-l" for debugging) mopd_flags=NO mrouted_flags=NO # be sure to enable multicast below npppd_flags=NO nsd_flags=NO ntpd_flags= ospfd_flags=NO ospf6d_flags=NO pflogd_flags= # add more flags, e.g. "-s 256" radiusd_flags=NO rarpd_flags=NO rbootd_flags=NO relayd_flags=NO rebound_flags=NO ripd_flags=NO route6d_flags=NO # be sure to set net.inet6.ip6.forwarding=1 rtadvd_flags=NO # for normal use: list of interfaces # be sure to set net.inet6.ip6.forwarding=1 sasyncd_flags=NO sensorsd_flags=NO slaacd_flags= slowcgi_flags=NO smtpd_flags= sndiod_flags= snmpd_flags=NO spamd_flags=NO # also see spamd_black below spamlogd_flags= # use eg. "-i interface" and see spamlogd(8) sshd_flags= switchd_flags=NO syslogd_flags= # add more flags, e.g. "-u -a /chroot/dev/log" tftpd_flags=NO tftpproxy_flags=NO unbound_flags=NO vmd_flags=NO watchdogd_flags=NO wsmoused_flags=NO # for enabling console mouse support (i386 alpha amd64) # for ps/2 or usb mice: "", serial: "-p /dev/cua00" xenodm_flags=NO # on some architectures, you must also # disable console getty in /etc/ttys # services related to RPC, NFS, and YP amd_flags=NO # also see amd_master below lockd_flags=NO mountd_flags=NO nfsd_flags=NO portmap_flags=NO # note: inetd(8) rpc services need portmap too statd_flags=NO ypbind_flags=NO ypldap_flags=NO ypserv_flags=NO # set the following to "YES" to turn them on pf=YES # Packet filter / NAT ipsec=NO # IPsec check_quotas=YES # NO may be desirable in some YP environments accounting=NO # process accounting (using /var/account/acct) # Multicast routing configuration # Please look at netstart(8) for a detailed description if you change these multicast=NO # Reject IPv4 multicast packets by default # miscellaneous other flags amd_master=/etc/amd/master # AMD 'master' map library_aslr=YES # set to NO to disable library randomization savecore_flags= # "-z" to compress spamd_black=NO # set to YES to run spamd without greylisting shlib_dirs= # extra directories for ldconfig, separated # by space # rc.d(8) packages scripts # started in the specified order and stopped in reverse order # pkg_scripts= pkg_scripts=dbus_daemon gdm_enable=YES hostname="ultra45" /etc/hosts contains: Code:
127.0.0.1 localhost ultra45 ::1 localhost ultra45 file /root/.xinitrc contains: Code:
exec gnome-session AND: i try to execute "startx" as root user, mybe there is a problem. The graphic card i use is a sun "XVR-300", the "XVR-100" create some graphical errors while booting, screen isn't readable anymore.. The "Sun Ultra45 Workstation" is officially supported by OpenBSD 6.2 ("sparc64"), but that seems to be just a theoretically thing. Thank you very much for your feedbacks!
__________________
Regards, Jan Last edited by jmar83; 23rd February 2018 at 02:46 AM. |
|
|||
Hi jggimi
Thank you very much! Now i removed all user-defined entries from "/etc/rc.conf", and created a new file "/etc/rc.conf.local" with one entry: Code:
GDM_ENABLE=YES ...then i will not use the "dbus_daemon" entry anymore, and the hostname thing should not be a problem - so i don't use it anymore! Yes, there was also a problem with the "gnome-session" (and its dependencies "gnome-shell" & "zenity") while installing the gnome-package. so gnome-session was also not installed - similar to the yelp package. Code:
# pkg_add -v gnome-session Update candidates: quirks-2.367 -> quirks-2.367 quirks-2.367 signed on 2017-10-15T14:54:24Z Can't find zenity-3.24.0 Can't find gnome-shell-3.24.3p1 Can't install gnome-session-3.24.2: can't resolve gnome-shell-3.24.3p1,zenity-3.24.0 - in "/usr/local/share/doc/pkg-readmes" i see some manuals: Code:
avahi-0.7p0 glib2-2.52.3 gtk+3-3.22.21p0 upower-0.99.4p1 consolekit2-1.2.0 gnupg-2.1.23 ibus-1.5.5p5 xdg-utils-1.1.2 dbus-1.10.22p0v0 gtk+2-2.24.31p1 sane-backends-1.0.27p0 - the gdm command doesn't seem to exist ("not found"), nor "gdm", neither "gdm3". Does also not exists when i enter it in capital letters. must be a problem with the "gnome-session" package, right? In this thread, they write we have to use "startx" for starting the gui: http://daemonforums.org/showthread.php?t=7865 Code:
"To launch Gnome, you don't need gdm, just : Code: # startx /usr/local/bin/gnome-session"
__________________
Regards, Jan |
|
|||
That guy runs "XFCE" on OpenBSD 6.1 on a Ultra 45: https://www.youtube.com/watch?v=_h9zVCknYPo
And i read with "XFCE" (http://daemonforums.org/showthread.php?t=7865, "xfce4 >> the best x-windows manager !") there are less problems on sparc64 than with gnome...? So maybe it's easier (no special configuration required?) to install it?
__________________
Regards, Jan |
|
||||
Hello jmar83, welcome
I installed xfce on my Sun Blade 2500, and it was really easy. Just did Code:
$ pkg_add xfce $ pkg_add xfce-extras Code:
$ startxfce4
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD |
|
||||
No, don't thank me. jmar83 reminded me that gnome-session is a requirement in order to run Gnome.
While it is possible to build the gnome-session package on the sparc64 architecture, it is not possible to install it. On OpenBSD, build and run dependencies are considered separately.Gnome is a very complex suite of integrated applications, and unfortunately, not all of those necessary to run Gnome can be built on sparc64. And when there is one missing dependency, it affects everything that is dependent upon it. Quote:
Quote:
|
|
|||
Hello LeFrettchen, and thank you very much!! Will try it! Another question: I also have a Blade 2500, and it's really loud. Is OpenBSD able to reduce the fan noises? Debian Linux, the system i used until now, is not. (At least not "by default", maybe with a custom kernel..?)
@jggimi: I understand... if you are able to compile it, that must not mean you are able to run it. (a special thing in c/c++ sources is, e.g., the "endianness", that need to be programmed so it works on both big- and little-endian... many applications on debian linux also have this problem, mostly it results in a "bus error")
__________________
Regards, Jan |
|
||||
Quote:
Applications are often a complex web of interdependent libraries and supporting applications. When there is a problem with one thread, the entire web can collapse. Last edited by jggimi; 23rd February 2018 at 04:27 PM. Reason: clarity |
|
||||
Another DE to consider is MATE which is a re-working of Gnome2; it is much lighter to run than Gnome 3.x. I've run MATE on FreeBSD 11.1, it runs well. MATE is in the OpenBSD repositories. This is just a suggestion.
__________________
hitest |
|
|||
@hitest: Thank you, now XFCE4 works, but i do not really like it. It looks like a linux desktop 15-20 years ago... but maybe i can use OpenBSD as a server on my Sun Blade 2500 one day...
__________________
Regards, Jan Last edited by jmar83; 24th February 2018 at 02:47 AM. |
|
|||
The command "pkg_delete [package_name]" shows me always "not found", or something like that.
"pkg_delete xfce" -> not found "pkg_delete xfce-extras" -> also not found Now i've used the "-X" parameter, seems to works, later i will see that's the result...
__________________
Regards, Jan |
|
|||
"Now i've used the "-X" parameter, seems to works, later i will see that's the result..."
It was just working with "xfce-extras", with "xfce" i also have the same message with "-X" paramter: "Can't find xfce"...
__________________
Regards, Jan |
|
|||
Maybe "mate" is not available for sparc64? -> http://mirror.switch.ch/ftp/pub/OpenBSD/6.2/sparc64/
I can't find any files with "mate" in their names... P.S.: My sparc computers are not supported by OpenBSD, neither Ultra 45, nor Blade 2500 Silver..
__________________
Regards, Jan |
|
|||
Thank you, maybe i will try it when i have some time... but now, i try to run NetBSD, with some problems as described here: http://daemonforums.org/showthread.php?t=10615
__________________
Regards, Jan Last edited by jmar83; 24th February 2018 at 11:10 AM. |
|
||||
OpenBSD has more than 50 different window managers available, and apparently, there are some that are available for the sparc64 architecture. My personal favorite, for instance, the i3 window manager, is available for sparc64.
fvwm(1), twm(1), and cwm(1) are included with OpenBSD. |
|
|||
Thx guys!!
Gnome is not a problem for a Sun Blade 2500 or Ultra45 (both of them have 2x 1.6GHz Sparc CPU) But if it's not available on sparc64 for OpenBSD... In Debian Wheezy i also used Gnome, it seems it works in a "compatibility mode" (It looks similar to Gnome from Debian Squeeze or Lenny - no special graphic effects. If i install Debian Wheezy & Gnome on a "modern" x86 Laptop, the Desktop looks very different. I think that "compatibility mode" is similar to Gnome2...?) "Originally Posted by jmar83 View Post I also have a Blade 2500, and it's really loud. Agreed." And im not 100% sure it is possible to reduce the noise by software/os in general. Maybe it is also not possible with solaris. (?) But i know that it is possible on a Blade 2000, which is much more louder than a Blade 2500 Silver. And i also think the Blade 2500 Silver is more a Server than a workstation. The original SCSI disk are very loud too. (I replaced it by a big IDE disk - no problem to boot with IDE. But debian Wheezy has a strange "race condition" by booting from IDE, sometime it works, sometime not... Best linux for Blade 2500 Silver seems to be Debian Lenny if you need a GUI, otherwise (for server applications) Debian Squeeze. (which i currently use as an ISCSI target for backup purposes - works well ))
__________________
Regards, Jan |
|
|||
Thanks to all of those who posted in this thread, I have learned quite a bit about both the community pirirt of the community here at daemon forums. I can say that even though I was only 30years young and still mainly used both Linux and FreeBSD, I still really do appreciate the amount of knowledge in even a thread as short and to the point as this one.
__________________
Kindly You Buddy, Chip EM:firedolphin8858@gmx.us |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sparc 20 won't boot after Net BSD 4.1 install | rogue0912 | NetBSD Installation and Upgrading | 1 | 12th September 2011 09:01 AM |
How - To install GNOME vile I install OpenBSD ? | looop | OpenBSD Installation and Upgrading | 6 | 24th April 2010 08:58 PM |
sparc ultra 5 ok== files and args ??? | philo_neo71 | FreeBSD Installation and Upgrading | 2 | 21st September 2009 03:43 AM |
errror install nebsd sparc ultra5 | philo_neo71 | NetBSD General | 3 | 21st July 2009 06:35 AM |
Full install of Gnome on OpenBSD 4.4 | mfaridi | OpenBSD Installation and Upgrading | 17 | 9th November 2008 01:54 PM |