LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-23-2006, 02:17 PM   #1
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
export DISPLAY locally from the command line?


Could you use the export DISLAY=0.0 and xhost commands to start a program from the command line that requires KDE?


What I am wanting to do is to automatically start a program at boot by bypassing having to load KDE. So in other words... I want to boot into runlevel 3 then have a script run a program that needs to run in KDE, but without loading KDE... Does this make sense? If so is it possible?



More detailed example.

Boots to runlevel 3(command line) Script that has export display and xhost runs and it starts konquereor to a certain webpage.


I can do this by booting into gui and having a script in that loads konqueror fullscreen to a certain webpage, but again I'd like to do this without booting into kde.


I am doing this from the local machine, not through SSH to a remote machine.

I would like to know how to do this in Fedora Core and Slackware. Thanks
 
Old 08-23-2006, 02:31 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You cannot run programs that require an X server, until you have started the X server that they are going to use. You can start X without running KDE. It will take some fiddling with X startup scripts to make that possible. Start by looking at startx, possibly located in /usr/X11R6/bin. Or, it may be as simple as
Code:
X
DISPLAY=0.0 yourProgramThatUsesX
--- rod.
 
Old 08-23-2006, 02:55 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 44
I found this:

Type xinit to star X server without KDE:

xinit

then a screen comes up and you can run your command(konqueror)


I just need to figure out how to make the screen fullscreen when doing the xinit
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
my database export shell script run from command line but not form crontab saifee Linux - General 11 01-29-2012 09:24 AM
linux command : read/display the line n xeebeeeeeee Programming 3 03-26-2006 05:08 AM
Shell command line won't display Jbernoski Slackware 2 03-15-2006 06:31 PM
Modifing Gnome display from command line rooch84 Linux - Software 2 08-10-2004 09:10 AM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:30 PM.

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