can not start x server.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users can not start x server.
# 1  
Old 02-20-2009
can not start x server.

Hi to all,

i cant start my x server.
I use putty and xming.
When i type xclock i get no promt back and i must type ctrl+c to get promt again.
start x is giving me:
Code:
[oracle@dell dbs]$ startx


Fatal server error:
PAM authentication failed, cannot start X server.
        Perhaps you do not have console ownership?


Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit:  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console

DISPLAY is set to ip:0.0
where ip is ip of my pc
what to do ?
how can i start my x?
# 2  
Old 02-20-2009
Quote:
When i type xclock i get no promt back and i must type ctrl+c to get promt again
And no more xclock...
Normal, why didnt you type xclock& ?

What do you call your Xserver? (your pc?)
# 3  
Old 02-20-2009
Quote:
Originally Posted by vbe
And no more xclock...
Normal, why didnt you type xclock& ?

What do you call your Xserver? (your pc?)
Yes, my pc. i guess Smilie
In the mean time i changed ip in display variable, my pc have several ip's
because of several different subnets in which other servers are....
i typed now this , with new ip in display :
Code:
[oracle@dell ~]$ xclock&
[1] 5726
[oracle@dell ~]$ Xlib: connection to "194.152.225.32:0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: 194.152.225.32:0.0

# 4  
Old 02-20-2009
The thing is Im no PC specialist...

I use a commercial product (WRQ Reflection X) so I dont have to fight with configuration problems until you ar mad enough to have 4 X server sessions ( Ive stopped now - hard work...)

So I give you my UNIX version of what is happening and I let you fight with your PC to solve your configuration problem:
Code:
connection to "194.152.225.32:0.0" refused by server

Means you have to let your server to authorise whoever as a client:
The program for that is:

XHOST(1) X Version 11 XHOST(1)
Release 6.1

NAME
xhost - server access control program for X

SYNOPSIS
xhost [[+-]name ...]

Your hardest task will be to find what is your DISPLAY...

Since you use putty and xming, I believe the software could be started automatically by putty ( transparent for the user ) because I see here some DBAs connecting to some box for and install and tehy get a GUI to open
So try to connect yourself on another box using putty and then xclock& and see if it displays on your screen or not

Good luck
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

Good afternoon I need your help please. There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ? Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies

2. Red Hat

Re-start of RHEL server

I had a query that should the RHEL servers in production environment be re-started say every 2-3 months so that the cache is cleared? I hope, my question is clear that should the Red Hat Linux servers be restarted periodically. Please revert with the reply to my query. Regards (17 Replies)
Discussion started by: RHCE
17 Replies

3. Linux

How to start pc automatically when power comes (Server)?

Can anyone tell me how to start pc automatically when power comes, here I just want to start server automatically, on boot, my server starts automatically because I have written some startup commands in rc.local file but if power fails, then how can I boot automatically (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

4. UNIX for Advanced & Expert Users

Get an error while trying to start DNS server

Hi Guys, I am trying to configure DNS on ESX server. Everything done but when I am trying to start the DNS, it gives me an error # service named restart Stopping named: Starting named: Error in named configuration: /etc/named.conf:42: when using 'view' statements, all zones must be... (7 Replies)
Discussion started by: Srvesh
7 Replies

5. Solaris

To Shut down the server. Do the Maintainance and Start Up the server

Hello All I just want to know how to Shut Down the Solaris Machines( Servers ) for Maintainance and then Start Up the Machines ( Servers ) . I think I will have to Log In as root to do that . Also how do i Check if all the services running on that server before shut down are running... (6 Replies)
Discussion started by: supercops
6 Replies

6. UNIX for Dummies Questions & Answers

How to start a mailx server ?

I have a problem with my unix server. Can anyone please teach me how to start the mailx running... . (16 Replies)
Discussion started by: filthymonk
16 Replies

7. Shell Programming and Scripting

Automate server start up

Hi, I want to automate process of making server up and down. For us making server up and down is just to go to particular directory in user directories (in Unix box) and running start and stop shell script . We have to run the same things on 5 users on same server . Can anybody suggest... (1 Reply)
Discussion started by: shekhar_ssm
1 Replies

8. HP-UX

Can't start the cpp server in hpux

Hello, I have writtern the makefile and successfully produce the server exe. But, it doesn't run in hpux11.11 server. compile and link option: /opt/aCC/bin/aCC -Aa -Wl,+s /cc/smc3/root/development/auto_activation/AA_global/obj/smc3/aa_config.o... (0 Replies)
Discussion started by: onlyforforum
0 Replies

9. UNIX for Dummies Questions & Answers

Can't start nfs server!

ok i am pretty new i am thinking this maybe a dns situatioan i dunno.... i am trying to start nfs server i get the followin error: mountd svc_tli create could not bind to requested address: address mismatch svc_create: svc_tli_create failed /usr/lib/nfs/nfsd : tli_bind to wrong address... (14 Replies)
Discussion started by: rmuhammad
14 Replies

10. IP Networking

the bind server can't start

I use the "rndc start" to start the bind server . but the server can't be started. it says "connection refused" I don't know what happened,and how to resolve it. Would somebody can help me? (2 Replies)
Discussion started by: cnyifeng
2 Replies
Login or Register to Ask a Question