LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-24-2008, 07:20 AM   #1
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Rep: Reputation: 30
i am not able to modify $DISPLAY using setenv


i am not able to modify $DISPLAY using setenv
what could be the possible cause
do i need any permissions
 
Old 06-24-2008, 08:00 AM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 45
It's better that you specify the command you type - where, in bash? And paste the error you get. DISPLAY is an environment variable and any specific user can change variables related to its own environment
 
Old 06-24-2008, 08:00 AM   #3
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
What do you mean by "can't modify". Do you get an error, or does it appear to work. 'setenv' is for csh type shells, whereas bash uses 'export'. Either way, the environment variable you set will only be valid in the current terminal. If you want to change it globally, you will have to put it in a startup script (.profile, .login etc depending on your shell).

Can you post the output you get from trying setenv? And a bit more context would be useful.
 
  


Reply



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
modify ps to display the thread name aelgamel Linux - Kernel 1 07-01-2006 03:43 AM
setenv display to a computer on a LAN sattath Linux - Networking 2 10-05-2003 04:00 PM
modify file access & modify timestamps i2itstud Linux - General 1 05-20-2003 03:34 AM
Problem in setting DISPLAY(setenv) kray Linux - General 3 12-10-2001 03:28 AM
setenv DISPLAY toxic53 Linux - Newbie 2 09-27-2001 01:47 AM

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

All times are GMT -5. The time now is 04:03 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