Search found 120 matches

by mahmood
2019/10/08 18:25:10
Forum: CentOS 7 - General Support
Topic: Unable to run a script at boot via /etc/rc.d/rc/local
Replies: 7
Views: 268

Re: Unable to run a script at boot via /etc/rc.d/rc/local

Yes I have. I want to know if I have to copy this file only to /etc/systemd/system/vncserver@.service and then add multiple users in the service section. Like this: [Service] Type=forking ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/usr/sbin/runuser -l u1 -c...
by mahmood
2019/10/08 17:55:18
Forum: CentOS 7 - General Support
Topic: Defining disk quota for users
Replies: 0
Views: 160

Defining disk quota for users

I followed a document [1] to setup disk quota for homes which are mounted under /export partition. So, I did UUID=ead2c6ad-3f32-4d00-8b65-0679428839c7 /export ext4 defaults,usrquota,grpquota 1 2 in /etc/fstab. After running mount -o remount /export , the quotacheck -cugv /export shows me the followi...
by mahmood
2019/10/08 17:51:19
Forum: CentOS 7 - General Support
Topic: Unable to run a script at boot via /etc/rc.d/rc/local
Replies: 7
Views: 268

Re: Unable to run a script at boot via /etc/rc.d/rc/local

Can you send a document on vncserver@something?
by mahmood
2019/10/08 14:00:04
Forum: CentOS 7 - General Support
Topic: Unable to run a script at boot via /etc/rc.d/rc/local
Replies: 7
Views: 268

Re: Unable to run a script at boot via /etc/rc.d/rc/local

Excuse me,
If I write

/root/boot_vnc.sh 2>&1 /root/boot_vnc.log

Then no log file is generated. However, there must be some outputs.
by mahmood
2019/10/08 13:32:27
Forum: CentOS 7 - General Support
Topic: Unable to run a script at boot via /etc/rc.d/rc/local
Replies: 7
Views: 268

Unable to run a script at boot via /etc/rc.d/rc/local

I want to run a bash script at the boot time using rc.local, however, it doesn't work. See: [root@hpc ~]# ls -l /root/boot_vnc.sh -rwxrwxr-x 1 mahmood mahmood 242 Oct 8 16:13 /root/boot_vnc.sh [root@hpc ~]# ls -l /etc/rc.d/rc.local -rwxr-xr-x 1 root root 473 Oct 8 16:49 /etc/rc.d/rc.local [root@hpc ...
by mahmood
2019/10/06 17:07:22
Forum: CentOS 7 - General Support
Topic: Black screen on VNC
Replies: 1
Views: 298

Black screen on VNC

I have pasted the following lines of ~/.vnc/xstartup file according to [1], however, as I login with vncviewer, I see black screen only. #!/bin/sh # Add the following line to ensure you always have an xterm available. ( while true ; do xterm ; done ) & # Uncomment the following two lines for normal ...
by mahmood
2019/06/28 16:22:06
Forum: CentOS 7 - General Support
Topic: Need libXss
Replies: 3
Views: 762

Re: Need libXss

Thank you very much. I found that.
I used rpmforge to install rar and unrar packages.
by mahmood
2019/06/28 13:58:24
Forum: CentOS 7 - General Support
Topic: Need libXss
Replies: 3
Views: 762

Need libXss

During the installation of Intel Parallel Studio, I receive this message regarding a prerequisite package Xorg X11 libXss runtime library is not found. I see a similar question at https://www.mail-archive.com/centos@centos.org/msg131166.html and it seems that I have to install libXScrnSaver . Howeve...
by mahmood
2019/06/25 17:49:51
Forum: CentOS 7 - General Support
Topic: Dual booting UBUNTU and CENTOS
Replies: 13
Views: 2135

Re: Dual booting UBUNTU and CENTOS

OK. As you can see in my previous post (viewtopic.php?f=47&t=70896#p298131), there is only one efi partition. I explained there.

So, why there is no sign of centos in the grub menu?

Go to advanced search