09-10-2007
Oh Boy...
I think I found more of my issue...
echo $DISPLAY = DAISPLAY: Undefined variable
This machine used to boot up and after log in went to a gui desktop.
Not it errors saying it can't start X on Display 0, I thought it was because someone changed it to a higher resolution...
Guess it looks like it is because of the above error.
How do I set the Display Env for all users?
10 More Discussions You Might Find Interesting
1. Solaris
I have installed Solaris 10 over vmware onto my machine. Now when I want to change my screen resolution it only has one option which is 800x600. Is there a way to change that to a bigger resollution? And if there is, what file do I have to edit and what text editor do I have to use? (1 Reply)
Discussion started by: Aco
1 Replies
2. UNIX for Dummies Questions & Answers
I have no graphical environment, no X, just a shell... but its WAY bigger than my monitor...
what do I do? (3 Replies)
Discussion started by: jjinno
3 Replies
3. UNIX for Dummies Questions & Answers
am new to unix.. :) i managed to install solaris 10 and freebsd on vmware. i am having trouble configuring the screen resolution .now both o.s are stuck at 640x480. how do i change it to higher settings?
i tried kdmconfig for solaris 10 but an error message shows up .
sorry current window size... (1 Reply)
Discussion started by: freejade
1 Replies
4. Solaris
I am using sun solaris machine i have given the specs of that machine given below
Name of athe Platform : SUNW,Ultra-5_10
Machiene hardware :sun4u
Processor Type :sparc
Operating system : solaris 10
Monitory TYpe : SAMSUNG Sync Master... (2 Replies)
Discussion started by: ambavaram
2 Replies
5. Solaris
how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to get the current X*Y resolution of X in a shell script. xrandr -q gives me a line like this:
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 3080 x 1600
How can I extract the X and Y current resolution values? sed, awk, cut or any other console solution is welcomed.... (2 Replies)
Discussion started by: tcfx44
2 Replies
7. Red Hat
system: Fedora14 on vmware
the login screen resolution is 1024*768, but after login the resolution is 800*600. I want to set the login screen resolution as 800*600 too. How to do this?
thanks! (2 Replies)
Discussion started by: vistastar
2 Replies
8. UNIX for Dummies Questions & Answers
I have installed several flavors of Linux and FreeBSD onto my machine. Now when I want to change my screen resolution, it only has one option which is 800x600. Is there a way to change that to a bigger resolution? And if there is, what file do I have to edit and what text editor do I have to use?... (2 Replies)
Discussion started by: figaro
2 Replies
9. Linux
Dear all
I install Cent OS 5.5 ( Linux OS), with bshell and also Windows OS on the my laptop (ASUA) maximum screen resolution in Windows OS is 1024*760 but in Cent OS 5.5 is 800 *600, I have a program that is necessary to install on Cent OS and I have problem with other Linux distributions... (2 Replies)
Discussion started by: mkhorami76
2 Replies
10. Solaris
Hi all. I have a very peculiar problem in Solaris 10. The output of the m64config -prconf command with regards the Card Adapter is the following.
Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75
800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60
... (0 Replies)
Discussion started by: lynxman
0 Replies
Env(3) User Contributed Perl Documentation Env(3)
NAME
Env - perl module that imports environment variables as scalars or arrays
SYNOPSIS
use Env;
use Env qw(PATH HOME TERM);
use Env qw($SHELL @LD_LIBRARY_PATH);
DESCRIPTION
Perl maintains environment variables in a special hash named %ENV. For when this access method is inconvenient, the Perl module "Env"
allows environment variables to be treated as scalar or array variables.
The "Env::import()" function ties environment variables with suitable names to global Perl variables with the same names. By default it
ties all existing environment variables ("keys %ENV") to scalars. If the "import" function receives arguments, it takes them to be a list
of variables to tie; it's okay if they don't yet exist. The scalar type prefix '$' is inferred for any element of this list not prefixed by
'$' or '@'. Arrays are implemented in terms of "split" and "join", using $Config::Config{path_sep} as the delimiter.
After an environment variable is tied, merely use it like a normal variable. You may access its value
@path = split(/:/, $PATH);
print join("
", @LD_LIBRARY_PATH), "
";
or modify it
$PATH .= ":.";
push @LD_LIBRARY_PATH, $dir;
however you'd like. Bear in mind, however, that each access to a tied array variable requires splitting the environment variable's string
anew.
The code:
use Env qw(@PATH);
push @PATH, '.';
is equivalent to:
use Env qw(PATH);
$PATH .= ":.";
except that if $ENV{PATH} started out empty, the second approach leaves it with the (odd) value "":."", but the first approach leaves it
with ""."".
To remove a tied environment variable from the environment, assign it the undefined value
undef $PATH;
undef @LD_LIBRARY_PATH;
LIMITATIONS
On VMS systems, arrays tied to environment variables are read-only. Attempting to change anything will cause a warning.
AUTHOR
Chip Salzenberg <chip@fin.uucp> and Gregor N. Purdy <gregor@focusresearch.com>
perl v5.16.3 2013-03-02 Env(3)