03-05-2010
Same here... I rarely use a GUI on a unix/linux server.. .and when I do, it is a web-based interface, which is my favorite, so I will select "Other"
8 More Discussions You Might Find Interesting
1. Solaris
i just tryed to install solaris 10.. it installed fine.. but when i restarted it and tried to use it.. i get a message that says: The X server cannot be started on display :0...
what do i do? :confused: (5 Replies)
Discussion started by: hiimcody1
5 Replies
2. UNIX for Dummies Questions & Answers
I am a newb linux user. And i am running suse 9.3 pro.
When i first installed it a couple of days ago, it booted into the desktop
fine the first four or five times.
And not when i turn on my computer and boot linux and loads the devices, then it prompts me...
UserName:
Password:
(which... (1 Reply)
Discussion started by: derekmpage
1 Replies
3. UNIX and Linux Applications
i want to change my desktop to a darker look been to gnomelook.org and ubuntulook.org even deviant art but seem not able to find anything i like is there anybody out there that might be able to steer me into the right direction ?
i know about how gtk works browsed what is available out there but... (1 Reply)
Discussion started by: ksnovice
1 Replies
4. What is on Your Mind?
I am on Solaris 10
cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009 (16 Replies)
Discussion started by: solaris_user
16 Replies
5. UNIX Desktop Questions & Answers
We are going to use Linux Desktop systems.
Which one will be the best option ?
I prefer CentOS , but in CentOS which one ?
I heard fedora will take more Ram space..!! is it ?
P.S
1. Users are developers , with eclipse , java , tomcat webserver etc.
2. System Configuration ~: 2GB ,... (8 Replies)
Discussion started by: linuxadmin
8 Replies
6. What is on Your Mind?
Hi, guys. What is your favourite movie at the moment? Which movie are you watching? I am watching the Thor:) (17 Replies)
Discussion started by: Tinna
17 Replies
7. What is on Your Mind?
So what is everyones all time favourite games console and why do you like it?
(Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Discussion started by: Tommyk
28 Replies
8. What is on Your Mind?
Hi all,
there have been a tremendous evolution in the computer games from games like Tetris or DAVE or Prince of Persia or wolf3d... to Call of Duty or BattleField or tomb raider etc etc
so let us know the games which you liked the most....
you can also mention about the gaming rig you... (32 Replies)
Discussion started by: vivek d r
32 Replies
LEARN ABOUT DEBIAN
prima::nox11
Prima::noX11(3) User Contributed Perl Documentation Prima::noX11(3)
NAME
Prima::noX11 - Use Prima without X11
SYNOPSIS
use Prima::noX11;
use Prima;
my $error = Prima::XOpenDisplay();
if ( defined $error) {
print "not connected to display: $error
";
} else {
print "connected to display
";
}
DESCRIPTION
Prima will by default connect to X11 server on unix. To use Prima functionality in modules or programs where this default behavior is
undesired, please follow the guidelines below.
No connection
In the beginning of a script or a module that is never intended to connect to X11 display, add this:
use Prima::noX11;
use Prima;
It will be possible to connect to X11 server later on manually.
Manual connect to X11
If connection to X11 is optional, use this code after "use Prima::noX11" was invoked:
my $error = Prima::XOpenDisplay();
if ( defined $error) {
print "not connected to display: $error
";
} else {
print "connected to display
";
}
Checking if GUI functionality is accesiible.
Without X11 connection, no GUI functionality such as screen grabbing will be accessible. In addition to that functionality, windowing
functions will only become accessible after Prima::Application creates a single instance $::application.
Therefore, if $::application is defined, then all GUI functions can be safely used. If, on the contrary, it is not defined, initiate it as
this:
unless ( $::application) {
my $error = Prima::XOpenDisplay();
die $error if defined $error;
require Prima::Application;
import Prima::Application;
}
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima::X11
perl v5.14.2 2009-02-24 Prima::noX11(3)