LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-10-2008, 05:52 AM   #1
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
Unhappy 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
 
Old 11-11-2008, 08:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kingston View Post
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.
 
Old 11-11-2008, 11:35 PM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
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
 
Old 11-14-2008, 06:34 AM   #4
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Plz Help me
 
Old 11-14-2008, 07:58 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kingston View Post
Plz Help me
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.
 
Old 11-20-2008, 06:20 AM   #6
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Thanks Tbone.

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.

Thanks for your help

Kingston. S
 
Old 03-25-2009, 06:14 AM   #7
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Hi all

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

Regards

Kingston. S
 
Old 04-07-2009, 02:05 AM   #8
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
hi All

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.
 
Old 04-07-2009, 04:00 AM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
======"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.
 
Old 04-07-2009, 11:23 PM   #10
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
Quote:
Originally Posted by malekmustaq View Post
======"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.
 
Old 04-07-2009, 11:24 PM   #11
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
thanks yaar for your valuable information....i will do this and observe.
 
Old 04-29-2009, 02:36 AM   #12
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215

Original Poster
Blog Entries: 1

Rep: Reputation: 21
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
 
Old 04-29-2009, 10:21 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kingston View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL Server 5.1 rlogin dnalex12 Linux - Newbie 0 09-22-2008 02:53 AM
How to check uptime of all applications running in solris server rajaniyer123 Solaris / OpenSolaris 1 10-12-2007 11:37 PM
Unable to do ftp and rlogin from Sun OS to Redhat Linux 5.0 Jojo_CFT Linux - Networking 0 09-26-2007 04:43 AM
set up the rlogin daemon & redhat's super-server adilturbo Linux - Networking 4 10-18-2006 06:08 PM
Connect Sun Solaris Ultra5 workstation to Linux server? EnderEd Linux - Networking 1 04-20-2004 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration