LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2005, 02:15 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
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.

I MEAN STARTING X PROGRAM WITHOUT starting x server.

and also same for linux games.


because i am using low RAM. so it is usefull for me.
 
Old 04-26-2005, 02:31 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Thats not possible. If you are low on ram, then use a lightweight window manager such as fluxbox or windowmaker.
 
Old 04-26-2005, 03:24 AM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
u answered yuor post by urself

"I MEAN STARTING X PROGRAM WITHOUT starting x server."

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

regards
 
Old 04-26-2005, 04:00 AM   #4
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
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

Yves.
 
Old 04-26-2005, 04:56 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 04-26-2005, 06:52 AM   #6
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
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.

Yves.
 
Old 04-26-2005, 08:51 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
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.
 
Old 04-26-2005, 10:05 AM   #8
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
if u do not want to start gdm and strightway start ur desktop

boot in runlevel 3 and run

startx


regards
 
Old 04-26-2005, 10:21 AM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
Old 04-26-2005, 07:05 PM   #10
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
create this file:
~/.start-twm

with the following contents:
Code:
if [ -z "$DISPLAY" ]; then
   exec xinit $0 $*
fi

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

then from command line:
./start-twm

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 01:49 PM
X server don't starting. poisoner Slackware 4 07-11-2004 11:57 AM
Starting a server... CrAzY G Linux - General 7 04-13-2004 02:02 PM
starting X server? Squall Slackware 5 04-02-2004 10:12 AM


All times are GMT -5. The time now is 02:40 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