LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-05-2003, 10:08 AM   #1
MrMoke
LQ Newbie
 
Registered: Sep 2003
Location: Austin, TX
Distribution: RedHat & Fedora3
Posts: 13

Rep: Reputation: 0
Unhappy Red Hat 9 and VNC Server - How To ?


I have a newly installed and up2date patched version of RH9 to be used for a c++ programming class. I like to use VNC through a VPN tunnel to get back to my W compies, and have been having a big problem getting any version of VNC server working on RH. The server is working to an extent. I've got the server running, and can connect, but get the infamous gray screen and X combo, rather that an x-window desktop. I've seen numerous descriptions of how to do this with earlier versions of RH, but nothing specific to RH9.

I'm hoping that somebody out there has developed a shell script for properly configuring the desktop, and setting VNC to autostart on boot.

I already admit Newbie status, so any help would be greatly appreciated. If I waste much more time on this, my other classes start to suffer.


TIA
 
Old 09-08-2003, 01:22 AM   #2
hoyt
Member
 
Registered: Aug 2003
Location: East Caost, USA
Distribution: Mageia
Posts: 46

Rep: Reputation: 18
Look in ~/.vnc/xstartup.
Mine looks like:
#!/bin/sh

# Red Hat Linux VNC session startup script
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

Want it to start the service at boot?

chkconfig vncserver on

will do it.
 
Old 09-09-2003, 09:44 AM   #3
MrMoke
LQ Newbie
 
Registered: Sep 2003
Location: Austin, TX
Distribution: RedHat & Fedora3
Posts: 13

Original Poster
Rep: Reputation: 0
Cool

Thanks for the response. I knew it was something simple that I was missing. It would let me log on, but show me a gray screen/X cursor. I found that changing remote login from Standard to Graphical in System Settings/Login Screen, and then restarting vncserver made it work.

The tip on auto start is also helpful. I've found that the vnc session starts with the characteristics of the current user, so wonder if starting on boot will start a session as root? The unix version apparently doesn't give you the option of logging out of the session to a workstation userid prompt like the Windoze versions do. My systems are firewalled, but I don't much care for the prospect of a wide-open root session running 24x7 under VNC's marginal security.

I see RedHat 10 in your Sig. You must really be a glutton for punishment

Last edited by MrMoke; 09-09-2003 at 09:45 AM.
 
  


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
VNC Server & Red Hat 8 - Blank Screen rdeckard Linux - Software 7 12-20-2011 11:13 AM
installing a vnc server on red hat naijaguy Linux - Software 1 08-12-2004 12:44 AM
VNC Server on Red Hat 6.2? Jestrik Linux - Networking 1 03-22-2004 08:01 PM
VNC Services on Red Hat 7.3 mustang05 Linux - General 1 01-15-2004 09:40 PM
VNC on Red Hat 9 khi Linux - Newbie 8 10-26-2003 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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