WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: .xsession file for Xorg 7.4  (Read 6505 times)

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
.xsession file for Xorg 7.4
« on: December 04, 2008, 08:07:58 AM »
My system is not going beyond 640x480x16 on Xvesa, although, it can work on 1024x768x24 on Xorg. I checked this using Puppy Linux.

I need to change to Xorg 7.4 and edit .xsession file accordingly. The document says that it should be modified to:
/usr/local/bin/Xorg -nolisten tcp &
but the present Xvesa line is:
Xvesa -br -mouse /dev/psaux,5 -screen 640x480x16 -shadow -nolisten tcp -I 2>&1 > /dev/null &

should I retain -I 2>&1 > /dev/null and write:
/usr/local/bin/Xorg -nolisten tcp -I 2>&1 > /dev/null &

kagashe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: .xsession file for Xorg 7.4
« Reply #1 on: December 04, 2008, 08:38:46 AM »
I'm using
Code: [Select]
DESKTOP="$(awk '/wm:/{print $2}' .desktop)"
exec /usr/local/bin/Xorg -nolisten tcp -I 2>&1 > /dev/null &
exec "${DESKTOP:=jwm}"

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: .xsession file for Xorg 7.4
« Reply #2 on: December 04, 2008, 10:22:52 AM »
It's fine either way, "-I 2>&1 > /dev/null" only redirects the errors away.
The only barriers that can stop you are the ones you create yourself.