Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-09-2005, 07:41 AM   #1
LQ Newbie
Registered: Jan 2005
Location: Itajaí, SC, Brasil
Distribution: Slackware 10
Posts: 12

Rep: Reputation: 0
Starting an application on X by console

Maybe this is a bash problem. If somebody can help me...
Old 01-09-2005, 08:20 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try to change the X test like :

# is X running on display 0 ?
if [ -f /tmp/.X0-lock ]; then
    # X is running


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
Starting an application on X by console tiagomadeira Linux - Software 4 01-09-2005 07:53 AM
rc.local not starting my application Greenman Linux - Newbie 11 08-17-2004 04:35 PM
Starting an application at boot ftwomey Linux - Newbie 3 04-25-2004 08:07 AM
console exclusivity to application byronm Programming 1 08-21-2003 12:56 PM
Auto starting an application bbereg Linux - Newbie 7 11-21-2002 05:40 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration