Sponsored Content
Top Forums UNIX for Dummies Questions & Answers "Gtk-WARNING cannot open display" from ssh Post 302366454 by vbe on Thursday 29th of October 2009 01:55:19 PM
Old 10-29-2009
Lets start from beginning:
What does
Code:
echo $DISPLAY

Give you?
If nothing
do you know your local IP?
If so give it to the DISPLAY variable:
Code:
export DISPLAY=<your IP>:0.0

What shell are you using ? (syntax given for ksh...)

---------- Post updated at 18:55 ---------- Previous update was at 18:50 ----------

This is what I have set on my host: (/etc/ssh/sshd_config)
Code:
.
.
.
.

AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
X11UseLocalhost yes

.
.
.

 

9 More Discussions You Might Find Interesting

1. SuSE

VMDB Failure" followed by "Unable to open snapshot file"

keep getting an error when I try to revert to a snapshot: "VMDB Failure" followed by "Unable to open snapshot file" Im using vmware server 1.0.4, host OS is windows xp and guest OS is SLES. Is there anything I can do to recover the snapshot or am I in trouble!?!?! (0 Replies)
Discussion started by: s_linux
0 Replies

2. IP Networking

Unknown open port: "6881/tcp open bittorrent-tracker" found with nmap

Hi. I ran nmap on my server, and I get the following: Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT Interesting ports on -------- (-----): Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 6881/tcp open bittorrent-tracker The... (0 Replies)
Discussion started by: Rledley
0 Replies

3. Solaris

X11 and "Cannot Open Display" errors

Greetings Forumers! I'm posting a solution to an Issue I ran into this week: Getting applications to display on another through X11 and SSH. I have run into this issue many years ago and finally found my notes. Some of you may already know the answer to this issue but it took me a while to... (1 Reply)
Discussion started by: bluescreen
1 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Linux

(PMT:6498): Gtk-WARNING **: cannot open display:

Hai (PMT:6498): Gtk-WARNING **: cannot open display: how to solve this in linux Double post.. continue here (0 Replies)
Discussion started by: vinayd
0 Replies

6. Red Hat

(PMT:6498): Gtk-WARNING **: cannot open display:

Error message: (PMT:6498): Gtk-WARNING **: cannot open display: How to solve this issue in linux? (1 Reply)
Discussion started by: vinayd
1 Replies

7. UNIX for Dummies Questions & Answers

What is the significance of sh -s in ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh?

Please can you help me understand the significance of providing arguments under sh -s in > ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies

8. Shell Programming and Scripting

Expect: spawn id exp5 not open while executing "expect "$" { send "sudo su -\r" }"

Hi All, i am trying to ssh to a remote machine and execute certain command to remote machine through script. i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as expect: spawn id exp5 not open while executing "expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
pdweb(1M)																 pdweb(1M)

NAME
pdweb - start the HP-UX Peripheral Device tool, part of the System Management Homepage Web interface. SYNOPSIS
Path: DESCRIPTION
The HP-UX Peripheral Device tool (pdweb) can be used to easily and quickly view I/O devices and OLRAD cards. It helps manage hot pluggable PCI slots on systems that support adding and replacing cards without rebooting. On all HP-UX systems, will display the I/O devices and can be used to (re)create device files for a selected device. The HP-UX Peripheral Device tool user interface uses a Web browser. Executing the command, with DISPLAY variable set and without any options performs the following tasks: o start the System Management Homepage Web server and o start a Web client (browser) An attempt will be made to connect to the browser specified with the BROWSER environment variable, or Mozilla, or Netscape. The Web browser will be displayed on the X server defined by the DISPLAY environment variable. If a running browser is found, it will be used, otherwise a new session will be initiated. This will only happen if the browser process is running on the same system used to exectue the pdweb command (defined by the DISPLAY variable), unless the option is used. Options The recognizes the following options: Opens the terminal interface for Cards and Devices regardless of the current setting of the DISPLAY environment variable. Forces a client browser to be used in less secure ways. Two security features are overridden by the option. The option forces the client browser to be used or started, even if the X-traffic between the X-server and the Mozilla browser is not secure. When is invoked by the option is used. Only a priviledged user (root) can execute When used with the option, a temporary login bypass key will be generated. The bypass key allows the user to access the Web interface without having to provide login information again. Only use this option if you are sure the network traffic is secure between the host where Mozilla is running, and the host in the DISPLAY variable. The browser uses URL http://hostname:2301/ and you may paste this into any browser if a browser does open with the pdweb command. Online Help Once the HP-UX Peripheral Device tool is started, the online help provides details on how to use the tool. RETURN VALUES
Upon completion, returns one of the following values: Successful. An error occurred. AUTHORS
pdweb was developed by Hewlett-Packard SEE ALSO
hpsmh(1M), smhstartconfig(1M), olrad(1M), ioscan(1M), insf(1M) pdweb(1M)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy