LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 06: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, 09:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
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-12-2008, 12:35 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Original Poster
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 07:33 AM. Reason: After R & D
 
Old 11-14-2008, 07:34 AM   #4
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

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

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
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, 07:20 AM   #6
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Original Poster
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, 07:14 AM   #7
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Original Poster
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, 03:05 AM   #8
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Original Poster
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, 05:00 AM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
======"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-08-2009, 12:23 AM   #10
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Original Poster
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-08-2009, 12:24 AM   #11
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

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

Original Poster
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, 11:21 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:53 AM
How to check uptime of all applications running in solris server rajaniyer123 Solaris / OpenSolaris 1 10-13-2007 12:37 AM
Unable to do ftp and rlogin from Sun OS to Redhat Linux 5.0 Jojo_CFT Linux - Networking 0 09-26-2007 05:43 AM
set up the rlogin daemon & redhat's super-server adilturbo Linux - Networking 4 10-18-2006 07:08 PM
Connect Sun Solaris Ultra5 workstation to Linux server? EnderEd Linux - Networking 1 04-20-2004 10:53 AM


All times are GMT -5. The time now is 01:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration