[SOLVED] cannot connect to x server in sun solris from linux through rlogin
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
cannot connect to x server in sun solris from linux through rlogin
i had a sun solaris 8 server...i just tried to connect to my sun solaris through rlogin from redhat enterprise linux 5.0...but i am getting "cannot connect to x server" while i am opening a particular application...how to sort out this issue...i am new to linux as well as to sun solaris. i dont have much idea. plz give me the step by step procedure to solve this issue
i had a sun solaris 8 server...i just tried to connect to my sun solaris through rlogin from redhat enterprise linux 5.0...but i am getting "cannot connect to x server" while i am opening a particular application...how to sort out this issue...i am new to linux as well as to sun solaris. i dont have much idea. plz give me the step by step procedure to solve this issue
First, you need to enable Xwindows listening on your workstation. Normally, X runs with a "-nolisten" parameter. Don't know where off the top of my head to look for that in RedHat, but since you're running RHEL5, a quick call to support or look in their knowledgebase will tell you.
Second, after you get X restarted without the -nolisten parameter, you have to let the remote box start sessions on your server. As root, type in "xhost <ip address of remote system>", or (less preferred..) "xhost +".
Log in to the remote server. Type in "export DISPLAY=<ip address of your redhat workstation>:0". Then run whatever you'd like.
Thanks Mr. TBone. I will try this and i will come to you back.
Kingston.
hi tbone
Actually i am getting the following error msg:
xterm xt error: can't open display rws2:0.0
where rws2 is my linux work station. And in /etc/gdm/custom.conf file,one line is there that is DisallowTCP:false.
Is there anything to do here. Plz help me.
Last edited by kingston; 11-14-2008 at 06:33 AM.
Reason: After R & D
I did help you, but you didn't read the instructions. You're getting the "can't open display", because local X is not set to listen for incoming connections. See step one of my first reply.
And please do not send follow-up mails, asking for more help, when someone doesn't answer you quickly enough to suit you.
I solved the issue with your help. I had edited the /etc/gdm/custom.conf file. In security section i made disallowtp=false. After that i have restarted the x server by switching into runlevel 3. Then i came to runlevel 5. Now it is working.
I am using rhel 5, sun 5.10 workstations on my network and i am using reflection x software to take the graphical console of my linux,solaris workstations. In reflection x, especially in broadcast option i am not getting the hostname of linux workstations. But i am getting solaris workstations. In /etc/gdm/custom.conf i made the following entries.
[xdmcp]
Enable=true
Then i have restarted the display manager. ( Gnome ) Means just i have changed the runlevel from 5 to 3, again i came back to the runlevel 5. But still i am not getting the hostname on the reflectionx broadcast option.
I need help
I am using RHEL 5 on one workstation which is having 16 GB ram and amd 64 bit processor. How much space can i alot for the swap file system. I heard that 4 gb is the maximum size of swap file system for 32 bit processor architechture.
======"I am using RHEL 5 on one workstation which is having 16 GB ram and amd 64 bit processor. How much space can i alot for the swap file system. I heard that 4 gb is the maximum size of swap file system for 32 bit processor architechture.
Plz help me."=========
Kingston:
How much space for the swap:
You are running it as a workstation not as a server. A swap file size between 500 Mb and 1.5Gb is enough. Usually an ordinary swap size of 800Mb is not entirely used under normal work load. Your giant 16 GB RAM does not even need a swap file as it is more than enough to accommodate normal space needs. If I had half of your RAM size I would have willingly deleted my "initrd.gz" as it is no longer needed and "swapoff" my swap partition for use to other linux system in the disk.
You may allocate 4GB for swap if you like. But you will later find out that 90% of it is unused. Why? Linux has a very good memory implementation: very efficient.
======"I am using RHEL 5 on one workstation which is having 16 GB ram and amd 64 bit processor. How much space can i alot for the swap file system. I heard that 4 gb is the maximum size of swap file system for 32 bit processor architechture.
Plz help me."=========
Kingston:
How much space for the swap:
You are running it as a workstation not as a server. A swap file size between 500 Mb and 1.5Gb is enough. Usually an ordinary swap size of 800Mb is not entirely used under normal work load. Your giant 16 GB RAM does not even need a swap file as it is more than enough to accommodate normal space needs. If I had half of your RAM size I would have willingly deleted my "initrd.gz" as it is no longer needed and "swapoff" my swap partition for use to other linux system in the disk.
You may allocate 4GB for swap if you like. But you will later find out that 90% of it is unused. Why? Linux has a very good memory implementation: very efficient.
Good luck. Hope this helps.
Thanks yaar for your valuable information...i will do that and observe.
Hi all
I am using a RHEL 5....while i am plugging my pen drive, i am not getting the pen drive icon in the desktop...But i can mount the pen drive through command line interface...i used find the driver from "fdisk -l" command. Then i used to mount that. But my users are not allowed to do these tasks....if they plug the pen drive...they should get the pen drive icon on the desktop window..this is what they want...Plz help me.
Hi all
I am using a RHEL 5....while i am plugging my pen drive, i am not getting the pen drive icon in the desktop...But i can mount the pen drive through command line interface...i used find the driver from "fdisk -l" command. Then i used to mount that. But my users are not allowed to do these tasks....if they plug the pen drive...they should get the pen drive icon on the desktop window..this is what they want...Plz help me.
Thanks & Regards
Kingston
Open new threads for each new question, please. Don't keep tacking on to a thread that's been closed.
Also, you don't say WHAT desktop you're using...and spell out your words.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.