LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 09-03-2004, 09:24 AM   #1
sjel
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
how to get citrix automatically started up when a user logs in.


Okay I have installed a Citrix client on redhat 9. It all works perfect and stuff. The execution file is: /usr/lib/ICAClient/wfcmgr. Now I want to have it like started when a user logs in (like a service :P). Anyway I fount something about .xinitrc that you can let your own clients started when a user logs on. I have editted it a few times with an execution line but nothing starts up when the user logs on. I dont know really what to do else im not really fammiliar with linux but I need this have done. Can somebody help me out?
 
Old 09-03-2004, 01:01 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
If you can type
Code:
/usr/lib/ICAClient/wfcmgr
in a xterm termial and Citrix starts, then you can get this to work by adding it to your user's .xinitrc or .xsession file.

.xinitrc is used if you normally log into a text console and use the startx command to start X-windows. .xsession is normally used if you log straight into a graphical login screen. I suspect you want to put the command into the user's .xsession or the global /usr/lib/X11/xdm/Xsession file.

Hope that helps,

— Robert J. Lee
 
Old 09-06-2004, 08:40 AM   #3
sjel
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hmmm about the .xinitrc I already knew and tryed out somethings. But thnx for informating me about the .Xsession file!! and the code I gave is indeed the one to startup Citrix like:

Code:
exec /usr/lib/ICAClient/wfcmgr
When I type it just in terminal it simply starts up Citrix without any problem. Only when I put it in the .Xsession file it wont startup citrix when I log in. The only thing is I dont know where in the .xsession file I need to place it and what, cause I dont think it is just like started when you put
exec /usr/lib/ICAClient/wfcmgr somewhere at the end in the file. Don't it need to be something like:

Code:
if [blablablablablablabla] then:
     exec /usr/lib/ICAClient/wfcmgr
else
     blablablablabla
fi
?????

I know it sounds n00b but that's cause I dont work that often with Linux

thanks for your help anyway!
 
  


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
I want to automatically run a program when a user logs on their account bad_andy Linux - Newbie 7 02-01-2005 08:55 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Getting vncserver to run automatically when user logs in indespair Linux - Networking 2 10-26-2003 02:37 AM
RedHat logs me out automatically glass Linux - Distributions 5 11-03-2002 10:36 AM
How do you control if a service (cron for example) is started automatically? Rimmer Linux - General 2 05-16-2001 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 AM.

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