xstartup configured, Vnc still only loads grey screen on boot.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
xstartup configured, Vnc still only loads grey screen on boot.
Hey, this is the first time I've posted a problem here, so I hope I get some help
I've configured my xstartup script to run "startkde &", and I created a starup script that runs vncserver as that partifular user.
Now here's my problem:
When the linux machine boots up, VNC starts, but kde doesn't load. I only get a grey screen and a terminal. If I stop the process (vncserver -kill :1) and restart it again, then everything works as expected.
Is there anything that I'm missing or overlooking?
Okay, now, I would just like to mention that the export PATH needs to be there, because otherwise I get an xauth path not found error.
(it appears that the su doesn't load the users environment correctly)
You only seem to have shown the output before or after and havn't specified which - either way I don't think it is finding "startkde". Try using "/opt/kde/bin/startkde" instead of "startkde" in the xstartup script
Okay, I added the entire path to startkde, and it still doesn't work. However, when I load up vnc I get an error (from xwindows, I guess) that says: "Could not start kdeinit. Check your installation".
Btw, the output I listed was from BEFORE I restarted vnc.
Your PATH variable will only last for a session. In slack, when you invoke a bash login shell it will read /etc/profile which in turn will source any scripts matching /etc/profile.d/*.sh - there is a kde.sh script and this is what normally loads the extra path.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.