{"id":386,"date":"2009-06-01T14:23:10","date_gmt":"2009-06-01T19:23:10","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=386"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"gnome-desktop-will-not-start-via-the-red-hat-linux-server-console","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=386","title":{"rendered":"Gnome desktop will not start via the Red hat Linux server console."},"content":{"rendered":"<p>I received an error when loggin onto the Gnome desktop via the server console.  The server is running Red Hat Enterprise Linux ver 4. I\u2019m able to logon to the server via the command line without any issue.  <\/p>\n<p>All services were started and in working order.<\/p>\n<p>Below is the error message.<\/p>\n<p>Your session only lasted less than 10 seconds.  If you have logged out yourself, this could mean that there is some installation problem or that you may be out of diskspace.  Try logging in with one of the <\/p>\n<p>failsafe sessions to see if you can fix this problem.<\/p>\n<p>View deatail (~\/.xsession-erros file)<\/p>\n<p>\/etc\/X11\/gdm\/PreSession\/Default: Registering your session with wtmp and utmp<br \/>\n\/etc\/X11\/gdm\/PreSession\/Default: running: \/usr\/bin\/X11\/sessreg -a -w \/var\/log\/wtmp -u \/var\/run\/utmp -x \u201c\/var\/gdm\/:0.Xservers\u201d -h \u201c\u201d -l \u201c:0\u201d \u201croot\u201d<\/p>\n<p>(gnome-session:6103): Gtk-WARNING **: cannot open display:<\/p>\n<p>I tried renaming the .gnome, .gnome_private and .gnome2 folder in \/root.  Rebooted the server with the reboot command. That did not resoleve the issue.<\/p>\n<p>I created a test userid through the command console.  I was able to telnet to the server via SSH using Putty.<br \/>\n# useradd andrew<br \/>\n# passwd andrew<\/p>\n<div style=\"float: left;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 200;\ngoogle_ad_height = 200;\ngoogle_ad_format = \"200x200_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>Using the user account andrew I was able to logon to Gnome successfully.  So this meant that there was something wrong with root\u2019s profile.  The most recent changes was the installation of the Reuters Market <\/p>\n<p>Data System on the Linux server.  The installation of the Reuters software was perfromed with the rood ID.<\/p>\n<p>I edited the file \/root\/.bashrc and commented out the lines that were relavent to the Reuters RMDS application, as shown in the example below.<\/p>\n<p># vi \/etc\/.bashrc<\/p>\n<p># .bashrc<\/p>\n<p># User specific aliases and functions<\/p>\n<p>alias rm=\u2019rm -i\u2019<br \/>\nalias cp=\u2019cp -i\u2019<br \/>\nalias mv=\u2019mv -i\u2019<\/p>\n<p># Below lines commented out by Andrew Lin<br \/>\n# REUTERS_BASE=${REUTERS_BASE:-\/opt\/reuters}<br \/>\n# TIS_BASE=${TIS_BASE:-$REUTERS_BASE\/tis}<br \/>\n# . ${TIS_BASE}\/config\/setenv<br \/>\n# if [ -f \u201c$TRIARCH_SW\/dacs\/config\/dacs.env\u201d ]; then<br \/>\n#  . $TRIARCH_SW\/dacs\/config\/dacs.env<br \/>\n# fi<br \/>\n# End of comment by Andrew Lin<\/p>\n<p># Source global definitions<br \/>\nif [ -f \/etc\/bashrc ]; then<br \/>\n        . \/etc\/bashrc<br \/>\nfi<\/p>\n<p>That did it, I am now able to log onto the Gnome dekstop via the server console or via remote VNC.  It seems that the Reuters software conflicts with Gnome\u2019s environment. Since the .baskrc script is only <\/p>\n<p>executed when the root ID logs on, it meant that commenting these lines out in the .baskrc file will have no impact on the application being served by the linux server.  It only means that certain apps and <\/p>\n<p>tools may not run when logged in as the root admin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I received an error when loggin onto the Gnome desktop via the server console. The server is running Red Hat Enterprise Linux ver 4. I\u2019m able to logon to the server via the command line without any issue. All services&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=386\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[55,35],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/386"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=386"}],"version-history":[{"count":2,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":997,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions\/997"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}