Sponsored Content
Top Forums UNIX for Dummies Questions & Answers xhost: unable to open display???? Post 70696 by encrypted on Tuesday 3rd of May 2005 04:16:18 AM
Old 05-03-2005
You can try this:

1.telnet/ssh into the server.
2.export DISPLAY=<i.p. address of XP machine>:0 (syntax varies for other shells)
3.Open any X-Server application (eg. Kea!X, Exceed etc.)
4.Log in to the server
5.Try running any openwindows application or any graphical application eg.
oracle installer from the cdrom.
 

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Unable to open thread

I am unable to open the mimesender thread. I get the following message when clicking on https://www.unix.com/showthread.php?p=33233#post33233 : (2 Replies)
Discussion started by: dangral
2 Replies

2. UNIX for Advanced & Expert Users

xhost unable to open display

I am trying to install ORACLE 10g database on HP-UNIX 11.11 I am running OUI runinstaller from exceed terminal from windows PC. I have set DISPLAY=IPAddress of PC:0.0 When installer starts it is giving me error of display (5 Replies)
Discussion started by: ymg
5 Replies

3. Red Hat

Error: Can't open display: :0.0

Hi, I get errors while running xclock from a non root user: # xclock --- this works fine # su - girish $ DISPLAY=:0.0; export DISPLAY $ xclock Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: Can't open display: :0.0 $ I basically want to... (4 Replies)
Discussion started by: girish1428
4 Replies

4. Red Hat

HELP: NMON unable to display all the statistic specified via putty

Hi guys, I got this problem with NMON unable to display all the statistics specified via putty. I believe this is due to libncurses rather than NMON and also the env variable $TERM. Currently, the $TERM is set to "xterm" which should be compatible with NMON display. Is there any ways that... (0 Replies)
Discussion started by: DrivesMeCrazy
0 Replies

5. UNIX for Dummies Questions & Answers

Can't Open Display localhost:0.0

I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command - export... (5 Replies)
Discussion started by: garethnsolomons
5 Replies

6. UNIX for Dummies Questions & Answers

xWindows error: xhost unable to open display

I am trying to direct a AIX display to my XWindows and I am at a dead end now! So this what I've done so far: 1. In putty settings, I set "Enable X11 forwarding" and also set "X diplay location" to "localhost:0" (without quotes, of course) 2. Via putty, connected to my AIX server 3. On... (1 Reply)
Discussion started by: shoefiend
1 Replies

7. Solaris

Unable to open Crontab

Hi, I have 2 solaris server. I can able to open to see cron entry by using crontab -l in one of the server. I cant able to open another server. How to check if crontab is fixed in that server. If not then how to make a crontab in that server. Please advice. Thanks, Mani ----------... (1 Reply)
Discussion started by: Mani_apr08
1 Replies

8. Ubuntu

Unable to open Gtalk.

Hello friends. I am currently using Ubuntu 9.10. Its having a lot of features. I have a problem in this operating system that is unable to open Gtalk. Could i get the information to use Gtalk in Ubuntu 9.10. Please reply me. (1 Reply)
Discussion started by: andrepitt77
1 Replies

9. UNIX for Advanced & Expert Users

Unable to display directory info with ps command

Hello, I start an adapter using the following command - nohup ./start_embargoAdapter >/dev/null 2>&1 & and when I do the following, I can see: /export/home/xxxxx> ps -ef | grep embargo xxxxx 28086 20761 0 23:23:29 pts/7 0:00 grep embargo xxxxx 8866 1 0 Oct 06 ? 0:00... (2 Replies)
Discussion started by: samjna
2 Replies

10. Ubuntu

Unable display txt file.

Hello, I am unable to display downloaded file from unbunto. its says cat filename no file and directory but file is there. i saved file on desktop. i am using vmware players . could you please help to with the command. THANK YOU (8 Replies)
Discussion started by: raz33
8 Replies
Mojo::Server(3pm)					User Contributed Perl Documentation					 Mojo::Server(3pm)

NAME
Mojo::Server - HTTP server base class SYNOPSIS
use Mojo::Base 'Mojo::Server'; sub run { my $self = shift; # Get a transaction my $tx = $self->build_tx; # Emit "request" event $self->emit(request => $tx); } DESCRIPTION
Mojo::Server is an abstract HTTP server base class. EVENTS
Mojo::Server can emit the following events. "request" $server->on(request => sub { my ($server, $tx) = @_; ... }); Emitted when a request is ready and needs to be handled. $server->unsubscribe('request'); $server->on(request => sub { my ($server, $tx) = @_; $tx->res->code(200); $tx->res->headers->content_type('text/plain'); $tx->res->body('Hello World!'); $tx->resume; }); ATTRIBUTES
Mojo::Server implements the following attributes. "app" my $app = $server->app; $server = $server->app(MojoSubclass->new); Application this server handles, defaults to a Mojo::HelloWorld object. "app_class" my $app_class = $server->app_class; $server = $server->app_class('MojoSubclass'); Class of the application this server handles, defaults to the value of the "MOJO_APP" environment variable or Mojo::HelloWorld. METHODS
Mojo::Server inherits all methods from Mojo::EventEmitter and implements the following new ones. "new" my $server = Mojo::Server->new; Construct a new Mojo::Server object and subscribe to "request" event with default request handling. "build_tx" my $tx = $server->build_tx; Let application build a transaction. "load_app" my $app = $server->load_app('./myapp.pl'); Load application from script. say Mojo::Server->new->load_app('./myapp.pl')->home; "run" $server->run; Run server. Meant to be overloaded in a subclass. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::Server(3pm)
All times are GMT -4. The time now is 11:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy