Find the answer to your Linux question:
Results 1 to 3 of 3
I was having an issue with XDM not starting my session whenever I used any kind of dhcp client so I have been using startx with fvwm2 in the .xinitrc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    47

    startx as normal user from runlevel 4 script


    I was having an issue with XDM not starting my session whenever I used any kind of dhcp client so I have been using startx with fvwm2 in the .xinitrc file. I put 'su - matthew -c "startx" &> /dev/null' in /etc/rc.d/rc.4, but to me this seems like the wrong way of doing this. Is there any better way to set the environment and run startx as a normal user at boot?

    I'm on Slackware 13.0 if you know anything about the XDM issue

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,198
    Why not just log in at a console and then type startx? That's the simplest way.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    47
    I prefer starting in X, it's usually straight to the web with me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •