From owner-freebsd-questions@freebsd.org Wed Dec 21 01:29:05 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC582C88FBD for ; Wed, 21 Dec 2016 01:29:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A1BDB1788 for ; Wed, 21 Dec 2016 01:29:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: by mailman.ysv.freebsd.org (Postfix) id A10CFC88FBC; Wed, 21 Dec 2016 01:29:05 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0A58C88FBB for ; Wed, 21 Dec 2016 01:29:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2784B1787 for ; Wed, 21 Dec 2016 01:29:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Wed, 21 Dec 2016 02:28:55 +0100 Received: from r56.edvax.de (port-92-195-28-64.dynamic.qsc.de [92.195.28.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id C884E3CBF9; Wed, 21 Dec 2016 02:27:52 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id uBL1Rqql002157; Wed, 21 Dec 2016 02:27:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 21 Dec 2016 02:27:52 +0100 From: Polytropon To: swjatoslaw gerus Cc: questions@freebsd.org Subject: Re: Comparsion of Solaris , FreeBSD ,Ubuntu Default profile ,bash profile ,bashrc,xinitrc,bash-logout .Xauthority Message-Id: <20161221022752.5bb9b9e6.freebsd@edvax.de> In-Reply-To: <1482239868.3440312.824757033.31142D42@webmail.messagingengine.com> References: <1482200118.1106059.824327441.01A23424@webmail.messagingengine.com> <20161220040348.c8e60a69.freebsd@edvax.de> <1482239868.3440312.824757033.31142D42@webmail.messagingengine.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 0650E69D34C X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.3210 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 01:29:05 -0000 Re-including list and summarizing replies, hope that's okay. On Tue, 20 Dec 2016 14:17:48 +0100, swjatoslaw gerus wrote: > Dear Sir > > Thank you for you for message > > 1.To date can not perform simpliest task -start with two x11 > Attempt change user .profile -xterm -fg green +bg black & > not worked compiz going to 80 % CPU time (top) The X startup file is ~/.xinitrc or ~/.xsession. However, compiz isn't part of a basic X install and is found typically with "big" desktop environments such as KDE or Gnome. When I read "simpliest task", I do _not_ have Gnome in mind - it just sounds wrong. ;-) > 2. Regulary received Zeitgeist > -------------------------------------------- > > https://en.wikipedia.org/wiki/Zeitgeist_(free_software) > > will avoid ... > #################### As far as I see, "Zeitgeist" is part of Gnome. Check this forum entry on that problematic topic: https://forums.freebsd.org/threads/43569/ As it seems, you get "Zeitgeist" with Gnome, and it's not possible to remove it without breaking Gnome. But I have not tried this, so maybe there is an option to disable "Zeitgeist" when you build from source... Maybe you can check the "Gnome 2 successors" MATE and Cinnamon for _not_ to include that "Zeitgeist" component? > Did FreeBSD have this kind of forced additional software ? No. The operating system is quite "limited" (but fully functional!) in what it installs. After the OS is in place, you can install whatever software you want from a repository of several thousand ported application. Nothing is _forced_ upon you. Check the relevant section in The FreeBSD Handbook: https://www.freebsd.org/doc/handbook/ports.html On Tue, 20 Dec 2016 18:19:00 +0100, swjatoslaw gerus wrote: > re: Those entries look like they belong into an X startup file, > ~/xinitrc (when you're using "startx") or ~/.xsession (when > you're using a display manager such as XDM). > > After display with unity closed (5 minuts computer not used) > on display present Unity? Isn't that a component of Gnome, too? In case you're using Gnome, don't bother using ~/.xinitrc or ~/.xsession. It doesn't work. I've already fought this war and lost. ;-) In order to configure Gnome, you _need_ to use the tools provided by Gnome. There is an "Autostart"-like group or setting where you can add applications that should be started when the user session is launched. That will work. > some kind of tty , but with onboard display with black backround,which > asked for user password Text mode or GUI? It could be GDM, the Gnome display manager. Oh, as we've been talking about Gnome a lot, make sure you read the Gnome project's information: https://www.freebsd.org/gnome/ For more general X configuration (independently of Gnome), like using a display manager or selecting a window manager or desktop environment: https://www.freebsd.org/doc/handbook/x-xdm.html https://www.freebsd.org/doc/handbook/x11-wm.html That should cover most typical user situations. > That is what essentialy author will have > no any desktop environment which interfere programm > In this condition author will start 2-3 xterm Then you should say goodbye to Gnome. It's so much trouble to turn Gnome into something which it isn't - a lightweight window manager. Instead, install a lightweight window manager (and display manager if you like), for example WindowMaker. :-) You could also try "Mate" or "Cinnamon", Gnome 2 successors, also not that bad. > 1. passwd -entried > 2. to date started unity with multiple icons , graphics & > > Demand -started equal some kind of tty with onboard display and with > commando line > > from commando line start 2-3 xterm & ( author can make simpeeeee > script sh x.sh) There are alternatives to Gnome. I'd like to recommend KDE which has improved a lot over the last years. But Xfce or Lxde are probably also worth checking. I'm not sure about how FreeBSD's native desktop environment, Lumina, is coming along. https://lumina-desktop.org/get-lumina/ https://forums.freebsd.org/threads/58140/ If you do not need a full desktop environment, there are plenty of excellent window managers. Personally, I'm using WindowMaker for decades now, and I'm very happy with it. There's also fvwm2 which is simple and useful. In worst case, use twm. :-) On Tue, 20 Dec 2016 20:55:24 +0100, swjatoslaw gerus wrote: > Dear Sir > > If author understand definitions of freebsd correctly > > https://www.freebsd.org/doc/handbook/x-understanding.html Use https://www.freebsd.org/doc/handbook/x11.html as a better entry point for the X topic. The TOC will have a nice summary of the _steps_ you'll have to take to configure and run X. > For author demand > > than KDE/Gnome DE must be not installed > ############################## > only composite window manager > ############################# > > browsers and programms would start without any icons from commando line That is also possible. For example, you could use Compiz Fusion instead of a more simple window manager. https://www.freebsd.org/doc/handbook/x-compiz-fusion.html However, I have never used this software so I cannot be more specific. I'm not sure in how far it requires Gnome to work, or if it requires a window manager to be present (even if it's just fvwm2). > freebsd default -? FreeBSD doesn't default to any window manager (or X at all). It's up to the user to decide, simply because FreeBSD is a multi-purpose operating system for desktops, servers, and appliances, so you cannot just slap an arbitrary desktop environment into the OS and tell users to "take it or leave it". :-) So if _I_ wanted just a screen with a few terminals, I'd just use something like fvwm2 to begin with. It's so simple and just works. It obeys ~/.xinitrc (which Gnome doesn't) and plays nice with display managers such as xdm (which Gnome also doesn't). And if I'd decide to test another window manager, it's just a simple change of ~/.xinitrc's "exec" statement. Here is an example for a ~/.xinitrc file for use with twm: #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xsetroot -cursor_name left_ptr xset r rate 250 30 xset b 100 1000 15 xset s off xset -dpms xterm -title "Terminal" -geometry 80x25+100+100 -fg black -bg beige & xterm -title "Terminal" -geometry 80x25+150+150 -fg green -bg black & exec twm If you want to use this file in combination with XDM, you don't need to have duplicate content of ~/.xinitrc and ~/.xsession (because xdm will igonore ~/.xinitrc, and execute ~/.xsession instead). Use this "cascade" in ~/.xsession instead: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It will incorporate your user's shell configuration (here: C shell) and then continue as ~/.xinitrc. So now you can use both xdm and classic "startx". :-) > solaris and freebsd default shell - Korn Shell. > ubuntu defaault shell -bash FreeBSD default dialog shell: C shell (tcsh) FreeBSD default scripting shell: Bourne shell (sh), which technically is an Almquist shell (ash), but quite compatible even with bash -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...