LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-04-2007, 06:10 AM   #1
sanitynotvanity
Member
 
Registered: Jul 2007
Location: UK
Distribution: LFS 6.8, Android, Ubuntu 10.10, XP, 7 (HB,HP,Ultimate)
Posts: 41

Rep: Reputation: 15
Run X-window Apps without GUI?


Hi,

this may sound crazy. its just a concept that i thought might be possible, but i dont know how. Could someone clarify its potential?

I have a program that requries the X-server to run. the program is VMplayer. i want to run it, but i dont want to run gnome, or KDE, or XFCE.

is this possible?

the end result im looking for is to boot the machine straight into VMplayer. No interaction with linux OS at all.

Does this sound possible?

Any thoughts would be greatly appreciated.

Cheers,

Andy
 
Old 12-04-2007, 09:14 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 64
This can be done, perhaps not to the extent you would like it to be done, but it do-able.

Instead of using KDE, Xfce or Gnome (which are desktop environments - DE's for short), just use a minimal, MINIMAL window manager, like twm (as it comes with X). Get XDM installed (as KDM and GDM usually need KDE or Gnome installed) or some other minimalistic login/display manager, and set up a user's ~/.xinitrc file to read something like:
Code:
# .XINITRC FILE EXAMPLE
# MODIFY WITH APPROPRIATE VALUES (REFER TO MANPAGES IF NEED BE)
exec vmplayer
exec twm
 
Old 12-07-2007, 03:07 AM   #3
sanitynotvanity
Member
 
Registered: Jul 2007
Location: UK
Distribution: LFS 6.8, Android, Ubuntu 10.10, XP, 7 (HB,HP,Ultimate)
Posts: 41

Original Poster
Rep: Reputation: 15
Run X-window Apps without GUI?

Hi indienick,

Sorry for late response, ive been trying out your suggestion.

unfortunately, im using xubuntu 7.04, so altering the start up scripts takes a little more research as the system doesnt use the familiar inittab, instead it uses upstart.

i did boot into TWM, and its perfect for what i want. now im just trying to convince xubuntu to boot without the GDM, auto login as root (perfect medium for a geeky fight - please dont anyone question me on this) and then start X imediately which will no longer boot XFCE but twm which will then imediately bring up VMplayer - X vmx.vmx which will automatically bring up my desired virtual machine.

This is gonna be sweet.

Thanks for your help!!!!
 
Old 12-07-2007, 08:52 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 64
You're very welcome!

I run Debian (as per my "Distribution" tag), and since *buntu distros are all Debian-based, try hopping into a termal/console (something CLI) and, as root, run:
Code:
# dpkg-reconfigure xdm
Or you can go:
Code:
# apt-get remove gdm && apt-get install xdm
and the reconfigure script for display managers should run.

That is - of course - if you want to not use GDM, save a bit of disk space, and muck about with XDM and figuring out how to have it automatically log in for you.

However, I'm pretty sure GDM has the option (somewhere.... - I'm at work right now and don't have access to a Linux box *oh the tyrrany*) to automatically log a user on.

Last edited by indienick; 12-07-2007 at 08:53 AM.
 
  


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
linuxbios to run gui apps schneidz Linux - Embedded 7 09-17-2007 12:03 PM
CRITICAL: Some GUI apps run but do not show! R00ts Linux - Software 3 04-24-2005 09:29 AM
I'm looking for some GUI apps.. VertX Linux - Newbie 3 02-08-2005 03:06 PM
Am iI a total noob? I Want better window Gui for gtk2 apps when working in gnome!!!!! Samppa72 Linux - Distributions 1 06-07-2004 04:46 PM


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

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
Open Source Consulting | Domain Registration