VNC not working

Ryan Golhar golharam at umdnj.edu
Wed Aug 18 18:19:36 UTC 2004


Hi Chris,

Do you mean the complete GUI interface you see as if you were sitting
locally at the machine?  

In your home directory, you should have a subdirectory called .vnc with
a file called xstartup.  You need to modify it to start either GNOME or
KDE.  Here is what mine looks like:

--START ~/.vnc/xstartup--
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# 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" &

To use GNOME, uncomment the next line
gnome-session &

To use KDE, comment the previous line and uncomment the next
# startkde &
--END ~/.vnc/xstartup--

Ryan


-----Original Message-----
From: kenwardc [mailto:kenwardc at tgis.co.uk] 
Sent: Wednesday, August 18, 2004 2:00 PM
To: golharam at umdnj.edu; 'General Red Hat Linux discussion list'
Subject: RE: VNC not working


Hey Ryan

You'll see from my previous response that what I'm looking for is the
complete GUI to remote. I didn't get that the way I just did the
login... do you know whether it's possible?

Regards
Chris

> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Ryan Golhar
> Sent: 18 August 2004 18:32
> To: 'General Red Hat Linux discussion list'
> Subject: RE: VNC not working
>
> If you start VNC server as a service, what user will it be run as?  
> And, does that user have an entry in /etc/passwd that specifies the 
> shell correctly and not as /sbin/nologin, or /bin/false.
>
> It makes sense to start VNC server as a real user as below...
>
> Ryan
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Reuben D. 
> Budiardja
> Sent: Wednesday, August 18, 2004 1:16 PM
> To: General Red Hat Linux discussion list
> Subject: Re: VNC not working
>
>
> On Wednesday 18 August 2004 11:50, kenwardc wrote:
> > Hi Wade
> >
> > Nope! Got in using telnet. Went to /etc/rc.d/rc3.d and manually 
> > started the service. Said OK. Went to vnc viewer and
> instantly got the
>
> > "Failed..." message again. Had a look at firewall and all
> seems fine
> > in the log.
>
> I never start vncserver as service. So elaborating what Wade was 
> saying:
>
> 1. login to box as your own user
> 2. Type 'vncserver' and put in new password for VNC session when 
> asked. It
> will then tell you the X display number for that session,
> assuming you're the first one who tried vncserver in your
> box, it will be 1
>
> 3. From another machine that has vncviewer, point the viewer to <your 
> vnc_server IP>:1 put in password.
>
> HTH
>
> RDB
>
> --
> Reuben D. Budiardja
> Dept. Physics and Astronomy
> University of Tennesse, Knoxville, TN
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++
> N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+
> b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
> ------END GEEK CODE BLOCK------
>
>
> --
> redhat-list mailing list
> unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>



---
All messages scanned by AVG 7.0 Anti-Virus scanner and TGIS Anti-Spam
Firewall.





More information about the redhat-list mailing list