start x server without window manager?
hello!
i see around for subj. want to get to work boinc computions on my server, using ATI videocard gpu, but there is a problem - boinc not see the GPU unless X is started. on server i not neet GUI, as so, a naked X server without window manager be ok for me in that situation, i think, but i never do that problem previous - in past i start x server only when i need a GUI.... ;) |
Hide /etc/X11/(xinit/)xinitrc which can possibly live in /usr/X11R6/lib64/X11/xinit/
The window manager is set there. |
Alternatively, start X with a self written WM that does nothing.
An example for a simple dummy WM, written in Ruby: Code:
#!/usr/bin/ruby To start X with that dummy WM, just run Code:
xinit /path/to/dummy-WM-script |
What might work is start kdm in rc.local and change in kdmrc
Quote:
Quote:
|
try
/usr/bin/X |
You can always use "startx application".
I believe that bypasses the default startup script used when there are no applications specified. |
If you go to runlevel 4 and kdm starts, you can simply log into "failsafe" session.
|
Quote:
|
Quote:
sorry, that not works. i try, and it looks like to initialized videocard ( you know, that thing, when vcard switching to graphics mode) and then got out with error message - something like "use sleep --help" at the end. sadly, i cannot paste full error output, but i think, you can easy replicate that :) |
Quote:
try. on that, my coputer lock up. cannot switch to another terminals ( ctrl+alt+Fx), not also numlock reaction on keyboard... |
Quote:
|
Quote:
Code:
#!/usr/bin/ruby |
Quote:
bash-4.2$ /usr/bin/ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] you test that solution, and it work for you? |
Hi,
yes, the code TobiSGD posted worked for me. Code:
cat << EOF > $HOME/dummy.rb lems |
Quote:
my bad bdw you can use "sleep 100d" to sleep for a 100 days, if you don't want to load ruby |
All times are GMT -5. The time now is 12:16 AM. |