Sponsored Content
Top Forums UNIX for Advanced & Expert Users DISPLAY=local_host:0.0 ; export DISPLAY Post 302478508 by big123456 on Wednesday 8th of December 2010 05:40:28 AM
Old 12-08-2010
I installed Xming but :

In putty (for DBCA nothing happens):
Code:
DISPLAY=localhost:0.0 ; export DISPLAY
 
$(hostname) $(whoami):/appli/oracle#dbca
Exception in thread "main" $(hostname) $(whoami):/appli/oracle#dbca
 
$(hostname) $(whoami):/appli/oracle#xclock
Error: Can't open display: localhost:0.0

Regards.

Last edited by Scott; 12-08-2010 at 06:51 AM.. Reason: Code tags, please...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

export DISPLAY and XPM´s

Hi! I´ve an application that runs in a Digital Tru64, exporting display to a Linux host. That application blinks a icon (in XPM mode) when the severity mode changes. When I put a backdrop(XPM, too) in that screen, the icons blink slowly. When I remove it, they turn to blink quickly. I have... (3 Replies)
Discussion started by: selina
3 Replies

2. Shell Programming and Scripting

do a export DISPLAY

hello to begin i sorry for my english because i'am french so: someone can explain me to do a export DIPLAY with a web page (php) i have test the php function exec (myscriptshell.sh) but he can't do the export diplay. if someone have a solution . bye (1 Reply)
Discussion started by: the_nul
1 Replies

3. UNIX for Dummies Questions & Answers

How to export the Display variable

I'm trying to open an xwindow on my Sun server. What am I doing wrong? # echo $SHELL /sbin/sh # # export DISPLAY=localhost:0.0 DISPLAY=localhost:0.0: is not an identifier Thank you! (1 Reply)
Discussion started by: FredSmith
1 Replies

4. Shell Programming and Scripting

export display of directories of remote machine

hi I wanted to export the display of all directories of home with their respective subdirectories and files if any on my local pc. this home directory is of some remote machine . using ssh remote login and then using struct direct i can just gate name list of directories . but not the display... (2 Replies)
Discussion started by: bhakti
2 Replies

5. Solaris

Cant export display from aix to solaris.

Hi Frnds, i face a peculiar issue. I am managing 200 Aix workstations and 20 sun boxes. I am not anle to export the display from aix workstations to sun box, But vice versa it is working fine. But if i try to export the display to a sun box from other sun box it works perfectly. Could... (3 Replies)
Discussion started by: sriram.s
3 Replies

6. HP-UX

Export Display Through Telnet & Xming

HI, HP-UX B.11.00 A 9000/785 (ta) I am trying to export a display using Xming & and Telnet (not SSH) but when I try.. $ DISPLAY=192.168.1.75:0.0 $ export DISPLAY $ xclock and get.. Xlib: connection to "192.168.1.75:0.0" refused by server Xlib: No protocol specified Error:... (4 Replies)
Discussion started by: Pauly
4 Replies

7. UNIX for Advanced & Expert Users

export display

hello frnds, I want to export display of othe terminal to my terminal and want to post a msg, which should visible at other terminal, I tried myself, but couldnt get it plz help me to get solution (1 Reply)
Discussion started by: sushant.pathade
1 Replies

8. Solaris

export DISPLAY

rsh to host2 from host1 and from host2 rsh into host3 Is it possible to display a GUI from host3 through host2 and onto host1? (1 Reply)
Discussion started by: eddiet
1 Replies

9. Shell Programming and Scripting

How to check if export DISPLAY is set or not?

Hi All, I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me.. Problem here is I have developed a script for which i should run export DISPLAY prior to running my script.... so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies
DEFINE_SYSLOG_VARIABLES(3)						 1						DEFINE_SYSLOG_VARIABLES(3)

define_syslog_variables - Initializes all syslog related variables

SYNOPSIS
void define_syslog_variables (void ) DESCRIPTION
Initializes all variables used in the syslog functions. RETURN VALUES
No value is returned. Syslog variables +--------------+-------------------------------+---+---+ | Variable | | | | | | | | | | | Constant equal | | | | | | | | | | Meaning | | | | | | | | | | Notes | | | | | | | | +--------------+-------------------------------+---+---+ | $LOG_EMERG | | | | | | | | | | | | | | | | LOG_EMERG | | | | | | | | | | System is unusable | | | | | | | | | | | | | | | T{ $LOG_ALERT | | | | | | | | | | | | | | | LOG_ALERT | | | | | | | | | | Immediate action required | | | | | | | | | | | | | | | T{ $LOG_CRIT | | | | | | | | | | | | | | | LOG_CRIT | | | | | | | | | | Critical conditions | | | | | | | | | | | | | | | T{ $LOG_ERR | | | | | | | | | | | | | | | LOG_ERR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_WARNING | | | | | | | | | | | | | | | LOG_WARNING | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOTICE | | | | | | | | | | | | | | | LOG_NOTICE | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_INFO | | | | | | | | | | | | | | | LOG_INFO | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_DEBUG | | | | | | | | | | | | | | | LOG_DEBUG | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_KERN | | | | | | | | | | | | | | | LOG_KERN | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_USER | | | | | | | | | | | | | | | LOG_USER | | | | | | | | | | Genetic user level | | | | | | | | | | | | | | | T{ $LOG_MAIL | | | | | | | | | | | | | | | LOG_MAIL | | | | | | | | | | Log to email | | | | | | | | | | | | | | | T{ $LOG_DAEMON | | | | | | | | | | | | | | | LOG_DAEMON | | | | | | | | | | Other system daemons | | | | | | | | | | | | | | | T{ $LOG_AUTH | | | | | | | | | | | | | | | LOG_AUTH | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_SYSLOG | | | | | | | | | | | | | | | LOG_SYSLOG | | | | | | | | | | | | | | | |T{ Not available on Netware | | | | | | | | | $LOG_LPR | | | | | | | | | | | | | | | | LOG_LPR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NEWS | | | | | | | | | | | | | | | LOG_NEWS | | | | | | | | | | Usenet new | | | | | | | | | | Not available on HP-UX | | | | | | | | | $LOG_CRON | | | | | | | | | | | | | | | | LOG_CRON | | | | | | | | | | | | | | | |T{ Not available on all | | | | | platforms | | | | | | | | |$LOG_AUTHPRIV | | | | | | | | | | | | | | | | LOG_AUTHPRIV | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | | $LOG_LOCAL0 | | | | | | | | | | | | | | | | LOG_LOCAL0 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL1 | | | | | | | | | | | | | | | | LOG_LOCAL1 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL2 | | | | | | | | | | | | | | | | LOG_LOCAL2 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL3 | | | | | | | | | | | | | | | | LOG_LOCAL3 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL4 | | | | | | | | | | | | | | | | LOG_LOCAL4 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL5 | | | | | | | | | | | | | | | | LOG_LOCAL5 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL6 | | | | | | | | | | | | | | | | LOG_LOCAL6 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL7 | | | | | | | | | | | | | | | | LOG_LOCAL7 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_PID | | | | | | | | | | | | | | | | LOG_PID | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_CONS | | | | | | | | | | | | | | | LOG_CONS | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_ODELAY | | | | | | | | | | | | | | | LOG_ODELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NDELAY | | | | | | | | | | | | | | | LOG_NDELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOWAIT | | | | | | | | | | | | | | | LOG_NOWAIT | | | | | | | | | | | | | | | |T{ Not available on BeOS | | | | | | | | | $LOG_PERROR | | | | | | | | | | | | | | | | LOG_PERROR | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | +--------------+-------------------------------+---+---+ Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. EXAMPLES
Example #1 define_syslog_variables(3) example <?php // Check if syslog variables already is defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open the log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script ... ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function was removed from PHP. | | | | | 5.3.0 | | | | | | | This function now throws an E_DEPRECATED notice. | | | | +--------+---------------------------------------------------+ SEE ALSO
openlog(3), syslog(3), closelog(3). PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)
All times are GMT -4. The time now is 08:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy