Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Xserver
# 1  
Old 12-06-2007

From my workstation (win XP)I open a telnet session on Linux(Red Hat) server.
When I issue :
[root@server ~]# xclock
I have :
Error: Can't open display:

Then :
[root@server ~]# export DISPLAY=
[root@server ~]# xclock
Error: Can't open display:
Do you have an idea ?

Many thanks.
# 2  
Old 12-06-2007
Well a xserver or something alike (exceed, reflection etc) must be running and accepting connection on
Enjoy linux.
# 3  
Old 12-06-2007
Thank you. It is runing and on the server when I type xclock the clock appears on monitor. How to make server accept connection on ?
# 4  
Old 12-06-2007
Do you know how to stop restart my GNOME Display Manager (GDM) ?

Thank you.
# 5  
Old 12-06-2007
If connecting by telnet you need to set DISPLAY on remote machine and allow it to connect to your local machine by issuing
xhost _addr_
on local machine.
Of course local XServer should listen on port 6000 (i.e. not be started with '-nolisten') and both firewalls [if any] should be suitable configured.

Try also modern way with "ssh -X" -- on Win machines "plink" is equivalent.

# 6  
Old 12-06-2007


1. Cygwin's XWin on your client
2. run putty or plink to provide a tunnel for X
3. run "Xnest :1 -query localhost" on remote machine in ssh session
# 7  
Old 12-07-2007
Originally Posted by odys
allow it to connect to your local machine by issuing
xhost _addr_
on local machine.
local machine ? Is it my PC, my workstation ? Then where to issue
xhost ? In a cmd box ?
Thank you.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Xserver shared library link is gone

I am administering an Xserver v10.6.8 and I updated the ports using Macports self update. I received this error when calling the program R dyld: Library not loaded: /opt/local/lib/libicuuc.48.dylib Referenced from: /opt/local/lib/R/lib/x86_64/libR.dylib Reason: image not found Trace/BPT... (2 Replies)
Discussion started by: godzilla07
2 Replies

2. Solaris

Xserver not display

I have this Xserver not display issues, I try search from the forum but found out it can have different errors from the Xerrors logs. Here I upload and hope admin can help. root@ccs # more Xerrors The loadable module for the display device SUNWast is not installed. Fatal server error:... (1 Reply)
Discussion started by: mailbox80
1 Replies

3. Solaris

Xserver doesn't allow log in

I wanted to modify my Xstarup file so I can have Croatian letters but unfortunately I am unable to log in . What I have done is cp /dev/null /etc/dt/config/Xstartup cat >> /etc/dt/config/Xstartup <<%EOF% keycode 34 = bracketleft braceleft scaron Scaron keycode 35 = bracketright... (8 Replies)
Discussion started by: solaris_user
8 Replies

4. UNIX for Dummies Questions & Answers

Help setting up XServer in Centos 5.4

Hi, After I remove the external video card after setup, Centos 5.4 upon boot cannot start the XServer for the onboard video card. How can I configure XServer to get it working? Machine is a DELL OPTIPLEX 745 (1 Reply)
Discussion started by: mojoman
1 Replies

5. Solaris


I have problem with my V490 server which running on solaris 8. The error show on log file X_mkdir: nosuch file or directory Fatal server error: Failed to establish all listening sockets error (pid 299): server unexpectedly died error (pid 299): server for display :0 cant be started ... (1 Reply)
Discussion started by: shamsul
1 Replies

6. Solaris

xserver problem - hang

Dear When I restart the Xserver it works fine for less than half an hour and throw this error afterward. After setting the display DISPLAY=, I tried to run xclock. After few minutes it throws this error message "X connection to broken (explicit kill or... (0 Replies)
Discussion started by: tanvirscsa
0 Replies

7. UNIX for Dummies Questions & Answers

Looking for recommendations for free Xserver

Hello , im not sure if its the right forum... im sorry if not im working with putty allot , but now I started to work with more graphical applications and im looking for free simple and fast Xserver to remote connection, can someone recommend me if there is something like that ? (3 Replies)
Discussion started by: umen
3 Replies

8. UNIX for Advanced & Expert Users

XServer Fails to start

I've recently patched my AIX box from ML02 to ML06 and somehow along the way the monitor no longer starts up in GUI mode. Running the command xinit gives me the following errros ioctl Bad file Number 1356- Unable to start the X server I've checked the path variables, the monitor, the lai0... (0 Replies)
Discussion started by: mahartle
0 Replies

9. UNIX for Dummies Questions & Answers

Xserver not running in Solaris x86

I have just installed Solaris 10 x86 version on a Compaq Evo desktop station with a Sun 19" SVGA monitor model # CM751U. The desktop has 256MB RAM. The video card is a nVidia Riva TNT2 64. If I do a scanpci command; it returns the card as a nVidia Corporation NV6 (Vanta/Vanta LT) The Xserver... (1 Reply)
Discussion started by: sjteng
1 Replies

10. Solaris

Xserver won't come up on Solaris 8

Hi all, My Ultra 10, running Solaris 8, is giving me problems :( Currently, whenever it boots, the Xserver will not come up, saying "Xserver cannot be started on display 0". I thought this might have something to do with OWconfig, and so poked it a little (moving params onto different... (5 Replies)
Discussion started by: Gravity
5 Replies
Login or Register to Ask a Question