Visit Our UNIX and Linux User Community


Unable to get a Xterm or X app to appear under a Linux Gnome Desktop

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Unable to get a Xterm or X app to appear under a Linux Gnome Desktop
# 1  
Old 09-22-2017
Unable to get a Xterm or X app to appear under a Linux Gnome Desktop

I want to have a xterm or xapplication from a Solaris client to appear on my RHEL Server running GNOME desktop. It may sound easy at first but, I have done the basics and I be stuck.

Have Tried:
Linux - logged in as root, open a Terminal and did a echo $DISPLAY and it reports back :0.0
I run xhost + to permit remote hosts to display to it.
I am on workspace 0. I have tried workspace 1 as well, same results.


On my Solaris host, I opened a Putty Terminal vi ssh to the host. Login as root (for this test).
I run export DISPLAY=<Linux_ip>:0.0
I echod $DISPLAY and see DISPLAY=<Linux_ip:0.0>. Then I run, simple test /usr/bin/xterm. I get back cannot open DISPLAY.
# 2  
Old 09-22-2017
Did you use ssh with -X option (or any option relating to DISPLAY exporting, depending on your platform & ssh version) ?
Did you enable all corresponding X11 forwarding stuff ?
This User Gave Thanks to ctsgnb For This Post:
# 3  
Old 09-22-2017
Is your linux machine accessible from the solaris host? Is there any sort of firewall inbetween or on the linux host itself?
# 4  
Old 09-22-2017
Quote:
Originally Posted by mrmurdock
I run export DISPLAY=<Linux_ip>:0.0
I echod $DISPLAY and see DISPLAY=<Linux_ip:0.0>. Then I run, simple test /usr/bin/xterm. I get back cannot open DISPLAY.
Just to check you don't mean there's literally < > symbols in it, right? It should just be Linux_ip:0.0
# 5  
Old 09-22-2017
Corona688, I get use to add the dang <> like documentation, but yes I only used Linux_ip:0.0 (10.25.34.23:0.0)


Yes they are on the same network segment/subnet, with no firewall between them. I have selinux turned off on the Linux host, and have iptables and iptablesv6 disabled as well.


Not sure about the other post, as to why and where I would use ssh -X at and where to set the X11 forwarding stuff as well.
I can get xeyes, xlogo, xclock to appear on a PC running a xserver (xming, xceed, WRQ reflections,etc) from the same Solaris Host.
# 6  
Old 09-22-2017
Ah, x.org usually has TCP disabled globally these days. To allow it to the extent that xhost will do anything, you need to run X with the -listen tcp option.
This User Gave Thanks to Corona688 For This Post:
# 7  
Old 09-22-2017
wasn't sure how to run X with the -listen option on the Linux host, so I tried from the Linux terminal
Linux:root># ssh -X -l oracle 10.25.25.25 and ran the X app needed and it appeared on my Linux DT.
hmmm...interesting.

Previous Thread | Next Thread
Test Your Knowledge in Computers #295
Difficulty: Easy
Ubuntu releases updated versions predictably every 3 months.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installing a Vue.js Desktop App Using Node.js and Electron

Hi, I have both VUE CLI and Node.js installed and I want to install this task board. Although I don't expect this to go fast, I'm hoping someone can help me get the task board setup and installed on my server ? (8 Replies)
Discussion started by: MaxtheCat
8 Replies

2. UNIX Desktop Questions & Answers

GNOME Desktop - Setting missing from dconf-editor?

Hello All, Last night I installed OpenSuSE 12.1 (i586) on a HP Mini 110 laptop. And I selected GNOME as my Desktop during install... So I was trying to customize some things about the desktop, for example adding the Maximize/Minimize/Close options to the titlebar of a window. I did this... (2 Replies)
Discussion started by: mrm5102
2 Replies

3. UNIX Desktop Questions & Answers

How to associate files with app.? In GNOME.

Howdy! Using GNOME: gnome-terminal 2.18.2 here. QUESTION: How do I associate *txt files to a launcher object I created for Vim on my Desktop? Let's call it "MyVimLauncher". It starts Vim without any files loaded when I click on it. BUT, when I right-click "myfile.txt" to get the menu item... (1 Reply)
Discussion started by: Svenus
1 Replies

4. Shell Programming and Scripting

Backup & restore Gnome Desktop and all settings in Gnome

Hi I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies

5. Solaris

Persistent Security Banner on Gnome Desktop

I'm looking for options for displaying a persistent, security banner on a Solaris 10 workstation running JDS that would display at the top of each workspace for all users, have the option to change the color and the capability to add text to the banner. The company I work for has used JEDI for... (5 Replies)
Discussion started by: ArizonaTraveler
5 Replies

6. SuSE

SLED 10.2 Default gnome desktop generation

Hi! Does anyone know where to alter the default gnome setup that SLED 10.2 does? I work for a big company and we have a huge issue with SLED adding the "main-menu" gnome panel applet thingie.... /opt/gnome/lib/gnome-main-menu/main-menu Is there any way to exchange this process for ex the... (0 Replies)
Discussion started by: Esaia
0 Replies

7. UNIX for Dummies Questions & Answers

Umask, in Desktop(gnome)

I want user, have umask 007, i just add in .bashrc and working, but our user using GDM for login, so I just add umask in /etc/profile. Is ther other way to put umask than in /etc/profile if using GDM? How to make .bash_profile with our define(default with my setting). Thank you. (1 Reply)
Discussion started by: blesets
1 Replies

8. UNIX for Advanced & Expert Users

Gnome desktop crash log

Hi All, When ever gnome desktop crashes, is it write errors to any log files? if yes please let me know log file name and path for the same. Thanks in advance for your inputs. Regards Bachegowda (0 Replies)
Discussion started by: bache_gowda
0 Replies

Featured Tech Videos