Hi list I?m in the process of switching from a RedHat EL 4 to CentOS 5, and run into some problems I?m trying to open a X session to my Centos box, and got an error message stating that /usr/X11R6/bin/xterm is not found. Surprisingly, /usr/X11R6/bin is almost empty, as compared to my RedHat box., and I am 100% sure I have selected X during the installation Linking /bin/xterm to /usr/X11/bin/xterm allows me to start a session Question: is this the right thing to do on CentOS, or is this just a workaround? Cheers Patrick Derwael WEB And Co sprl Rue Hubert Larock, 20 B - 4280 Poucet T?l. : 019/63.64.35 Fax : 019/65.75.02 Mob : 0479/80.50.79 TVA. BE 0.877.467.641 <http://www.webandco.be/> http://www.webandco.be <http://www.webandco.be/default/conditions-generales.pdf> Nos Conditions g?n?rales ----------------------------------------- <http://www.webandco.be/reseau/audit-securite-informatique.asp> ICT & Security management <http://www.webandco.be/developpement/creation-site-web-internet.asp> Cr?ation, <http://www.webandco.be/developpement/maintenance-site-web-internet.asp> gestion et <http://www.webandco.be/referencement/accueil.asp> r?f?rencement de sites Web <http://www.webandco.be/hebergement/accueil.asp> H?bergement et <http://www.webandco.be/domaine/accueil.asp> noms de domaine -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070621/324f1477/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2815 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070621/324f1477/attachment-0001.bin>
On Thu, Jun 21, 2007 at 11:00:25PM +0200, Web and Co sprl - Patrick DERWAEL wrote:> Hi list> > > > I?m in the process of switching from a RedHat EL 4 to CentOS 5, and run into > some problems> > I?m trying to open a X session to my Centos box, and got an error message > stating that /usr/X11R6/bin/xterm is not found. > > Surprisingly, /usr/X11R6/bin is almost empty, as compared to my RedHat box., > and I am 100% sure I have selected X during the installation/usr/X11R6 is deprecated, things have moved to /usr/bin, /usr/sbin, /usr/lib, etc..> Linking /bin/xterm to /usr/X11/bin/xterm allows me to start a sessionxterm is now in /usr/bin/xterm. yum install xterm.> Question: is this the right thing to do on CentOS, or is this just a > workaround?The right thing to do is set PATH as appropriate and then simply use xterm. Why are you using an absolute path? -- lfr 0/0 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070621/e29a29b6/attachment-0001.sig>
Luciano, The reason why I'm using the absolute is simply because the default X settings (Starnet X-Win32)are setup that way, and as it works fine on Red Hat... Anyhow, I now know what to do !! Thanks a lot for the quick answer Cheers On Thu, June 21, 2007 23:27, Luciano Rocha said:> On Thu, Jun 21, 2007 at 11:00:25PM +0200, Web and Co sprl - Patrick > DERWAEL wrote: >> Hi list>> >> >> >> I?m in the process of switching from a RedHat EL 4 to CentOS 5, and run >> into >> some problems>> >> I?m trying to open a X session to my Centos box, and got an error >> message >> stating that /usr/X11R6/bin/xterm is not found. >> >> Surprisingly, /usr/X11R6/bin is almost empty, as compared to my RedHat >> box., >> and I am 100% sure I have selected X during the installation > > /usr/X11R6 is deprecated, things have moved to /usr/bin, /usr/sbin, > /usr/lib, etc.. > >> Linking /bin/xterm to /usr/X11/bin/xterm allows me to start a session > > xterm is now in /usr/bin/xterm. yum install xterm. > >> Question: is this the right thing to do on CentOS, or is this just a >> workaround? > > The right thing to do is set PATH as appropriate and then simply use > xterm. Why are you using an absolute path? > > -- > lfr > 0/0 > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Web and Co sprl Patrick Derwael Rue Hubert Larock, 20 4280 Hannut Tel: 019/63.64.35 Fax: 019/65.75.02 GSM: 0479/80.50.79 email: pderwael at webandco.be http://www.webandco.be