-   Linux - Newbie (
-   -   starting xprogram without starting X server. (

bruse 04-26-2005 02:15 AM

starting xprogram without starting X server.
i am using mandrke 10.0 + kDE.
i have one doubt.

i want to launch mozilla or k3b without launching the KDE or GNOME.


and also same for linux games.

because i am using low RAM. so it is usefull for me.

reddazz 04-26-2005 02:31 AM

Thats not possible. If you are low on ram, then use a lightweight window manager such as fluxbox or windowmaker.

masand 04-26-2005 03:24 AM

u answered yuor post by urself


how can u have some clinets with the server

and redazz is right u need some lighweight window manager
icewm will be good for u


theYinYeti 04-26-2005 04:00 AM

Indeed the X server is needed to run X clients (so-called "X programs"). But that doesn't mean you need a window manager. When I'm on command-line, and I want to start an X program fast without a window manager (eg: xcdroast), I do that:
startx /usr/bin/xcdroast


reddazz 04-26-2005 04:56 AM

Yeah, but xcdroast will still run in a gui. From my understanding of the post, the user wanted to find out if its possible to run the apps on their local machine without using an x server at all.

theYinYeti 04-26-2005 06:52 AM

Well... he also said "without launching the KDE or GNOME... because I am using low RAM".
I don't know how much RAM he has, but with my P150MMX laptop (32MB RAM), I often don't bother using virtual terminal anymore, since I use the Matchbox window manager, which is VERY lightweight, though probably not the lightest existing.


bruse 04-26-2005 08:51 AM

sir 512 MB RAM .

i am running doom3 game.

it is very very slow.

that is why i have posted.

indeed i can launch the x game not using x server.

any way i am clear that.

and is it possible quit the gdm in runlevel 5.

wthin the run level 5 can not quit gdm.

but i can quit X server.

masand 04-26-2005 10:05 AM

if u do not want to start gdm and strightway start ur desktop

boot in runlevel 3 and run



jschiwal 04-26-2005 10:21 AM

I think you might be confusing the terms X server with Window Manager.

You can run an X program without a windows manager.
You need to use a default init level of 3 of course.

Enter in the terminal
xinit /usr/bin/k3b -- :0

This will run the k3b program, and only the k3b program. You may need to install KDE so that you have the libraries installed. Such as the QT libraries for example. Some programs are pure X programs, like "xpdf" and only need x windows installed.

You may still run into a problem is the program uses a KDE subsystem like DCOP.

gbhil 04-26-2005 07:05 PM

create this file:

with the following contents:

if [ -z "$DISPLAY" ]; then
  exec xinit $0 $*

exec twm

then from command line:
chmod +x ~/.start-twm

then from command line:

you will easily be able to see what to do once it starts :)

All times are GMT -5. The time now is 06:47 PM.