- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Unable to Grahpic interface
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 03:07 PM
07-18-2005 03:07 PM
I have a problem in starting the graphic interface IN REDHAT LINUX 9
My requiremnet is to get the same grhic display in the remote
Steps I have done
1)Login to the remote linux machine using
telnet
2)Exported the display with
export DISPLAY=192.8.9.10:0.0
3)Startx
But the following error flases
root@wiplx15 root]# startx
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- X server log file: /var/log/XFree86.0.log
- Kernel log file: /var/log/messages
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.
Can anybody help me in this matter
Thanks
Binu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 03:14 PM
07-18-2005 03:14 PM
Re: Unable to Grahpic interface
I believe there is one X server already running in the REMOTE machine which occupies the 0 display. You have to start X server in 1st display, try this:
startx -- :1
which should launch X server in first display, let us know how it goes.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:04 PM
07-18-2005 04:04 PM
Re: Unable to Grahpic interface
This time error is different
root@wiplx15 root]# export DISPLAY=192.6.82.224:0.0
[root@wiplx15 root]# startx -- :1
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
Using authority file /root/.Xauthority
Writing authority file /root/.Xauthority
XFree86 Version 4.3.0 (Red Hat Linux 9 release: 4.3.0-2.90.43)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-2.ELsmp i686 [ELF]
Build Date: 07 November 2003
Build Host: porky.devel.redhat.com
Before reporting any problems, please make sure you are using the most
recent XFree86 packages available from Red Hat by checking for updates
at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
tool. If you still encounter problems, please file bug reports in the
XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com
Module Loader present
OS Kernel: Linux version 2.4.20-8smp (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Thu Mar 13 17:45:54 EST 2003 PF
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.1.log", Time: Tue Jul 19 06:00:41 2005
(==) Using config file: "/etc/X11/XF86Config"
SESSION_MANAGER=local/wiplx15:/tmp/.ICE-unix/6471
AUDIT: Tue Jul 19 06:01:14 2005: 6457 X: client 5 rejected from local host
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Unable to open desktop file applications:///Office/redhat-word-processor.desktop for panel launcher: Error reading file 'applications:///Office/redhat-word-processor.desktop': File not found
Unable to open desktop file applications:///Office/redhat-presentations.desktop for panel launcher: Error reading file 'applications:///Office/redhat-presentations.desktop': File not found
Unable to open desktop file applications:///Office/redhat-spreadsheet.desktop for panel launcher: Error reading file 'applications:///Office/redhat-spreadsheet.desktop': File not found
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:07 PM
07-18-2005 04:07 PM
Re: Unable to Grahpic interface
on the server: xhost +
on the display machine: X -once -query
the xhost command gives permission for anyone to access the graphics. Of course you like to narrow this down.
The X command makes contact and delivers the graphics to screen 1 (access with ctrl-alt-F8)
greetzz
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:09 PM
07-18-2005 04:09 PM
Re: Unable to Grahpic interface
I think the local machine (from where you start the telnet client) is not configured to allow access from the remote machine. Before doing telnet to the remote machine add the remote machine entry as follows:
xhost +remotemachineip
you can also use remote machine name instead of ip address. then do telnet and startx and this time you should be able to get the X. otherwise post the logs
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:21 PM
07-18-2005 04:21 PM
Re: Unable to Grahpic interface
Where is this .xhost file located
is it default or shall I make one
Is it .xhosts or .xhost
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:26 PM
07-18-2005 04:26 PM
Re: Unable to Grahpic interface
Are you trying to start a graphical interface on your local machine (the one you telnet'd from), or the server (the one you telnet'd too) ?
If you are trying to start a graphical session on your local machine, this is not the way to do it. You need to start he XServer on your local machine, locally.
If you are trying to start a graphical session on the remote server, then why are you setting DISPLAY?
If you just want to open an XClient on your local XServer, then why are you using 'startx' ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:26 PM
07-18-2005 04:26 PM
Re: Unable to Grahpic interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:29 PM
07-18-2005 04:29 PM
Re: Unable to Grahpic interface
there are .xhosts file i heard of (may be somebody else can shed light on this). xhost i referred is a program which gives permission for remote X server to use local display.
exact command line is: /usr/X11R6/bin/xhost +hostname
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:45 PM
07-18-2005 04:45 PM
Re: Unable to Grahpic interface
Hope I am clear for this question
Are you trying to start a graphical interface on your local machine (the one you telnet'd from), or the server (the one you telnet'd too) ?
1)Iam giving a telnet from a windos machine to a linux machine
2)Then exporting the display with the ip address of the windows machine
3)then doing a startx on the linux machine
I should get the graphics interface of teh linux machine right ???
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:52 PM
07-18-2005 04:52 PM
Re: Unable to Grahpic interface
By the same token, you should probably ensure that there isn't already a GUI running. Use the following to check:
netstat -ntlp | grep 5900
If that returns nothing, then there's no GUI, and you're free to 'startx'.
If you want a GUI to start every time the server starts, then there are better methods (i.e. changing the default INIT level to 5 by modifying '/etc/inittab').
Anyway, try this, and see if you get any errors (you shouldn't).
That being said, if you start the GUI on the console, how are you accessing it? You have direct access don't you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 04:53 PM
07-18-2005 04:53 PM
Re: Unable to Grahpic interface
oops, thats not at all possible. windows does not understand X11 protocols so no display will be available on windows.
you need to run ReflectionX or cygwin which will run on windows server. Make it query the linux server and you should be on.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:11 PM
07-18-2005 05:11 PM
Re: Unable to Grahpic interface
Can I run a telnet in command mode and
and run startx ..Is this possible
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:17 PM
07-18-2005 05:17 PM
Solutionnetstat -ntlp | grep 6000
5900 is for VNC, and the cool way that the XOrg X implementation can use X/Vnc nativly.
Yes, you can launch the GUI on the Linux box (on the Linux box console) from a telnet session.
You can't launch a GUI on your local PC via a telnet session.
If you get an X implementation for Windows (like Gopi's suggestion, hummingbird reflection, or a Cygwin XFree (or any one of countless other X server implementations for Windows)), you can then launch X applications (clients) from the linux box to display on your PC's X server from a telnet session (after you've done the 'export DISPLAY=' command).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 05:56 PM
07-18-2005 05:56 PM
Re: Unable to Grahpic interface
Thanks for the info
Also I have a nis setup here and the home directory is exported from a different system .The problem is I will be able login using root in the grahic console
But if I try to login using the nis user
It used the flash the following error
Please contact system administrator for the following error
Could not lock the file /home/binuv/.gconf-test-locking-file"
this indicated that there is aproblem with your operating system configuration.If you have an nfs -mounted home directory eithere the client or the server may be setup incorrectly ..See the rpc.statd and rpc.locld documenttation .A common cause of this error is that the nfslocl service has been dusabled .The error was no locks available"(errno =37)..
Can anybody through some light on this
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 06:06 PM
07-18-2005 06:06 PM
Re: Unable to Grahpic interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 06:06 PM
07-18-2005 06:06 PM
Re: Unable to Grahpic interface
this problem might occur if the directory is exported as read only. otherwise the lock file already exists (some other application still using it) so the new instance of the application can not lock that file resulting in this error.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 06:16 PM
07-18-2005 06:16 PM
Re: Unable to Grahpic interface
The filesystem is not read only and if
I login as root it works fine with out any problem
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 06:28 PM
07-18-2005 06:28 PM
Re: Unable to Grahpic interface
Then the problem is the exported file system is owned by some other user id (check ls -l output on the machine where NFS file system is mounted).
try to give same user id that is presented in the server for the client machine also.
The other reason, the particular file which is giving error is owned by another user other than the one who is logging in
Regards,
Gopi