SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
instead of editing the innit file is it possibe to automatically load the GUI for a particular user instead of for everyone... i mean once they enter their login name and password in console for the GUI to load up instead of them having to mess around in the console...
Doesn't that also try and start X when opening an xterm aswell, or at least it did when I tried that. You could do with a bit of checking before executing `startx`, something of the lines
Code:
#!/bin/bash
for i in 0 1 2 3 4 5 6
do
if [ `tty` = "/dev/tty$i" ]
then
startx
exit
fi
done
You could even check X isn't running to start off with, but the above always met my needs
yes true, I did think of this whilst writing it down here, but when I had X running I never felt the need to go to another ttyX console when I could open up another xterm. So it worked perfectly OK for my needs
yeah i noticed that as well, when openning konsole/xterm/etc i get some sort of message saying X is already running when the GUI is loaded automatically through .bash_profile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.