Registered Member
|
I'm a little new to Arch linux, but i created a script for starting VNC, and thought that if i ran it pre-KDE it would not require a login. Since then i have learned that to be incorrect(it actually runs it after login, before KDE loads...i think), but once i login now, KDE loading screen appears, then the screen turns black, the cursor is available, and KDE desktop does not start.
i can get to terminal(ctrl+alt+F2), and if i try
The script i wrote is:
I've tried doing
I also tried to edit it using nano, but it doesnt see it. I tried to move it using
I guess i either have the directory written incorrectly somehow, or i need to be able to edit the startup scripts i added in the startup&shutdown section of the KDE system settings, but i dont know how i would do that... **EDIT: I've also tried reinstalling KDE now, did not help. |
Registered Member
|
Isn't that sudo resets environment, so ~ points out to root's home directory (/root/)? Just feed him full absolute path, /home/<your-username>/.kde4/startvnc.sh. Anyway, why use sudo in the first place? If this file is in your home directory, you don't need superuser privileges to change it. If you have added your script through KDE System Settings, then it should be in ~/.kde4/Autostart/ directory.
Best regards
Mirosław Zalewski |
Registered Member
|
So it turns out i was in root by accident, so there was no home folder to look in :/. noob linux mistakes...
|
Administrator
|
In regards to the error message you saw:
This is because KDE depends upon an operational X server and appropriate environment variables indicating which X server it should connect to. Your X server running on VT 7 is not accessible to sessions started on other virtual terminals, unless you set the right environment variables.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]