Xnewt dying on SunRay 3.0

After modifying gdm.conf we noticed that Xnewt would not start properly on occassion. Xnewt was not ignoring the vt[0-9] command line option sent to X to specify a virtual console on which to run. We removed this from the command line sent to Xnewt and renamed Xnewt to Xnewt.sun
pushd /usr/X11R6/bin
mv Xnewt Xnewt.sun
echo Xnewt
#!/bin/sh

XFIX=`echo $@ |sed -e's/vt[0-9]*//'`
echo `date`: ARGS=$@ XFIX=$XFIX >>/var/log/Xnewt

exec Xnewt.sun $XFIX -fp unix/:7100
EOF
chmod 755 Xnewt
popd
Wordpress category: 

Comments

Hey, thanks, you really saved my on this one.

Add new comment

Markdown

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.