Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-31 Thread Yawei Guo
Hi Miranda, I had not killed my vnc server and restarting it each time I changed my xstartup. I thought that would reset xstartup to the original one. And I did not understand how vnc server work. Now gnome session appears after I kill and restart my vnc server. Thank you very much. You are so nic

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-29 Thread Miranda Hawarden-Ogata
On 2014/03/28 22:00, Yawei Guo wrote: > Hi Miranda, > > The attached files are xtartup and my log file. > > The following is xstartup. > #!/bin/sh > > # Uncomment the following two lines for normal desktop: > # unset SESSION_MANAGER > # exec /etc/X11/xinit/xinitrc > > [ -x /etc/vnc/xstartup ] && e

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-29 Thread Yawei Guo
Hi Miranda, The attached files are xtartup and my log file. The following is xstartup. #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HO

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-28 Thread Miranda Hawarden-Ogata
On 2014/03/28 18:48, Yawei Guo wrote: > Hi Miranda, thank you very much. > > But it does not work. I did select KDE in optional packages when I > installed RHEL 5.8 x86_64. And I did NOT select KDE when I installed RHEL > 6.1 x86_64. Do you think this is the issue? > > > Best Regards, > Yawei > >

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-28 Thread Yawei Guo
Hi Miranda, thank you very much. But it does not work. I did select KDE in optional packages when I installed RHEL 5.8 x86_64. And I did NOT select KDE when I installed RHEL 6.1 x86_64. Do you think this is the issue? Best Regards, Yawei 2014-03-27 15:14 GMT+08:00 Miranda Hawarden-Ogata : >

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-27 Thread Miranda Hawarden-Ogata
On 2014/03/26 21:07, Miranda Hawarden-Ogata wrote: > > If you want kde, use "startkde" in the file. For gnome, use > "gnome-session &". Oops, make that "startkde &" Also, if you reference a desktop that isn't installed, vncserver will either call the box's default or give you a desktop-less gre

Re: [CentOS] vncserver does not start gnome-sessioin automatically

2014-03-27 Thread Miranda Hawarden-Ogata
On 2014/03/26 17:26, Yawei Guo wrote: > I installed RHEL 5.8 x86_64 today. To my surprise, when I connect it using > vnc viewer it does not start gnome-session automatically. > > The last line in .vnc/xstartup is twm& > > Before I removed RHEL 6.1 a few days ago, vncserver always starts > gnome-ses

[CentOS] vncserver does not start gnome-sessioin automatically

2014-03-26 Thread Yawei Guo
I installed RHEL 5.8 x86_64 today. To my surprise, when I connect it using vnc viewer it does not start gnome-session automatically. The last line in .vnc/xstartup is twm& Before I removed RHEL 6.1 a few days ago, vncserver always starts gnome-session every time I open vncviewer. Is that related