Jump to content

drakxservices, drakproxy and so on without GUI


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by Steve Scrimpshire
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...