LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-02-2014, 12:01 PM   #16
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28

Quote:
Originally Posted by lems View Post
Hi,

yes, the code TobiSGD posted worked for me.

Code:
cat << EOF > $HOME/dummy.rb
#! /usr/bin/env ruby
sleep
EOF

chmod +x $HOME/dummy.rb
xinit $HOME/dummy.rb
and then I get a black screen (make sure the script is executable).

lems

thanks, yes, my fault. i do not make script executable.
 
Old 02-02-2014, 12:03 PM   #17
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by genss View Post
probably doesn't have permission to get input
my bad

bdw you can use "sleep 100d" to sleep for a 100 days, if you don't want to load ruby

100 days not my target. i want to insert that x server up and down in rc.boinc script:


#!/bin/sh

# rc.boinc - BOINC startup/control script for Slackware Linux
#
# Licence:
# Copyright (c) 2005, 2008, Mark Hill <http://markhill.me.uk/>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
#######################################################################
# Program: /etc/rc.d/rc.boinc
# Purpose: A startup and control script for Slackware Linux.
# Installation:
# 1. Rename this file to rc.boinc and remove any possible DOS line endings. I.E:
# $ tr -d '\r' <thisfile >rc.boinc
# 2. Edit the variables below to suit your BOINC setup.
# 3. Place this file in /etc/rc.d/ and make the file executable.
# 4. Change ownerships of the file as appropriate
# 5. Add the following code to /etc/rc.d/rc.local:
#
# if [ -x /etc/rc.d/rc.boinc ]; then
# /etc/rc.d/rc.boinc start
# fi
#
# 6. Test the script - Run the script as root using 'sh /etc/rc.d/rc.boinc' or
# similar. You should see a list of options.
# 7. Check for any current running boinc process be running the script like
# so as root: 'sh /etc/rc.d/rc.boinc status'
# 8. If no boinc process running, run as root: 'sh /etc/rc.d/rc.boinc start'
# 9. Installation complete! - rc.boinc should start boinc on each boot. You may
# want to use an 'rc.boinc stop' command to a shutdown script, although this
# isn't strictly necessary.
#######################################################################
# Author: Mark Hill <http://markhill.me.uk/contact/>
# URL: <http://markhill.me.uk/articles/boinc_slackware/>
# Version: 2008-09-22 - Removed previous change to boinc_status. Rewrote
# function as grep would sometimes find itself from the ps output
#######################################################################
# Usage: rc.boinc start|stop|restart|reload|force-reload|status
#######################################################################
# Begin user configuration

BOINC_DIR=/home/mark/BOINC/ # directory of boinc files - MUST have trailing /
BOINC_BIN=boinc # name of the boinc binary
BOINC_USER=root # user that will run boinc process
BOINC_OPTIONS= # E.G "-return_results_immediately"
BOINC_LOGFILE=/home/mark/boinc-log # will be created if it does not exist
BOINC_ERRORFILE=/home/mark/boinc-errors # as above

# End of user configuration
#######################################################################


boinc_status() {
if ( ps -ef | grep "$BOINC_DIR$BOINC_BIN$" > /dev/null 2>&1 ); then
return 0
else
return 3
fi
}

boinc_start() {
boinc_status;
if [ $? = 0 ]; then
echo "BOINC is already running"
exit 1;
fi

if [ ! -d $BOINC_DIR ]; then
echo "ERROR: $BOINC_DIR does not exist"
exit 1;
elif [ ! -x $BOINC_DIR$BOINC_BIN ]; then
echo "ERROR: $BOINC_DIR$BOINC_BIN does not exist or not executable"
exit 1;
fi

echo "Starting BOINC client"
su - $BOINC_USER -c "
cd $BOINC_DIR;
exec $BOINC_DIR$BOINC_BIN \
$BOINC_OPTIONS \
>$BOINC_LOGFILE 2>$BOINC_ERRORFILE" &

}

boinc_stop() {
echo "Stopping BOINC client"
killall $BOINC_BIN
}

boinc_restart() {
echo "Restarting BOINC client"

boinc_status;
if [ $? = 0 ]; then
boinc_stop
sleep 3
boinc_start
else
boinc_start
fi
}


case "$1" in
start)
boinc_start
exit 0
;;
stop)
boinc_stop
exit 0
;;
restart)
boinc_restart
exit 0
;;
status)
boinc_status
if [ $? = 0 ]; then
echo "BOINC is running"
else
echo "BOINC is not running"
fi
;;
force-reload)
boinc_restart
exit 0
;;
reload)
echo "BOINC is unable to reload config without restart"
echo "Try using $0 restart"
exit 3
;;
*)
echo "Usage: $0 start|stop|restart|reload|force-reload|status"
exit 1
;;

esac
 
Old 02-02-2014, 12:18 PM   #18
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
ok, x startt with ruby sleep script works, but in window from where i do it, last message is
fglrx: no instance found

and boinc anyway not found GPU. when i do startx and start kde, and then run boinc, it found GPU.
strange, theoretically all drivers is loaded by X server, and window manager in that aspect do not change anything, no?
 
Old 02-02-2014, 10:42 PM   #19
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64, LFS, Crux
Posts: 173

Rep: Reputation: 25
Have you considered using a really small window manager, like http://incise.org/tinywm.html? I've messed about with it in the past and found it to work in a very minimal manner. It is just functional enough, while remaining super small, to be of help to you.
 
Old 02-03-2014, 01:02 AM   #20
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,436

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
Originally Posted by WiseDraco View Post
ok, x startt with ruby sleep script works, but in window from where i do it, last message is
fglrx: no instance found
Is there anything interesting in /var/log/Xorg.0.log after you see that message?
 
Old 02-03-2014, 01:31 AM   #21
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by j_v View Post
Have you considered using a really small window manager, like http://incise.org/tinywm.html? I've messed about with it in the past and found it to work in a very minimal manner. It is just functional enough, while remaining super small, to be of help to you.
yes, i start to consider it, but i found, a tinywm not in slackware 14.0, and also cannot find an slackware package for tinywm.
it is possible, sure, to compile it myself, but i plan to put it on the server, and want to minimalize possibility of break down it.\i see slackware offers blackbox, fluxbox, fvwm2, twm, wmaker, and xfce in default. which of that is smallest and minimal resources eating?
 
Old 02-03-2014, 01:32 AM   #22
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by Richard Cranium View Post
Is there anything interesting in /var/log/Xorg.0.log after you see that message?
yes, sure - i too remember i can look in logfiles, but too late - i was in the bed. try today evening check that,thanks.
 
Old 02-03-2014, 10:18 AM   #23
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
a new input!
things got more and more strange!
that message from i found on the console screen, whom i run dummy x server is be a
(WW) fglrx: no matching Device section for instance (BusID PCI:0@1:0:1) found.
when i run ./boinc from next console (tty) (alt+ctrl+f2) from the same user, wrom who i run x server - boinc started and got until that place, where it can give "GPU found" lines on console, and stuck, as earlier. when i do ctrl+c it do "receiving signal 2, exiting, and "GPU not found" - exactly as earlier.
then i do ctrl+c from first console to stop my dummy X server, and it stopped. then i do "startx" and run my KDE.
after that i try again in console 2 ( ctrl+alt+f2) run ./boinc and get exactly the same result as previous - stuck, and "no GPU"!i try to log off from console 2, and log in again, and again ./boinc - the same!
then i go on kde ( ctrl+alt+f7), and as earlier, open there new terminal session, and run ./boinc from there, and all works!
strange.
i be reading there may be a problem, who need to be enter "xhost local:boinc" in console before run boinc client, for that client see a GPU - got to alt+ctrl+f2, enter "xhost local:boinc", but got only
xhost: unable to open display ""

very stucked here. seems there is some difference in environment of terminal, but what, and why i can do?
user, from who i run startx and ./boinc in console 2 is the same...
 
Old 02-03-2014, 10:53 AM   #24
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,180

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Losing track here. have tried using boinc as your dummy WM? You might even be able to script it so thar if you ran this command

startx /somewhere/boinc

in ~xinitrc, $1 would be boinc, and you would have something looking for the GPU at the time it became available.

But you shouldn't have to figure this out. Doesn't boinc have any instructions on how to run it?
 
Old 02-03-2014, 11:06 AM   #25
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by business_kid View Post
Losing track here. have tried using boinc as your dummy WM? You might even be able to script it so thar if you ran this command

startx /somewhere/boinc

in ~xinitrc, $1 would be boinc, and you would have something looking for the GPU at the time it became available.

But you shouldn't have to figure this out. Doesn't boinc have any instructions on how to run it?

no-no-no.
i start run dummy wm on script provided in first page of this epopey: a ruby script.
then i figured out, there are another problem: ,y ./boinc programm, if runned from "physical tty" ( ctrl+alt+Fx) in any way do not seem GPU. when the same ./boinc programm is runned from terminal session inside of window manager (KDE in my case) - it detects GPU good.
i try to make "xhost local:boinc" where boinc is user from what i run x server, and also a ./boinc programm, but when i run it from "physical tty", i get that error message ( xhost: unable to open display "" ).
there i stucked. i need to grant access programm running from "physical tty" from the same user, to videodriver in X ?
 
Old 02-03-2014, 11:49 AM   #26
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
update: i do that:
user login in "physical tty" ( ctrl+alt+Fx)
DISPLAY=:0
export DISPLAY
xhost local:boinc

non-network local connections being added to access control lists

./boinc -> stuck before "GPU found / not found".
can not imagine, where else is problem.
if i run ./boinc from terminal programm open on KDE all was fine - ./boinc see ATI GPU:

bash-4.2$ ./boinc
./boinc: /lib64/libssl.so.1.0.0: no version information available (required by ./boinc)
./boinc: /usr/lib64/libcurl.so.4: no version information available (required by ./boinc)
./boinc: /lib64/libcrypto.so.1.0.0: no version information available (required by ./boinc)
03-Feb-2014 17:31:22 [---] cc_config.xml not found - using defaults
03-Feb-2014 17:31:22 [---] Starting BOINC client version 7.2.33 for x86_64-pc-linux-gnu
03-Feb-2014 17:31:22 [---] log flags: file_xfer, sched_ops, task
03-Feb-2014 17:31:22 [---] Libraries: libcurl/7.27.0 OpenSSL/1.0.1c zlib/1.2.6 libidn/1.25
03-Feb-2014 17:31:22 [---] Data directory: /home/boinc/BOINC
boinc: /lib64/libssl.so.1.0.0: no version information available (required by boinc)
boinc: /usr/lib64/libcurl.so.4: no version information available (required by boinc)
boinc: /lib64/libcrypto.so.1.0.0: no version information available (required by boinc)
03-Feb-2014 17:31:22 [---] CAL: ATI GPU 0: ATI Radeon HD 4350/4550 (R710) (CAL version 1.4.1734, 512MB, 394MB available, 192 GFLOPS peak)
03-Feb-2014 17:31:22 [---] OpenCL: AMD/ATI GPU 0: ATI Radeon HD 4350/4550 (R710) (driver version CAL 1.4.1734, device version OpenCL 1.0 AMD-APP (937.2), 512MB, 394MB available, 192 GFLOPS peak)
03-Feb-2014 17:31:22 [---] OpenCL CPU: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz (OpenCL driver vendor: Advanced Micro Devices, Inc., driver version 2.0 (sse2), device version OpenCL 1.2 AMD-APP (937.2))
03-Feb-2014 17:31:22 [SETI@home] Found app_info.xml; using anonymous platform
03-Feb-2014 17:31:22 [---] Host name: TESTslk64_14
03-Feb-2014 17:31:22 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz [Family 6 Model 15 Stepping 13]
03-Feb-2014 17:31:22 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm
03-Feb-2014 17:31:22 [---] OS: Linux: 3.2.29
03-Feb-2014 17:31:22 [---] Memory: 3.79 GB physical, 1.91 GB virtual
03-Feb-2014 17:31:22 [---] Disk: 36.67 GB total, 16.73 GB free
03-Feb-2014 17:31:22 [---] Local time is UTC +2 hours
03-Feb-2014 17:31:22 [rosetta@home] URL http://boinc.bakerlab.org/rosetta/; Computer ID 1716837; resource share 100
03-Feb-2014 17:31:22 [Milkyway@Home] URL http://milkyway.cs.rpi.edu/milkyway/; Computer ID 559365; resource share 100
03-Feb-2014 17:31:22 [Einstein@Home] URL http://einstein.phys.uwm.edu/; Computer ID 10283457; resource share 100
03-Feb-2014 17:31:22 [Poem@Home] URL http://boinc.fzk.de/poem/; Computer ID 195468; resource share 100
03-Feb-2014 17:31:22 [SETI@home] URL http://setiathome.berkeley.edu/; Computer ID 7203016; resource share 100
03-Feb-2014 17:31:22 [---] General prefs: from http://www.worldcommunitygrid.org/ (last modified 01-Jan-1970 03:00:01)
03-Feb-2014 17:31:22 [---] Host location: none
03-Feb-2014 17:31:22 [---] General prefs: using your defaults
03-Feb-2014 17:31:22 [---] Reading preferences override file
03-Feb-2014 17:31:22 [---] Preferences:
03-Feb-2014 17:31:22 [---] max memory usage when active: 1163.31MB
03-Feb-2014 17:31:22 [---] max memory usage when idle: 1744.96MB
03-Feb-2014 17:31:22 [---] max disk usage: 2.00GB
03-Feb-2014 17:31:22 [---] max CPUs used: 1
03-Feb-2014 17:31:22 [---] suspend work if non-BOINC CPU load exceeds 50%
03-Feb-2014 17:31:22 [---] (to change preferences, visit a project web site or select Preferences in the Manager)
03-Feb-2014 17:31:22 [---] Not using a proxy
03-Feb-2014 17:31:22 Initialization completed
03-Feb-2014 17:31:22 [SETI@home] Restarting task ap_29oc13aa_B4_P0_00223_20140108_17005.wu_3 using astropulse_v6 version 607 (ati_opencl_100) in slot 1
03-Feb-2014 17:31:22 [Poem@Home] Restarting task poempp_fastfoldinga3d_1391081589_567503941_0 using poempp version 106 in slot 3


any ideas?
 
Old 02-03-2014, 11:57 AM   #27
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
there is env output from konsole in KDE:

bash-4.2$ env
CPLUS_INCLUDE_PATH=/usr/lib64/qt/include
MANPATH=/usr/local/man:/usr/man:/usr/share/texmf/man
HZ=100
KDE_MULTIHEAD=false
HOSTNAME=TESTslk64_14.host.eu
SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=16a49a389e0c89bb5336f3f900000012-1391435998.712285-1492195682
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/boinc/.gtkrc-2.0:/home/boinc/.kde/share/config/gtkrc-2.0
KONSOLE_DBUS_SERVICE=:1.47
GS_LIB=/home/boinc/.fonts
GTK_RC_FILES=/etc/gtk/gtkrc:/home/boinc/.gtkrc:/home/boinc/.kde/share/config/gtkrc
HUSHLOGIN=FALSE
WINDOWID=58720313
OLDPWD=/home/boinc
SHELL_SESSION_ID=b6e8554d06714000953952f2f5fdbd7d
KDE_FULL_SESSION=true
USER=boinc
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31; 01:su=37;41:sg=30;43:ca=30;41:tw=30;42w=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;3 2:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*. EXE=01;32:*.7z=01;31:*.ace=01;31:*.ACE=01;31:*.arj=01;31:*.bz2=01;31:*.cpio=01;31:*.deb=01;31:*.dz=0 1;31:*.gz=01;31:*.jar=01;31:*.lzh=01;31:*.lzma=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.rz=01;31: *.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tlz=01;31:*.trz=01;31:*.t xz=01;31:*.tz=01;31:*.tz2=01;31:*.xz=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:* .aac=01;35:*.AAC=01;35:*.anx=01;35:*.asf=01;35:*.ASF=01;35:*.au=01;35:*.axa=01;35:*.axv=01;35:*.avi= 01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.divx=01;35:*.DIVX=01;35:*.flac=01;35:*.FLAC=01;35:*.gif= 01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;35:*.m2v=01 ;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mid=01;35: *.midi=01;35:*.mka=01;35:*.mkv=01;35:*.MKV=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.m p4=01;35:*.MP4=01;35:*.mp4v=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MP G=01;35:*.nuv=01;35:*.oga=01;35:*.ogv=01;35:*.ogx=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01 ;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.qt=01;35:*.ra=01;35:*.RA=01;35:*.ram=01;35:*.RAM=01;35:*.r m=01;35:*.RM=01;35:*.spx=01;35:*.svg=01;35:*.svgz=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01 ;35:*.tiff=01;35:*.TIFF=01;35:*.vob=01;35:*.VOB=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;3 5:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xspf=01;35:*.xwd=01;35:*.XWD=01;35:* .xvid=01;35:
LD_LIBRARY_PATH=:/opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86
LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
GDK_USE_XFT=1
SESSION_MANAGER=local/TESTslk64_14:@/tmp/.ICE-unix/2157,unix/TESTslk64_14:/tmp/.ICE-unix/2157
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg
MINICOM=-c on
MAIL=/var/spool/mail/boinc
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:.
LC_COLLATE=C
INPUTRC=/etc/inputrc
PWD=/home/boinc/BOINC
AMDAPPSDKROOT=/opt/AMDAPP
KDE_SESSION_UID=1000
LANG=en_US
KDEDIRS=/usr
QT4DIR=/usr/lib64/qt
KONSOLE_DBUS_SESSION=/Sessions/3
HOME=/home/boinc
COLORFGBG=15;0
SHLVL=5
KDE_SESSION_VERSION=4
LANGUAGE=
LS_OPTIONS=-F -b -T 0 --color=auto
XCURSOR_THEME=Oxygen_White
LESS=-M
LOGNAME=boinc
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Bf5WPqAE0l,guid=11f27ccaa63a443c5e4de45200000171
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
LESSOPEN=|lesspipe.sh %s
WINDOWPATH=7
PROFILEHOME=
DISPLAY=:0
QT_PLUGIN_PATH=/home/boinc/.kde/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
G_BROKEN_FILENAMES=1
XAUTHORITY=/tmp/kde-boinc/xauth-1000-_0
_=/usr/bin/env
bash-4.2$

the one from "physical tty":

CPLUS_INCLUDE_PATH=/usr/lib64/qt/include
MANPATH=/usr/local/man:/usr/man:/usr/share/texmf/man
HZ=100
HOSTNAME=TESTslk64_14.host.eu
TERM=linux
SHELL=/bin/bash
HUSHLOGIN=FALSE
USER=boinc
LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31; 01:su=37;41:sg=30;43:ca=30;41:tw=30;42w=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;3 2:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*. EXE=01;32:*.7z=01;31:*.ace=01;31:*.ACE=01;31:*.arj=01;31:*.bz2=01;31:*.cpio=01;31:*.deb=01;31:*.dz=0 1;31:*.gz=01;31:*.jar=01;31:*.lzh=01;31:*.lzma=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.rz=01;31: *.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tlz=01;31:*.trz=01;31:*.t xz=01;31:*.tz=01;31:*.tz2=01;31:*.xz=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:* .aac=01;35:*.AAC=01;35:*.anx=01;35:*.asf=01;35:*.ASF=01;35:*.au=01;35:*.axa=01;35:*.axv=01;35:*.avi= 01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.divx=01;35:*.DIVX=01;35:*.flac=01;35:*.FLAC=01;35:*.gif= 01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;35:*.m2v=01 ;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mid=01;35: *.midi=01;35:*.mka=01;35:*.mkv=01;35:*.MKV=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.m p4=01;35:*.MP4=01;35:*.mp4v=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MP G=01;35:*.nuv=01;35:*.oga=01;35:*.ogv=01;35:*.ogx=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01 ;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.qt=01;35:*.ra=01;35:*.RA=01;35:*.ram=01;35:*.RAM=01;35:*.r m=01;35:*.RM=01;35:*.spx=01;35:*.svg=01;35:*.svgz=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01 ;35:*.tiff=01;35:*.TIFF=01;35:*.vob=01;35:*.VOB=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;3 5:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xspf=01;35:*.xwd=01;35:*.XWD=01;35:* .xvid=01;35:
LD_LIBRARY_PATH=:/opt/AMDAPP/lib/x86_64:/opt/AMDAPP/lib/x86
GDK_USE_XFT=1
MC_TMPDIR=/tmp/mc-boinc
XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
MINICOM=-c on
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin:.
MAIL=/var/spool/mail/boinc
LC_COLLATE=C
PWD=/Install/BOINC
INPUTRC=/etc/inputrc
AMDAPPSDKROOT=/opt/AMDAPP
LANG=en_US
KDEDIRS=/usr
QT4DIR=/usr/lib64/qt
PS1=\u@\h:\w\$
HISTCONTROL=ignorespace
PS2=>
HOME=/home/boinc
SHLVL=2
LS_OPTIONS=-F -b -T 0 --color=auto
MC_SID=3306
LOGNAME=boinc
LESS=-M
LESSOPEN=|lesspipe.sh %s
PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig
DISPLAY=:0
G_BROKEN_FILENAMES=1
OLDPWD=/Install/BOINC/notices
_=/usr/bin/env
 
Old 02-03-2014, 12:49 PM   #28
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,436

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
How about the contents of /var/log/Xorg.0.log?
 
Old 02-03-2014, 01:20 PM   #29
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, exMandriva
Posts: 365

Original Poster
Rep: Reputation: 28
Logs from "dummy script" and from kde staret also is attached - cannot put it there, because any of it is larger than 30 000 lines....

That is from "dummy wm script" logs. but i cannot understand, why it is relevant, because as i say,
i found ./boinc not see GPU if started from "physical" console - no matter there is running "dummy wm"
or fully KDE at that time. there is some strange differencies between user login in physical console,
and open a console from KDE - when i start boinc in console from KDE all works, when i do the same from physical console - programm ( boinc) cannot see GPU...
Attached Files
File Type: txt xorg_log_dummy_wm.txt (34.9 KB, 2 views)
File Type: txt xorg_kde_log.txt (41.0 KB, 2 views)
 
Old 02-03-2014, 03:34 PM   #30
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64, LFS, Crux
Posts: 173

Rep: Reputation: 25
Quote:
Originally Posted by WiseDraco View Post
yes, i start to consider it, but i found, a tinywm not in slackware 14.0, and also cannot find an slackware package for tinywm.
it is possible, sure, to compile it myself, but i plan to put it on the server, and want to minimalize possibility of break down it.\i see slackware offers blackbox, fluxbox, fvwm2, twm, wmaker, and xfce in default. which of that is smallest and minimal resources eating?
I understand about tinywm perhaps unstable for server, was just idea. For memory footprint, the smallest and, I think most stable, is twm, though blackbox is close after twm for memory usage.

Is there an ~/.xsession-errors file that might contain the errors from boinc?
 
  


Reply

Tags
ati, boinc, x server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to start window-manager with beryl lord_didger Linux - Desktop 3 01-26-2008 11:01 PM
PROBLEM: window manager won't start linux4real Linux - Newbie 4 05-03-2006 01:17 AM
Window manager doesn't start ka7znm Fedora 1 10-03-2004 08:54 AM
How do I get the window manager to start straight away? neocookie Slackware - Installation 4 04-27-2004 02:48 AM
start X without a window manager BTseapig Programming 1 03-14-2002 04:58 AM


All times are GMT -5. The time now is 06:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration