maaxx Posted April 17, 2004 Report Share Posted April 17, 2004 how can i keep drakxservices (and other drak* commands) from opening the GUI while i am in X11? i didnt found any ´--without-x11´ or alike option to pass to this kind of commands.. so it is possible? i find it really annoying having to ctrl_alt_f2 every time i dont want it to open the gui Quote Link to comment Share on other sites More sharing options...
bvc Posted April 17, 2004 Report Share Posted April 17, 2004 Welcome to the board! I'm not understanding the question or problem I guess. Ummm...don't run them? I d/k....could you be more specific? Quote Link to comment Share on other sites More sharing options...
maaxx Posted April 17, 2004 Author Report Share Posted April 17, 2004 thanks for welcoming me :-) ok, I´ll try to be more specific let suppose I start the X server and enter the Gnome Desktop Env. I start the gnome-terminal and do: su - now, as the root i type: drakxservices in the gnome-terminal ..this will launch a GUI if, however, I launch drakxservices before i start the X server and login to the Gnome D.E. a ncurses(or whatever) based interface will be shown .. i want to be able to do that in gnome too. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 18, 2004 Report Share Posted April 18, 2004 (edited) This is a workaround: export OLD_DISP=$DISPLAY && export DISPLAY= && drakxservices && export DISPLAY=$OLD_DISP (there's a space between the first DISPLAY= and the &&, in case you can't see it. If you don't like typing all that and want to always use the ncurses-based versions of the drakxtools, make an alias for them in root's /root/.bashrc: alias drakxservices="export OLD_DISP=$DISPLAY && export DISPLAY= && drakxservices && export DISPLAY=$OLD_DISP" and add other entries for the other drakx stuff you want to run through ncurses, also. Edited April 19, 2004 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.