LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-28-2005, 03:46 PM   #1
mali
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
vncserver problem on RH Enterprise AS 3


Hi everyone,

Sorry if this was brought up before, but I tried searching for it and didn't find anyone having the same problem like mine.
Well, i installed realVNC. I configured it, and was having problems when connect to vncserver from another box thru vncviewer. I was getting a gray screen. So I found how to fix that. Changed the xstartup script for each user to the following:

Code:
#####################  xstartup  
#!/bin/sh
PATH=$PATH:/usr/X11R6/bin/
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc


#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
After I did this, it worked AWSOME!
I love how vnc works btw linux systems. Much, much faster then btw windows.
Anyway, I assined the static IP address to the linux box where I installed realVNC, and this morning was having network problems. There was a conflict with IP addresses and it kept disconnecting me from vncviewer (from windows box to the linux where i installed realVNC) Someone got assigned my IP address by DHCP server, so I had to change my IP address. I did that, rebooted the comp, and when i tried to connect to linux thru viewer on display 1, which is started by root, i got a gray window. I checked the xstartup script, but it's fine. There's no difference. When I connect on display 2 as a user2 (not root), it works fine. Also, display 3 as user3 works fine. Only when root starts vncserver it doesn't work.

Can anyone help me out?

I could be called newbie, I guess, when it comes to linux. I'm familiar with it, but probably dont know 10% of what other ppl here know about linux, so go easy on me

Thanks everyone for help.
 
Old 03-01-2005, 08:07 AM   #2
mali
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
nobody knows??

well, did anyone get this thing working (maybe some other way)?? if yes, how??
 
Old 03-24-2005, 11:43 PM   #3
apeg
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
mali

a few months later, i am not writing this to provide you with your answer (beacause i dont know) but to thank you for your solution to the gray screen... i was plagging me for days untill i found this post.

Thanks again
 
Old 03-31-2005, 05:01 PM   #4
mali
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
you're welcome...glad i could help

i solved this problem by upgrading to RHEL AS 4. That version of linux has vnc preinstalled. I never checked if RHEL AS 3 had preinstalled vnc

anyway...enjoy the power of vnc now
 
  


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
enterprise 4 boot problem mid_nightslover Linux - Enterprise 1 09-26-2005 07:49 PM
Robust vncserver startup file (rc.vncserver) arobinson74 Slackware 4 05-14-2005 05:33 AM
Vncserver + Kde3.2 = problem Punker51 Linux - Software 5 08-05-2004 10:28 PM
problem with vncserver in Red Hat 8.0 rodda Linux - Software 14 03-12-2003 04:28 PM
Problem starting vncserver bunghole Linux - Networking 2 10-29-2001 03:53 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:04 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