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 08-16-2003, 10:27 AM   #1
rshan
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
Unhappy tightvnc and /etc/profile


I'm running tightvnc (server) on Mandrake 9.1. I am able to establish a session just fine from my Windows XP box, but the sessions do not pick up path and environment variable changes I've made to /etc/profile.

If I log into the Mandrake box directly my path and environment variables are set correctly according to the changes I made to /etc/profile. Also, if I ssh to the box the settings are also correct.

I also tried changing ($HOME)/.bash_profile and that didn't work either.

I'm running tightvnc-server-1.2.7-5mdk.

Any ideas?
 
Old 08-16-2003, 01:39 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try setting them in the tightvnc startup script befroe the window manager is launched.
 
Old 08-18-2003, 10:19 PM   #3
rshan
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
That worked! Thanks. Any suggestions on how to manage the multiple 'profiles'?
 
Old 08-19-2003, 04:02 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Multiple profiles?
 
Old 08-19-2003, 07:14 PM   #5
rshan
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
I simply meant that I wanted to avoid having to maintain path and environment variables in multiple places, i.e. in profile and in xstartup. I've taken the approach of putting my path and enviroment settings in a script file and running it from profile and xstartup.
 
Old 08-19-2003, 08:01 PM   #6
rshan
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
I discovered another technique:

in /etc/X11/Xsession change
#!/bin/sh to #!/bin/bash --login
 
  


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
tightvnc help greenmeanie Mandriva 5 12-12-2004 12:01 PM
TightVNC enzominator Linux - Newbie 6 08-25-2004 02:25 PM
tightvnc+X tsitras Linux - Software 2 03-24-2004 05:23 PM
Tightvnc len Linux - Software 11 06-24-2003 05:31 PM
TightVNC jeffer Linux - Software 1 05-22-2003 12:06 PM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration