#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
kde &

actually,

( kde ; killall Xvnc ) &

starts kde and then kills the X session if you log out of kde.
 
> Ok, found the file. Sorry about that I'm still kind of new.
> 
> Here's what the file contained:
> #!/bin/sh
> 
> xrdb $HOME/.Xresources
> xsetroot -solid grey
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> twm &
> 
> 
> How would I get this to load KDE?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Miller
> Sent: April 8, 2002 2:31 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Question on viewing the desktop
> 
> 
> On Mon, 8 Apr 2002, Mithrilhall2000 wrote:
> 
> > Where do you find "~/.vnc/xstartup"? I have looked but cannot find it.
> 
> Are you a unix person?  '~' is your home directory.  Try this:
> 
> cd ~
> cd .vnc
> ls
> 
> do you see xstartup?
> 
> Should see it this way too:
> 
> ls ~/.vnc/xstartup
> 
> Mike
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Beerse, Corni
> > Sent: April 8, 2002 2:12 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Question on viewing the desktop
> >
> >
> > > -----Original Message-----
> > > When I start vncviewer from Windows XP and connect to my Mandrake 
> > > 8.1 box I get the grey screen with the X as well as a shell window 
> > > open. How can I get the desktop to open inplace of the shell window?
> >
> > THE desktop of the console cannot be captured (with vnc). There are 2 
> > general routes to get a desktop on your vncviewer window:
> >
> > Edit ~/.vnc/xstartup to start a window manager. By default `twm` is 
> > started, this can be changed to any other window manager or desktop 
> > manager.
> >
> > The other option is to setup a vnc-login construction as on 
> > http://www.sourcecodecorner.com/articles/vnc/linux.asp. This will give
> 
> > you about the same session as at the console.
> >
> > Success
> > CBee
> >
> >
> > >
> > > Thanks,
> > > Mithrilhall
> > >
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > > --------------------------------------------------------------------
> > > -
> > > To unsubscribe, mail [EMAIL PROTECTED] with the line:
> > > 'unsubscribe vnc-list' in the message BODY See also:
> > > http://www.uk.research.att.com/vnc/intouch.html
> > >
> ---------------------------------------------------------------------
> > ---------------------------------------------------------------------
> > To unsubscribe, mail [EMAIL PROTECTED] with the line: 
> > 'unsubscribe vnc-list' in the message BODY See also: 
> > http://www.uk.research.att.com/vnc/intouch.html
> > ---------------------------------------------------------------------
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > ---------------------------------------------------------------------
> > To unsubscribe, mail [EMAIL PROTECTED] with the line: 
> > 'unsubscribe vnc-list' in the message BODY See also: 
> > http://www.uk.research.att.com/vnc/intouch.html
> > ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY See also:
> http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to